Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
svn r6035 build broken on 64-bit linux and 32-bit windows
Jenna:
I just merged the topic started by ouch with this one, because the cause for that problem seems to be the change for 64-bit windows in svn r6034 and r6035.
MortenMacFly:
--- Quote from: jens on January 03, 2010, 10:14:07 pm ---The following patch works for me, it readds the defines for 64-bit non-windows-platforms from the original squirrel.h.
--- End quote ---
While merging I noticed other Linux 64bit changes introduced in our C::B version have been removed, too. What mean "works for me"? Just compilation works or did you also try running basic test scripts (e.g. a scripted plugin and/or wizards)?
Jenna:
--- Quote from: MortenMacFly on January 04, 2010, 07:31:31 am ---
--- Quote from: jens on January 03, 2010, 10:14:07 pm ---The following patch works for me, it readds the defines for 64-bit non-windows-platforms from the original squirrel.h.
--- End quote ---
While merging I noticed other Linux 64bit changes introduced in our C::B version have been removed, too. What mean "works for me"? Just compilation works or did you also try running basic test scripts (e.g. a scripted plugin and/or wizards)?
--- End quote ---
No just compiling (until it steps over the error), but I get the same linking error (declare_stream), but I totally overlooked it yesterday (too much things to do in parallel).
I think it was a little late for me yesterday :( .
It's time to go to work and relax from holiday :) .
MortenMacFly:
--- Quote from: ouch on January 04, 2010, 12:36:42 am ---
--- Code: ---sdk\scripting\lib\libsqstdlib.a(sqstdio.o)||In function `sqstd_register_iolib':|
C:\codeblocks\src\sdk\scripting\sqstdlib\sqstdio.cpp|398|undefined reference to `declare_stream(SQVM*, char const*, void*, char const*, tagSQRegFunction*, tagSQRegFunction*)'|
sdk\scripting\lib\libsqstdlib.a(sqstdblob.o)||In function `sqstd_register_bloblib':|
C:\codeblocks\src\sdk\scripting\sqstdlib\sqstdblob.cpp|249|undefined reference to `declare_stream(SQVM*, char const*, void*, char const*, tagSQRegFunction*, tagSQRegFunction*)'|
||=== Build finished: 2 errors, 0 warnings ===|
--- End code ---
--- End quote ---
This can be easily resolved: We patched squirrel to use "const SQChar* name" instead of "SQChar* name" as function argument to make the GCC compiler happy. This is still in the header file, but in the implementation file the const is missing. I'll apply the fix later in SVN.
Biplab:
--- Quote from: MortenMacFly on January 04, 2010, 08:51:40 am ---This can be easily resolved: We patched squirrel to use "const SQChar* name" instead of "SQChar* name" as function argument to make the GCC compiler happy. This is still in the header file, but in the implementation file the const is missing. I'll apply the fix later in SVN.
--- End quote ---
I missed it. Thanks for pointing it out.
--- Quote from: MortenMacFly on January 04, 2010, 07:31:31 am ---While merging I noticed other Linux 64bit changes introduced in our C::B version have been removed, too. What mean "works for me"? Just compilation works or did you also try running basic test scripts (e.g. a scripted plugin and/or wizards)?
--- End quote ---
If any portion of C::B specific patch is missing, feel free to add it. It seems I have missed out a number of things. I'll look into this issue later. :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version