You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.

#1 Support » Compiling on Debian Lenny » 2010-03-18 11:00:41

Replies: 0


I am trying to compile desmume-0.9.5 on GNU/Linux Debian 5.0 (Lenny) 64Bit but every time I execute ./configure I get these messages:
checking for main in -lGL... no
checking for main in -lOSMesa... no

Incidentally, when I try to compile the package after that I get the following error:
make[3]: Entering directory `~/desmume-0.9.5/src/gtk-glade'
g++  -g -O2 -rdynamic   -o desmume-glade glade-xml.o callbacks.o callbacks_IO.o desmume.o keyval_names.o main.o gdk_gl.o callbacks_1_ioregs.o callbacks_2_memview.o callbacks_3_palview.o callbacks_4_tileview.o gdk_3Demu.o sndsdl.o ctrlssdl.o ../libdesmume.a -L/usr/lib -lSDL -Wl,--export-dynamic -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -pthread -lgthread-2.0 -lrt -lglib-2.0   -lasound   -lagg_pic    -ldl -lzzip -lz  -lGLU
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[3]: *** [desmume-glade] Error 1
make[3]: Leaving directory `~/desmume-0.9.5/src/gtk-glade'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `~/desmume-0.9.5/src/gtk-glade'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `~/desmume-0.9.5/src'
make: *** [all-recursive] Error 1

I thought I had installed all necessary packages but there seems to be missing something.
I remember having a similar problem and then I read somewhere that I had to symlink a* to because it was missing so maybe desmume encounters a similar problem but since I have no idea about these things I can but guess.

Well, I can at least compile the normal gtk version flawlessly when I do it seperately and it actually works! And it's even much faster than the older version that's still used by Lenny, great job!
I'm still intrigued by my former problem, though. hmm

Board footer

Powered by FluxBB