FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

FIFE 0.4.0 has been released on 15th of January, 2017!

Author Topic: guichan_opengl not found ???  (Read 3768 times)

flangenips

  • Newbie
  • Posts: 4
    • View Profile
guichan_opengl not found ???
« on: March 26, 2009, 07:44:15 pm »

Hi, i'm builing on linux (Mepis - its pretty much debian) and new to FIFE

Code: [Select]
Checking for guichan_opengl (using pkg-config)... no
Checking for guichan_opengl (using guichan_opengl-config)... no
Checking for C library guichan_opengl... no
required lib guichan_opengl not found :(

i have libguichan-opengl-0.8.1-1
I installed from repositories, didn't work.
Installed from source in case of missing files, didn't work.
With most messages like that i got (i.e openal, boost etc not found) all i needed to do was install the dev packages and all was sweet.
However, guichan_opengl doesn't appear to have any devs  :-\
Any Ideas?
Logged

flangenips

  • Newbie
  • Posts: 4
    • View Profile
Re: guichan_opengl not found ???
« Reply #1 on: March 26, 2009, 08:16:20 pm »

found this in the config.log file

Code: [Select]
gcc -o build/.sconf_temp/conftest_31.o -c -D_GNU_SOURCE=1 -D_REENTRANT -I/opt/include -I/usr/include/vorbis -I/usr/include/python2.5 -Iext/install/include -I/usr/include/SDL build/.sconf_temp/conftest_31.c
gcc -o build/.sconf_temp/conftest_31 build/.sconf_temp/conftest_31.o -L/opt/lib -Lext/install/lib -L/usr/lib -L/usr/lib -lvorbisfile -lvorbis -logg -lopenal_soft -lpthread -ldl -lutil -lm -lpython2.5 -lSDL -lSDL_ttf -lSDL_image -lguichan -lguichan_sdl -lboost_filesystem -lboost_regex -lpng -lGL -lGLU -lguichan_opengl
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
scons: Configure: no

cannot find -lGL

O.o
« Last Edit: March 26, 2009, 08:18:46 pm by flangenips »
Logged

CheeseSucker

  • Developer
  • Newbie
  • *
  • Posts: 26
  • FIFE programmer
    • View Profile
Re: guichan_opengl not found ???
« Reply #2 on: March 27, 2009, 03:18:50 am »

I see you got  guichan_opengl to work. That would be to do "scons ext=1", I believe.

Now, I had the same issue as you with -lGL. I am running Debian Unstable, and had installed the beta drivers from nvidia.com using their installer. I uninstalled their driver, and installed nvidia-glx and nvidia-glx-dev from the debian repositories.

In case that doesn't work for you, or you don't have NVidia, here are a list of packages with libGL.so:
Code: [Select]
$ apt-file search libGL.so
captury: /usr/lib/captury/libGL.so
captury: /usr/lib/captury/libGL.so.1
fglrx-glx: /usr/lib/libGL.so.1
fglrx-glx: /usr/lib/libGL.so.1.2
libgl1-mesa-dev: /usr/lib/libGL.so
libgl1-mesa-glide3: /usr/lib/i686/mmx/cmov/libGL.so.1
libgl1-mesa-glide3: /usr/lib/i686/mmx/cmov/libGL.so.1.5.060201
libgl1-mesa-glide3: /usr/lib/libGL.so.1
libgl1-mesa-glide3: /usr/lib/libGL.so.1.5.060201
libgl1-mesa-glide3-dev: /usr/lib/i686/mmx/cmov/libGL.so
libgl1-mesa-glide3-dev: /usr/lib/libGL.so
libgl1-mesa-glx: /usr/lib/libGL.so.1
libgl1-mesa-glx: /usr/lib/libGL.so.1.2
libgl1-mesa-glx-dbg: /usr/lib/debug/usr/lib/libGL.so.1.2
libgl1-mesa-swx11: /usr/lib/libGL.so.1
libgl1-mesa-swx11: /usr/lib/libGL.so.1.5.070004
libgl1-mesa-swx11: /usr/lib/libGL.so.1.5.070300
libgl1-mesa-swx11-dbg: /usr/lib/debug/usr/lib/libGL.so.1.5.070004
libgl1-mesa-swx11-dbg: /usr/lib/debug/usr/lib/libGL.so.1.5.070300
libgl1-mesa-swx11-dev: /usr/lib/libGL.so
libgl1-mesa-swx11-i686: /usr/lib/i686/cmov/libGL.so.1
libgl1-mesa-swx11-i686: /usr/lib/i686/cmov/libGL.so.1.5.070004
libgl1-mesa-swx11-i686: /usr/lib/i686/cmov/libGL.so.1.5.070300
lsb-build-base3: /usr/lib/lsb3/libGL.so
nvidia-glx: /usr/lib/libGL.so.1
nvidia-glx: /usr/lib/libGL.so.173.14.09
nvidia-glx: /usr/lib/libGL.so.180.22
nvidia-glx-dev: /usr/lib/libGL.so
nvidia-glx-legacy-71xx: /usr/lib/libGL.so.1
nvidia-glx-legacy-71xx: /usr/lib/libGL.so.71.86.07
nvidia-glx-legacy-71xx-dev: /usr/lib/libGL.so
nvidia-glx-legacy-96xx: /usr/lib/libGL.so.1
nvidia-glx-legacy-96xx: /usr/lib/libGL.so.96.43.07
nvidia-glx-legacy-96xx-dev: /usr/lib/libGL.so

Logged

flangenips

  • Newbie
  • Posts: 4
    • View Profile
Re: guichan_opengl not found ???
« Reply #3 on: March 27, 2009, 02:48:52 pm »

Cheers giving that a go now.
Logged

flangenips

  • Newbie
  • Posts: 4
    • View Profile
Re: guichan_opengl not found ???
« Reply #4 on: March 27, 2009, 02:56:29 pm »

hmm it installing the nvidia-glx-dev uninstalled the libguichan-dev and now the config.log is showing it can't find that.  :-\
Might try installing it from source once more.


No scratch that, compiled fine.
Cheers again
« Last Edit: March 27, 2009, 03:02:39 pm by flangenips »
Logged

rivon

  • Newbie
  • Posts: 26
    • View Profile
Re: guichan_opengl not found ???
« Reply #5 on: March 23, 2010, 12:58:42 pm »

I just had the same error.
You don't have some symlinks present so scons can't find libGL.

Just run these 4 commands as root:
Code: [Select]
NVVER=`dpkg -s nvidia-glx|grep Version|cut -d ' ' -f2|cut -d '-' -f1`
ln -fs /usr/lib/libGL.so.$NVVER /usr/X11R6/lib/libGL.so
ln -fs /usr/lib/libGL.so.$NVVER /usr/X11R6/lib/libGL.so.1
ln -fs          libGL.so.$NVVER /usr/lib/libGL.so.1.2

This should solve the problem ;)
Logged