0

I try to run the code from the website.It can work in Win7,but it have error in Ubuntu.

error: undefined reference to `__glewTexImage3D'

I fixed some error refer to this question but still got error in glew related.I downloaded glew module and add unix: LIBS += -lglew to pro file.but got error: cannot find -lglew Can someone tell me how to deal with glew.lib file.

Community
  • 1
  • 1
Shihe Zhang
  • 2,641
  • 5
  • 36
  • 57

1 Answers1

0

I add the line below.Before this,I download glew in Linux,and make I got some libGLEW.a file.Then I can add this line.Problem solved

 LIBS += -L/path/to/glew-1.11.0/lib -lGLEW
Shihe Zhang
  • 2,641
  • 5
  • 36
  • 57