Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 3:17 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jul 22, 2008 1:59 pm 
Offline

Joined: Tue Jul 22, 2008 1:52 pm
Posts: 82
édit
bon je crois que j'ai pas trop comprit a quoi sert se make car on peut programmer sans
il serre a quoi??

voila je voudrai commence a programmer un petit jeux et raydium me semble très bien mais j'ai un problème a la compilation

Code:
make
Creating: raydium/compile/sprites.o
Creating: raydium/compile/background.o
Creating: raydium/compile/callback.o
Creating: raydium/compile/camera.o
Creating: raydium/compile/capture.o
Creating: raydium/compile/clear.o
Creating: raydium/compile/console.o
Creating: raydium/compile/file.o
Creating: raydium/compile/file_tri.o
Creating: raydium/compile/fog.o
Creating: raydium/compile/init.o
Creating: raydium/compile/cli.o
Creating: raydium/compile/internal.o
Creating: raydium/compile/joy.o
Creating: raydium/compile/key.o
Creating: raydium/compile/land.o
Creating: raydium/compile/light.o
Creating: raydium/compile/log.o
Creating: raydium/compile/main.o
Creating: raydium/compile/mouse.o
Creating: raydium/compile/network.o
Creating: raydium/compile/normal.o
Creating: raydium/compile/object.o
Creating: raydium/compile/ode.o
Creating: raydium/compile/osd.o
Creating: raydium/compile/parser.o
Creating: raydium/compile/particle2.o
Creating: raydium/compile/php.o
Creating: raydium/compile/profile.o
Creating: raydium/compile/random.o
Creating: raydium/compile/rayphp.o
Creating: raydium/compile/register.o
Creating: raydium/compile/render.o
Creating: raydium/compile/signal.o
Creating: raydium/compile/sky.o
Creating: raydium/compile/sound.o
Creating: raydium/compile/texture.o
Creating: raydium/compile/timecall.o
Creating: raydium/compile/trigo.o
Creating: raydium/compile/vertex.o
Creating: raydium/compile/window.o
Creating: raydium/compile/reg_api.o
Creating: raydium/compile/gui.o
Creating: raydium/compile/live.o
Creating: raydium/compile/video.o
Creating: raydium/compile/shadow.o
Creating: raydium/compile/myglut.o
In file included from /usr/include/X11/extensions/dpms.h:50,
                 from raydium/myglut-x11.c:25,
                 from raydium/myglut.c:27:
/usr/include/X11/Xmd.h:135: erreur: conflicting types for «INT32»
/usr/include/jmorecfg.h:161: erreur: previous declaration of «INT32» was here
make: *** [raydium/compile/myglut.o] Erreur 1


j'ai ubuntu 8.04 64bit
voila vous avez une idé???


Last edited by sifourquier on Tue Jul 22, 2008 8:59 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 22, 2008 4:51 pm 
Offline

Joined: Tue Jul 22, 2008 1:52 pm
Posts: 82
bon j'ai règler le problème en modifiant les fichier mais si vous avez une solution plus propre merci de me le dire

mais j'ai un 2ème problème

Code:
make
/usr/bin/ld: raydium/compile/sprites.o: relocation R_X86_64_32S against `raydium_sprite_used' can not be used when making a shared object; recompile with -fPIC
raydium/compile/sprites.o: could not read symbols: Bad value
collect2: ld a retourné 1 code d'état d'exécution
make: *** [libraydium.so.0.0] Erreur 1


visiblement sa doit venir du 64bit mais comment résoudre le problème


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 20, 2008 4:04 pm 
Offline

Joined: Wed Aug 20, 2008 3:13 pm
Posts: 2
(Sorry I don't speak french)

I had the same problem in debian lenny x86_64; solution is almost here (last post); hat I did:

1) ./configure

1) add -fPIC option for CFLAGS_CLEAN in raydium/raydium/php/Makefile and "make clean && make" (this will solve the problem with libphp5 you would have later on)

2) add -fPIC in main Makefile and "make clean && make"

I found no need to do it in raydium/ode/Makefile, test6.c works fine this way. You can do it anyway.


See ya.[/url]

_________________
They told me and I forgot, I saw it and I understood, I did it and I learned (Confucio)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group