Raydium 3D Game Engine
https://memak.raydium.org/

[xcode and raydium] how use raydium in xcode
https://memak.raydium.org/viewtopic.php?f=8&t=2119
Page 1 of 1

Author:  bisciasia [ Sun Jun 06, 2010 3:19 pm ]
Post subject:  [xcode and raydium] how use raydium in xcode

Hi all.. i m new user of this game engine.
I have downloaded raydium. i read file README but i dont have understood how use the framework with xcode.
somebody could help me?
thanks

Author:  Xfennec [ Mon Jun 07, 2010 10:30 am ]
Post subject:  Re: [xcode and raydium] how use raydium in xcode

Hi,

You may try to contact st, he's the author of the Mac OS X port of Raydium.

He used to look around here quite often, but is probably too busy currently :)

Author:  st [ Mon Jun 07, 2010 7:53 pm ]
Post subject:  Re: [xcode and raydium] how use raydium in xcode

bisciasia wrote:
could you explain me how to import raydium on xcode?
Hi bisciasia,

I'm currently using Xcode version 3.2.1 64-bit, which version do you have installed?

To use Raydium with Xcode simply open the Xcode project files included within the SDK and press build. If you cannot get it working please also try the Terminal.app and use the iCompile script to build the engine. This is generally what I'm using to build the engine on Mac OS X.

Please update your revision using "svn up" and also try to call "./iCompile test6.c" both on the Terminal.app in your Raydium folder and paste the output here.

Best regards,
st

Author:  bisciasia [ Tue Jun 08, 2010 7:12 am ]
Post subject:  Re: [xcode and raydium] how use raydium in xcode

hi thaks for the reply :D the problem is that xcode doesn't allow me to build raydium xcode project.
have you any idea why?
thanks :)

Author:  st [ Tue Jun 08, 2010 6:56 pm ]
Post subject:  Re: [xcode and raydium] how use raydium in xcode

bisciasia wrote:
the problem is that xcode doesn't allow me to build raydium xcode project.
Please offer some detailed information. :)

  • What is your hardware configuration?
  • Which Mac OS X version do you use?
  • Which Xcode version do you have installed?
  • For which architecture/target are you trying to build?
  • What error message do you get?
  • Did you try to use the iCompile script?

I need some useful input from your side, because I'm not a visionary. ;)

Author:  bisciasia [ Wed Jun 09, 2010 11:30 am ]
Post subject:  Re: [xcode and raydium] how use raydium in xcode

i use mac os x 10.5.8 intel version.
verion of my xcode 3.1.2;
i am trying to build for intel;
when i open raydium project xcode doesn't give me errors but it's impossible to click on build button.
For this reason i can't build it.

i tryed whit iCompile script but when i run it ,it give me this error:

Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

i don't understand why :?:

Author:  Xfennec [ Wed Jun 09, 2010 11:44 am ]
Post subject:  Re: [xcode and raydium] how use raydium in xcode

About iCompile, from what I see (I've never used this SDK), you're doing it wrong.

I quote st:
Quote:
Please update your revision using "svn up" and also try to call "./iCompile test6.c" both on the Terminal.app in your Raydium folder and paste the output here.

I don't think you've given test6.c argument to iCompile, did you ?

Author:  bisciasia [ Wed Jun 09, 2010 12:47 pm ]
Post subject:  Re: [xcode and raydium] how use raydium in xcode

please wait.
i found error.
error is that default gcc compiler in my mac in not apple gcc.
Now i try to fix this problem and after i try to use iCompile again 8)

Author:  bisciasia [ Thu Jun 10, 2010 9:55 am ]
Post subject:  Re: [xcode and raydium] how use raydium in xcode

i changed my gcc compiler and iCompile started 8)
when i ran iCompile it opened a window with text Downloading.
but console say me : Raydium: WARNING: timecall's too long
:shock:

internet connection is ok :shock:

Author:  bisciasia [ Thu Jun 10, 2010 10:01 am ]
Post subject:  Re: [xcode and raydium] how use raydium in xcode

total output of iCompile script :

Fat header in: test
fat_magic 0xcafebabe
nfat_arch 2
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
offset 4096
size 6032616
align 2^12 (4096)
architecture ppc
cputype CPU_TYPE_POWERPC
cpusubtype CPU_SUBTYPE_POWERPC_ALL
offset 6037504
size 5914888
align 2^12 (4096)
11M test
-----------------------------------------------------------
Raydium: version 0.800
Raydium: command line args: OK
Raydium: chdir to './': OK
Raydium: using '/Users/marcobisetti/.raydium' as home dir
Raydium: Requesting 640x480:32 mode
Raydium: using NVIDIA GeForce 9400M OpenGL Engine, from NVIDIA Corporation (version 2.0 NVIDIA-1.5.48)
Raydium: Signal Handlers: OK
Raydium: OpenGL extensions: OK
Raydium: Platform "4xfloat" vector size is: 16 byte(s) long
Raydium: OpenGL implementation maximum texture size: 8192x8192
Raydium: OpenGL hardware providing 4 texture unit(s), Raydium deals with 4
Raydium: OpenGL anisotropy max level is 16.00
Raydium: OpenGL texture compression available
Raydium: vertex arrays memory: OK
Raydium: path: created writable path '/Users/marcobisetti/.raydium/data'
Raydium: packages: created '/Users/marcobisetti/.raydium/packages'
Raydium: path: OK
Raydium: keyboard: OK
Raydium: mouse: OK
Raydium: joy: FAILED (no device found)
Raydium: sound: Buffer creation successfull
Raydium: sound: OK, using 'Built-in Output'
Raydium: PHP R3S scripts path: rayphp
Raydium: PHP support: OK
Raydium: atexit functions: OK
Raydium: lights: OK
Raydium: fog: OK
Raydium: Sky: OK
Raydium: objects: OK
Raydium: network: OK
Raydium: timer: detection: 4 iterations: diff: 1 steps (1000000/sec)
Raydium: timecall: method accuracy = 0.001 ms (1000000.00 Hz)
Raydium: timecall: Using basic gettimeofday() method
Raydium: timecall: OK (1000000 Hz)
Raydium: timecall: softcall 0: 1 Hz (1000000 clocks interval)
Raydium: particle: OK
Raydium: gui: OK
Raydium: video (live): OK
Raydium: shadow: OK
Raydium: HDR: OK
Raydium: Lens flare: OK
Raydium: shaders: OK (version 1.20)
Raydium: webserver: OK
Raydium: Raydium engine reseted to original state
Raydium: timecall: callback 1: 400 Hz (2500 clocks interval)
Raydium: physics: ODE Net: 10 element(s)/packet
Raydium: physics: OK
Raydium: RegAPI: OK
Raydium: Engine is now ready.
-----------------------------------------------------------
Raydium: shadow: shadow map size detected to 256x256
Raydium: Tex. num 1 (shadowmap) FAKED: 256x256, 4 Bpp (b0 lm0 hdr0 fx0 fy0)
Raydium: Tex. num 2 (_loading.tga) FAKED: 128x16, 1 Bpp (b1 lm0 hdr0 fx0 fy0)
Raydium: Using repositories to get 'murcielago2.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: sound: Tried to set negative or 0 Pitch , clipped to 0.1
Raydium: Using repositories to get 'xf_launch1.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_reload.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_paf.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_gun1.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_boom1.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_boom2.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_boom3.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_boom4.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_bong1.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_bong2.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_bong3.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_bong4.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'xf_bong5.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'BOXfront.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 3 (BOXfront.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 fx0 fy0)
Raydium: Using repositories to get 'BOXback.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 4 (BOXback.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 fx0 fy0)
Raydium: Using repositories to get 'BOXleft.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 5 (BOXleft.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 fx0 fy0)
Raydium: Using repositories to get 'BOXright.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 6 (BOXright.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 fx0 fy0)
Raydium: Using repositories to get 'BOXbottom.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 7 (BOXbottom.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 fx0 fy0)
Raydium: Using repositories to get 'BOXtop.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 8 (BOXtop.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 fx0 fy0)
Raydium: timecall: softcall 2: 1 Hz (1000000 clocks interval)
Raydium: Using repositories to get 'a.tri' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Object: loading "a.tri", version 1
Raydium: Using repositories to get 'ground.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 9 (ground.tga) loaded: 256x256, 3 Bpp (b0 lm0 hdr0 fx0 fy1)
Raydium: Using repositories to get 't_circuit-2f.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 10 (t_circuit-2f.tga) loaded: 2048x1024, 3 Bpp (b0 lm0 hdr0 fx0 fy1)
Raydium: shadow: ground (0) modelsize is 52.23, center factors : 0.50/0.50
Raydium: ODE: Error: Cannot delete object: invalid name or index
Raydium: Using repositories to get 'buggy.tri' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Object: loading "buggy.tri", version 1
Raydium: Using repositories to get 'buggy.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 11 (buggy.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 fx0 fy1)
Raydium: Using repositories to get 'buggy_r.tri' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Object: loading "buggy_r.tri", version 1
Raydium: Using repositories to get 'smoke.prt' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Using repositories to get 'smoke.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 12 (smoke.tga) loaded: 256x256, 4 Bpp (b1 lm0 hdr0 fx0 fy1)
Raydium: ODE: Error: Cannot delete object: invalid name or index
Raydium: Using repositories to get 'lego.tri' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Object: loading "lego.tri", version 1
Raydium: Tex. num 13, rgb(1.000000,0.000000,0.000000) is RGB Color
Raydium: Tex. num 14, rgb(0.000000,1.000000,0.000000) is RGB Color
Raydium: Tex. num 15, rgb(0.000000,0.000000,1.000000) is RGB Color
Raydium: Tex. num 16, rgb(1.000000,1.000000,1.000000) is RGB Color
Raydium: Tex. num 17, rgb(1.000000,1.000000,0.000000) is RGB Color
Raydium: Tex. num 18, rgb(0.000000,1.000000,1.000000) is RGB Color
Raydium: Tex. num 19, rgb(1.000000,0.000000,1.000000) is RGB Color
Raydium: php: ERROR: cannot post-open 'test6.php' file
Raydium: Using repositories to get 'memak5loud.ogg' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Object: creating display list for object a.tri
Raydium: Object: creating display list for object buggy.tri
Raydium: Object: creating display list for object buggy_r.tri
Raydium: Object: creating display list for object lego.tri
Raydium: Object: creating **shadow** display list for object a.tri
Raydium: Using repositories to get 'font2.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 20 (font2.tga) loaded: 512x512, 1 Bpp (b1 lm0 hdr0 fx0 fy1)
Raydium: Using repositories to get 'BOXcross.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 21 (BOXcross.tga) loaded: 32x32, 1 Bpp (b1 lm0 hdr0 fx0 fy1)
Raydium: Using repositories to get 'logo6.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Tex. num 22 (logo6.tga) loaded: 256x128, 4 Bpp (b1 lm0 hdr0 fx0 fy0)
Raydium: WARNING: timecall's too long

Author:  Xfennec [ Thu Jun 10, 2010 1:16 pm ]
Post subject:  Re: [xcode and raydium] how use raydium in xcode

Compilation looks OK, and the application seems to have launched correctly. Don't you have something rendered in the application's window ?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/