Discussion:
[Openexr-user] error while compiling openext-viewers
Sajjadul Islam
2014-06-03 18:37:49 UTC
Permalink
Hi forum,

I am having the following error while compiling:

//////////////////////////////////////////////////////////////////
***@sajjad-G74Sx:~/Downloads/OpenEXR/openexr_viewers-2.1.0$ make
Making all in playexr
make[1]: Entering directory
`/home/sajjad/Downloads/OpenEXR/openexr_viewers-2.1.0/playexr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/sajjad/Downloads/OpenEXR/openexr_viewers-2.1.0/playexr'
Making all in exrdisplay
make[1]: Entering directory
`/home/sajjad/Downloads/OpenEXR/openexr_viewers-2.1.0/exrdisplay'
/bin/bash ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -o
exrdisplay main.o ImageView.o loadImage.o scaleImage.o applyCtl.o
GlWindow3d.o -L/usr/local/lib -pthread -L/usr/local/lib -lIlmImf -lImath
-lHalf -lIex -lIexMath -lIlmThread -DHAVE_CTL_INTERPRETER=0
-L/usr/local/lib -DHAVE_CTL_INTERPRETER=0 -pthread -L/usr/local/lib
-lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread
-Wl,-Bsymbolic-functions -lfltk_gl -lfltk -lX11
libtool: link: g++ -pipe -g -O2 -o exrdisplay main.o ImageView.o
loadImage.o scaleImage.o applyCtl.o GlWindow3d.o -pthread
-DHAVE_CTL_INTERPRETER=0 -DHAVE_CTL_INTERPRETER=0 -pthread
-Wl,-Bsymbolic-functions -L/usr/local/lib /usr/local/lib/libIlmImf.so -lz
/usr/local/lib/libImath.so /usr/local/lib/libHalf.so
/usr/local/lib/libIexMath.so /usr/local/lib/libIlmThread.so
/usr/local/lib/libIex.so -lfltk_gl -lfltk -lX11 -pthread
/usr/bin/ld: ImageView.o: undefined reference to symbol 'glDrawPixels'
//usr/lib/libGL.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [exrdisplay] Error 1
make[1]: Leaving directory
`/home/sajjad/Downloads/OpenEXR/openexr_viewers-2.1.0/exrdisplay'
make: *** [all-recursive] Error 1
////////////////////////////////////////////////////////////////


Some hint requested to get around this error.


Thanks
Sajjadul

Loading...