paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] Problems compiling Paragui 1.1.7 on an athlon64


From: Dimitri Polyméris
Subject: Re: [paragui-users] Problems compiling Paragui 1.1.7 on an athlon64
Date: Thu, 9 Sep 2004 08:16:32 -0400
User-agent: KMail/1.6.2

hi,
I had the same problem on my opterons: It's beacuse the x86_64 architecture 
uses 64 bit pointers, i think. I re-typedef'd PG_TimerID as Uint64 in 
"include/pgtimerobject.h", and it worked.
Hope it helps.
Greetings,
Dimitri

On Thursday 09 September 2004 02:54, Mike McLean wrote:
> Hi,
>
> I'm attempting to compile Paragui 1.1.7 on my athlon 64 system that's
> running gentoo. The configure script runs fine and it compiles partway
> until it gets to the following point where it errors out.
>
> g++ -DHAVE_CONFIG_H -I. -I. -I../../include
> -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2
> -I/usr/include/SDL -D_REENTRANT -I../../include -g -O2 -Wall
> -I/usr/include/freetype2 -fno-exceptions -MT pgtimerobject.lo -MD -MP
> -MF .deps/pgtimerobject.Tpo -c pgtimerobject.cpp  -fPIC -DPIC -o
> .libs/pgtimerobject.o
> pgtimerobject.cpp: In member function `PG_TimerID
> PG_TimerObject::AddTimer(Uint32)':
> pgtimerobject.cpp:37: warning: cast to pointer from integer of different
> size
> pgtimerobject.cpp: In static member function `static Uint32
> PG_TimerObject::callbackTimer(Uint32, void*)':
> pgtimerobject.cpp:67: error: reinterpret_cast from `void*' to
> `PG_TimerID' loses precision
> make[2]: *** [pgtimerobject.lo] Error 1
> make[2]: Leaving directory `/home/libolt/builds/paragui-1.1.7/src/core'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/libolt/builds/paragui-1.1.7/src'
> make: *** [all-recursive] Error 1
>
>
> Any help would be greatly appreciated, I'd like to give this GUI a try
> in the game I am working on.
>
> Cheers,
>
> Mike
>
>
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paragui-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]