[Plib-users] PLIB (pui) + SDL?
Brought to you by:
sjbaker
From: Alberto B. <is...@fr...> - 2004-12-22 22:34:02
|
Hello, I'm trying to use PUI inside an SDL+openGL application, but my compilation fails with: MapUI.o(.gnu.linkonce.t._Z9puInitSDLv+0x15): In function `puInitSDL()': /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/stl_algobase.h:156: undefined reference to `puSetWindowFuncs(int (*)(), void (*)(int), void (*)(int*, int*), void (*)(int, int))' MapUI.o(.gnu.linkonce.t._Z9puInitSDLv+0x1d): In function `std::basic_ostream<char, std::char_traits<char> >& operator<< <int>(std::basic_ostream<char, std::char_traits<char> >&, _xypoint<int> const&)': /usr/include/plib/puSDL.h:51: undefined reference to `puRealInit()' (MapUI.o is my object file, the source, MapUI.cpp only contains an #include <plib/pu.h> and a call to puInit(), for now). I could not find anything similar by searching with google, but a lot of places seem to indicate that plib should work find with SDL... what am I doing wrong? (I'm running Mandrake10.1, i586 version, I tried both the plib-devel package provided by mandrake and I recompiled plib myself). Thanks in advance, Alberto -- Alberto BARSELLA ** Beliefs are dangerous. Beliefs allow the mind to stop functioning. A non-functioning mind is clinically dead. Believe in nothing... ** |