I
Илм по адресу хочешь сделать?
Size: a a a
I
RX
I
RX
I
I
I
RX
RX
CC
data = stbi_load(FileSystem::getPath("resources/textures/awesomeface.png").c_str(), &width, &height, &nrChannels, 0);
CC
TS
CC
TS
CC
CC
/home/cool/Documents/experiments/programming/cpp/normal-glfw/build> /usr/bin/ninja main
[1/2] Building CXX object CMakeFiles/main.dir/main.cpp.o
FAILED: CMakeFiles/main.dir/main.cpp.o
/usr/bin/c++ -I.././glad-output/include -I../. -MD -MT CMakeFiles/main.dir/main.cpp.o -MF CMakeFiles/main.dir/main.cpp.o.d -o CMakeFiles/main.dir/main.cpp.o -c ../main.cpp
../main.cpp: In function ‘int main()’:
../main.cpp:109:37: error: ‘FileSystem’ has not been declared
109 | unsigned char *data = stbi_load(FileSystem::getPath("resources/textures/container.jpg").c_str(), &width, &height, &nrChannels, 0);
| ^~~~~~~~~~
../main.cpp:131:22: error: ‘FileSystem’ has not been declared
131 | data = stbi_load(FileSystem::getPath("resources/textures/awesomeface.png").c_str(), &width, &height, &nrChannels, 0);
| ^~~~~~~~~~
ninja: build stopped: subcommand failed.
*** Failure: Exit code 1 ***
CC
/home/cool/Documents/experiments/programming/cpp/normal-glfw/build> /usr/bin/ninja main
[1/2] Building CXX object CMakeFiles/main.dir/main.cpp.o
FAILED: CMakeFiles/main.dir/main.cpp.o
/usr/bin/c++ -I.././glad-output/include -I../. -MD -MT CMakeFiles/main.dir/main.cpp.o -MF CMakeFiles/main.dir/main.cpp.o.d -o CMakeFiles/main.dir/main.cpp.o -c ../main.cpp
../main.cpp: In function ‘int main()’:
../main.cpp:109:37: error: ‘FileSystem’ has not been declared
109 | unsigned char *data = stbi_load(FileSystem::getPath("resources/textures/container.jpg").c_str(), &width, &height, &nrChannels, 0);
| ^~~~~~~~~~
../main.cpp:131:22: error: ‘FileSystem’ has not been declared
131 | data = stbi_load(FileSystem::getPath("resources/textures/awesomeface.png").c_str(), &width, &height, &nrChannels, 0);
| ^~~~~~~~~~
ninja: build stopped: subcommand failed.
*** Failure: Exit code 1 ***
I
TS
CC