Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Sun Apr 28, 2024 7:38 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sat Jul 01, 2006 3:30 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
To all : the current SVN head (rev 340) is broken !. Use the 339.

I've no time to complete this part until sunday. I apologize for this.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 2:20 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Ok, fixed. You can use the rev 341 under Linux.

Now working on the new "compiler.exe" for the win32 SDK".


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 10:24 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Done. You must now build the DLL, and then compile your apps.

This new SDK supports C++. Remember to use this include:
Code:
extern "C" {
#include "raydium/index.h"
}


http://raydium.org/data/RaydiumSDK.zip

This is experimental, please report any trouble.


Top
 Profile  
 
 Post subject: Builing dll with windows
PostPosted: Wed Jul 05, 2006 5:37 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,
Compiler doesn't build dll if directory contains space:

raydiumsdk installed on c:\raydiumsdk -> build dll ok
raydimsdk installed on c:\raydium sdk -> build fail

    building DLL...
    gcc.exe: SDK\ray\raydium.dll: No such file or directory
    gcc.exe: C:\Raydium: No such file or directory
    gcc.exe: SDK\ray\raydium.o: No such file or directory
    failed !


haven't test further.

here is the generated compile.bat
Code:
@echo off
echo building DLL...
PATH=..\Dev-Cpp\bin;%PATH%
gcc.exe  -D RAYDLL -c raydium/index.c -o "C:\Raydium SDK\ray\raydium.o" -I"../Dev-Cpp/include"  -I"../work/php-5.1.2"  -I"../work/php-5.1.2/main"  -I"../work/php-5.1.2/Zend"  -I"../work/php-5.1.2/TSRM" -Iode/include -g -O3 -fexpensive-optimizations
gcc.exe -shared -o C:\Raydium SDK\ray\raydium.dll -Wl,--out-implib,raydium.a C:\Raydium SDK\ray\raydium.o -L"../Dev-Cpp/lib" ../Dev-Cpp/lib/libphp5ts.a -Lode/lib/ -lode -lopengl32 -lgdi32 -lglu32 -lws2_32 -lalut -lopenal32 -lvorbis -lvorbisfile -logg -ljpeg ../dev-cpp/lib/libmingwex.a ../dev-cpp/lib/libglew32s.a


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 06, 2006 7:32 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
OK, thanks. I'll try to correct this ASAP.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 06, 2006 9:39 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
After few tests ...

relative path on file raydium.o and raydium.dll seem to solve the problem.

I manage to get compile.bat working this way.
But still need to modify compiler.exe

Bye
Ouille


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 202 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:  
Powered by phpBB® Forum Software © phpBB Group