← Back to team overview

yade-users team mailing list archive

help compiling



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'

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

make[3]: Entering directory
cd yade-lib-opengl && make -f Makefile
make[4]: Entering directory
g++ -c -pipe -Wall -W -march=opteron -O2 -pipe -fPIC 
-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
.. [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! 
Yade-users mailing list

Follow ups