|
From: Alexander R. <a_r...@in...> - 2000-11-05 17:34:20
|
Hi,
Scott McMillan wrote:
> > If not, I could also need some more examples in testsgl.
> > I need an example that loads two or three different .obj-models from
> > disk, and displays them rotating/moving somehow, with an also moving
> > camera.
>
> Loading two models should be straight forward. Just call the load
> function twice with the appropriate filenames (I will verify that this
> works).
>
> To get models to move around you add the pointers that the load
> function returns as a child to an sglTransform node and you manipulate
> the transform matrix (the latter is illustrated in sglfly.cpp - when
> you hit the 'p' key).
Yeah - thought that so.
> > set compiler-options, but if I use
> > -Wall -W -g -pedantic -Wno-unused -Wtraditional -Wpointer-arith
> > -Wconversion -Wstrict-prototypes
> > gcc get's mad with the following errors (see attachment)
>
> Did you try building with the flags used in the file in
> make/make.platform.linux.i686.dbg:
>
> CXXFLAGS := -g -D_BOOL -Wall -c -fPIC -march=i686 -D_POSIX_C_SOURCE=199506L
I works with these, and it works without flags defined, only with my
special very-pendantic flagging I get those errors.
> Tom already took a guess in the previous email. I am inclined to
> agree with him that you may have problems with your installation and
> multiple conflicting versions of the library in question.
I am pretty shure there too.
But I ripped it off and on and looked and it still doesn't work on my
normal system (only on the RedHat6.2).
I can't find the error in my system, this depresses me ;-)
Not your fault :-)
Alex
--
Alexander Rawass
Email: ale...@us...
Project Homepage: http://tuxfleet.sourceforge.net
...but some day you'll be a STAR in somebody else's SKY...
|