C++ OPENGL load texture

Hey guys i just started learning OpenGL and i have problem with load texture (image)

i use tutorial in Opengl main website

but i have problem with this line:

// The FileSystem::getPath(...) is part of the GitHub repository so we can find files on any IDE/platform; replace it with your own image path.
unsigned char *data = stbi_load(FileSystem::getPath("resources/textures/container.jpg").c_str(), &width, &height, &nrChannels, 0);
if (data)

if i find FileSystem in Github i have error with root_directory… can someone help me with this ? please

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.