Thread: [Plib-devel] src/util includes
Brought to you by:
sjbaker
From: Bram S. <br...@ch...> - 2000-07-16 10:00:57
|
Hello plibbers, I'm probably doing something wrong here, but I got myself the latest cvs tree, and did aclocal,autoconf,automake, and configure. This resulted in this error during build: Making all in pui make[2]: Entering directory `/usr/local/src/plib/src/pui' c++ -DPACKAGE=\"plib\" -DVERSION=\"1.3.1\" -DHAVE_LIBDL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DSTDC_HEADERS=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DLINUX_JOYSTICK_IS_PRESENT=1 -DGLUT_IS_PRESENT=1 -I. -I. -I../../src/sg -I../../src/fnt -g -O2 -O6 -Wall -c pu.cxx In file included from pu.h:4, from puLocal.h:2, from pu.cxx:2: ../../src/sg/sg.h:5: ul.h: No such file or directory Adding this to Makefile.am in src/pui, src/sg, src/fnt helps: INCLUDES += -I$(top_srcdir)/src/util Bram PS: the majik example doesnt compile for me: make[3]: Entering directory `/usr/local/src/plib/examples/src/ssg/majik' c++ -DPACKAGE=\"plib_examples\" -DVERSION=\"1.1.8\" -DHAVE_LIBPLIBUL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DSTDC_HEADERS=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLUT_H=1 -DHAVE_PLIB_SG_H=1 -DHAVE_PLIB_SL_H=1 -DHAVE_PLIB_SSG_H=1 -DHAVE_PLIB_FNT_H=1 -DHAVE_PLIB_PU_H=1 -DHAVE_PLIB_JS_H=1 -DLINUX_JOYSTICK_IS_PRESENT=1 -I. -I. -g -O2 -O6 -Wall -c majik_demo.cxx majik_demo.cxx:29: syntax error before `*' majik_demo.cxx:30: syntax error before `*' -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Bram Stolk "Linux - Why use windows, if there is a door?" work: br...@sa... priv: br...@ch... |
From: Steve B. <sjb...@ai...> - 2000-07-16 15:42:04
|
Bram Stolk wrote: > > Hello plibbers, > > I'm probably doing something wrong here, but I got myself > the latest cvs tree, and did aclocal,autoconf,automake, and > configure. You need PLIB's CVS version. The UL library is a new feature that I added (at the request of this group), and it hasn't made it into a released version yet. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |
From: Norman V. <nh...@ca...> - 2000-07-16 17:58:41
|
Steve Baker writes: > >You need PLIB's CVS version. > >The UL library is a new feature that I added (at the request >of this group), >and it hasn't made it into a released version yet. > unix newbie question Is it possible to use symlinks instead of hard links in the /usr tree for the .h and .a files If so how does one do this ? I would like to be able to switch back and forth easily between using the released and CVS versions of several projects that use PLib Norman |
From: Steve B. <sjb...@ai...> - 2000-07-16 18:29:42
|
Norman Vine wrote: > > Steve Baker writes: > > > >You need PLIB's CVS version. > > > >The UL library is a new feature that I added (at the request > >of this group), > >and it hasn't made it into a released version yet. > > > > unix newbie question > > Is it possible to use symlinks instead of hard links > in the /usr tree for the .h and .a files Yes. > If so how does one do this ? > > I would like to be able to switch back and forth easily > between using the released and CVS versions of several > projects that use PLib Presuming you have: /usr/include/plib-1.2.0 and /usr/include/plib-1.3.1 and also: /usr/lib/libplibssg.so.1.2.0 /usr/lib/libplibssg.so.1.3.1 then you could write a shell script: plib-1.2: rm /usr/include/plib rm /usr/lib/libplib*.so ln -s /usr/include/plib-1.2.0 /usr/include/plib ln -s /usr/lib/plibssg.so /usr/lib/plibssg.so.1.2.0 and another: plib-1.3: rm /usr/include/plib rm /usr/lib/libplib*.so ln -s /usr/include/plib-1.3.1 /usr/include/plib ln -s /usr/lib/plibssg.so /usr/lib/plibssg.so.1.3.1 (In reality, you'd have to link each of the plib*.so libraries - I only did one - for brevity). So far, every PLIB application that works with 1.2 has worked with 1.3.1 provided the 'configure.in' file was modified by adding: AC_CHECK_LIB(plibul,ulInit,,,) ...so you shouldn't have to resort to symlinks, etc. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |
From: Dave M. <dp...@ef...> - 2000-07-16 18:03:20
|
Bram Stolk wrote: > I'm probably doing something wrong here, but I got myself > the latest cvs tree, and did aclocal,autoconf,automake, and > configure. > > This resulted in this error during build: > snip > ../../src/sg/sg.h:5: ul.h: No such file or directory > > Adding this to Makefile.am in src/pui, src/sg, src/fnt helps: > > INCLUDES += -I$(top_srcdir)/src/util > > Bram Thanks. My fault. I commited the change. --Dave |