glew - cannot find -lglew for opengl in ubuntu -



glew - cannot find -lglew for opengl in ubuntu -

i installed libglew , dev still cannot find -glew when compiling

/usr/bin/ld: cannot find -lglew collect2: error: ld returned 1 exit status

also i've written in code like

#include<gl/glew.h> #pragma comment(lib, "glew32.lib")

what should next?

as far know bundle glew brings libraries named libglew.a , libglew.so, instead of -lglew shall seek -lglew.

also #pragma comment(lib, "glew32.lib") way microsoft vs compilers libraries, , expected have no effect gnu/linux toolchains gcc or clang.

opengl glew

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -