Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

rev 4649 doesn't build on linux

<< < (3/7) > >>

MortenMacFly:

--- Quote from: killerbot on November 21, 2007, 03:13:09 pm ---I think Squirrel was 64 bit compatible, [...]

--- End quote ---
Squirrel is indeed, but not SQPlus (search for "<TODO> 64-bit" in the code...)...

killerbot:
maybe one of the types that get translated into one another has changed and those type definitions can be in another file ?

MortenMacFly:

--- Quote from: killerbot on November 21, 2007, 03:31:38 pm ---maybe one of the types that get translated into one another has changed and those type definitions can be in another file ?

--- End quote ---
Ok... this should be SQInteger then... let me check...
But anyways: We cannot rely on 64bit compatibility anyway.

MortenMacFly:

--- Quote from: killerbot on November 21, 2007, 03:31:38 pm ---maybe one of the types that get translated into one another has changed and those type definitions can be in another file ?

--- End quote ---
Dammed! Maybe I found the error. Could you do me a favour and add the following code into include\scripting\include\squirrel.h:

--- Code: ---#ifdef _LP64
    #define _SQ64
#endif

--- End code ---
Just after:

--- Code: ---#ifndef SQUIRREL_API
#define SQUIRREL_API extern
#endif

--- End code ---
If that's the cause than it's all my fault!!! :roll: :roll: :roll:

bludo:
I have found the solution looking on squirrel forum (one of the threads : http://squirrel-lang.org/forums/thread/746.aspx) . Compiling squirrel on 64 bits platforms requires to define the _SQ64 variable so I have added in squirrel Makefile the flag -D_SQ64 in CXXFLAGS and then the compilation succeed. Is it possible that something have changed in the configuration script or squirrel code source ? Can somebody fix this problem in codeblocks code source ?

Thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version