← Back to team overview

yade-users team mailing list archive

help compiling

 

Hello,

I am a current user of discrete element code and would
like to give yade a spin.

I run gentoo on amd64, installed boost 1.34 and
libqglviewer 2.1.1 and use gcc 3.4.4.

I got yade-all, unpacked and typed

make compile_install PREFIX_DIR='/tmp/yade'
INSTALL_DIR='usr'

The compile went through some directories until it
proceeded to yade-lib-opengl. Here it produced 
this error:

make[3]: Entering directory
`/home/andreas/tobesorted/yade-all-0.9.0.911/yade-libs/yade-lib-opengl/projects/kdevelop'
cd yade-lib-opengl && make -f Makefile
make[4]: Entering directory
`/home/andreas/tobesorted/yade-all-0.9.0.911/yade-libs/yade-lib-opengl/projects/kdevelop/yade-lib-opengl'
g++ -c -pipe -Wall -W -march=opteron -O2 -pipe -fPIC 
-DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT
-DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I/tmp/yade/usr/include -I/usr/qt/3/include -o
FpsTracker.o FpsTracker.cpp
In file included from FpsTracker.cpp:25:
OpenGLWrapper.hpp:51: error: expected init-declarator
before "void"
OpenGLWrapper.hpp:51: error: expected `;' before
"void"
.. [many more similar errors following]

I have the Nvidia gl.h, if this is important ?

Could you provide any hints ?

A google search on the error message was without
success, unfortunately.

Thanks ! Andreas



		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users



Follow ups