Raydium 3D Game Engine

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

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Nov 28, 2008 10:51 am 
Offline

Joined: Tue Jul 08, 2008 2:37 am
Posts: 181
Hi,

first I've to say that it's a very good idea to print the ODE version to the console, but sadly I've some compiling trouble under Mac OS X on all architectures (universal) using ODE version 0.10.0 since updating to Raydium revision R812.
Info.txt wrote:
ODE 0.10.0 http://ode.org/
Build options: --disable-shared --disable-double-precision --disable-demos
Code:
In file included from raydium/index.c:84,
                 from test6.c:14:
raydium/ode.c: In function 'raydium_ode_init':
raydium/ode.c:216: error: 'VERSION' undeclared (first use in this function)
raydium/ode.c:216: error: (Each undeclared identifier is reported only once
raydium/ode.c:216: error: for each function it appears in.)
Affected file: /trunk/raydium/ode.c (M)
I'm able to workaround this problem rolling back to Raydium revision R811.

Best regards,
st


Last edited by st on Wed Feb 15, 2012 6:42 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Nov 28, 2008 1:10 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello

Really ennoying.

So ...
Building ode using ./configure script create an config.h file with VERSION defined with a version string.

Using Premake, or an other solution don't seem to create this file.

So VERSION is not defined.

I correct Svn to allow build even if version is not defined (can you test it please).

But it will be hard to have ode version reported :(

Have a nice day.
Ouille


Top
 Profile  
 
PostPosted: Fri Nov 28, 2008 2:43 pm 
Offline

Joined: Tue Jul 08, 2008 2:37 am
Posts: 181
Thank you for the commit, it's working with Raydium revision R813, again. :)
Terminal wrote:
Raydium: physics: ODE (Unknown ODE version (config.h))

You're right, the package version is defined in the ODE configuration header file "config.h".
Code:
/* Version number of package */
#define VERSION "0.10.0"

I use and supply the files provided by the "make install" command in the SDK releases. It seems, perhaps only in this ODE version - 0.10.0 in this case, that the "config.h" file is not included by this method. This means that the file is not copied using "make install" to the target directory, that it is not needed by ODE after installation and accordingly can't be included anywhere.

IMHO, it's better to show nothing in the console about the ODE version, when the ODE version is not available, instead of the "Unknown ODE version." message. Sadly, it seems there isn't a "regular" function the get the ODE version, the version information isn't in the (installed) header files, nor embedded in the library files. :?

Wouldn't it be nice to show the version information (that are available) of every library linked with Raydium? :roll:


Top
 Profile  
 
PostPosted: Fri Nov 28, 2008 3:52 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

Quote:
IMHO, it's better to show nothing in the console about the ODE version, w...


I Agree commit the change.

I normally use regular win32 distrib of ode.
I'll have a deeper look. Anyway ode version will soon be mandatory, last version use a dInitOde which is conditional to macos.
For instance 0.10.1 seem buggy that's why i wait before adding to the sdk.

Quote:
Wouldn't it be nice to show the version information (that are available) of every library linked with Raydium?


Yes, need to hunt for version information off dependency.

Have a nice day.
Ouille.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 39 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