a question about installation
hudeng opened this issue · 1 comments
it looks like although make install is executed and binaries are copied to the installation directory, when running tests, they will still try to load data like texture files from the location where the binaries are complied, i notices that the function getDataDirectory() get value from OGL_SAMPLES_SOURCE_DIR which is set as the absolute path of the source code when configuring make files , i didn't find a way to make it as relative path when configuring make files, so, am i missing something or is it expected this way?
The only way to use a relative path is to do a in source build using CMake option OGL_SAMPLES_IN_SOURCE_BUILD.
The build directory has to be: ./build from where you have the source of the OpenGL samples.
Thanks,
Christophe