You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ubuntu@ubuntu:~/Desktop/GLTools/build$ make
[ 8%] Building CXX object CMakeFiles/gltools-static.dir/src/GLTools.cpp.o
/home/ubuntu/Desktop/GLTools/src/GLTools.cpp: In function ‘GLbyte* gltReadBMPBits(const char*, int*, int*)’:
/home/ubuntu/Desktop/GLTools/src/GLTools.cpp:1060:10: error: cannot convert ‘bool’ to ‘GLbyte* {aka signed char*}’ in return
return false;
^~~~~
/home/ubuntu/Desktop/GLTools/src/GLTools.cpp:1072:10: error: cannot convert ‘bool’ to ‘GLbyte* {aka signed char*}’ in return
return false;
^~~~~
/home/ubuntu/Desktop/GLTools/src/GLTools.cpp: In function ‘GLuint gltLoadShaderTripletWithAttributes(const char*, const char*, const char*, ...)’:
/home/ubuntu/Desktop/GLTools/src/GLTools.cpp:1256:32: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(stderr, infoLog);
^
CMakeFiles/gltools-static.dir/build.make:110: recipe for target 'CMakeFiles/gltools-static.dir/src/GLTools.cpp.o' failed
make[2]: *** [CMakeFiles/gltools-static.dir/src/GLTools.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/gltools-static.dir/all' failed
make[1]: *** [CMakeFiles/gltools-static.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
ubuntu@ubuntu:~/Desktop/GLTools/build$ make
[ 8%] Building CXX object CMakeFiles/gltools-static.dir/src/GLTools.cpp.o
/home/ubuntu/Desktop/GLTools/src/GLTools.cpp: In function ‘GLbyte* gltReadBMPBits(const char*, int*, int*)’:
/home/ubuntu/Desktop/GLTools/src/GLTools.cpp:1060:10: error: cannot convert ‘bool’ to ‘GLbyte* {aka signed char*}’ in return
return false;
^~~~~
/home/ubuntu/Desktop/GLTools/src/GLTools.cpp:1072:10: error: cannot convert ‘bool’ to ‘GLbyte* {aka signed char*}’ in return
return false;
^~~~~
/home/ubuntu/Desktop/GLTools/src/GLTools.cpp: In function ‘GLuint gltLoadShaderTripletWithAttributes(const char*, const char*, const char*, ...)’:
/home/ubuntu/Desktop/GLTools/src/GLTools.cpp:1256:32: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(stderr, infoLog);
^
CMakeFiles/gltools-static.dir/build.make:110: recipe for target 'CMakeFiles/gltools-static.dir/src/GLTools.cpp.o' failed
make[2]: *** [CMakeFiles/gltools-static.dir/src/GLTools.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/gltools-static.dir/all' failed
make[1]: *** [CMakeFiles/gltools-static.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: