User forums > Help

Compilation error with SuSE Linux 9.3 on AMD64

<< < (2/6) > >>

MortenMacFly:

--- Quote from: MortenMacFly on May 02, 2006, 02:15:49 pm ---May I ask again for this issue: [...]

--- End quote ---
Ok, one step for: I figured out that I had to set the LD_LIBRARY_PATH variable to include the non-default wxGTK LIB-folder in front but not removing any other entries. Furthermore I had to make sure the PATH variable is extended to include wx-config and stuff of the additional wxGTK compilation/installation bin folder. Thus this bin folder had to come before the bin folder of the other wxGTK as well.
Now compilation and linking works but when I start C::B I receive that an AS method could not be registered. I remember that AngelScript was not working under a 64 bit OS so I'm doing further investigations on this... Anyway: As I see one should really have only ONE wxGTK installation otherwise things get weired.... :roll:
With best regards, Morten.

MortenMacFly:
Mmmmh... I guess I really could need some help. I tried different things as proposed in the forum to patch and/or disable AngelScript for the 64bit system I'm trying to compile C::B for but without success. Could someone who runs C::B on a 64bit system enlighten me what to do with AS? Or where can I read about it?
What happens? I can compile C::B but when I try to run it a small message box (without text) pops up and closes shortly after that. On the console the following error is written:

--- Code: ---codeblocks: source/as_anyobject.cpp:138: void RegisterAnyObject(asCScriptEngine*): Assertion `r >= 0' failed.

--- End code ---
I tried AS_MAX_PORTABILITY and the patch as proposed by Takeshi Miya but it doesn't help...?!
With regards, Morten.

takeshimiya:

--- Quote from: MortenMacFly on May 02, 2006, 10:21:55 pm ---I tried AS_MAX_PORTABILITY and the patch as proposed by Takeshi Miya but it doesn't help...?!
With regards, Morten.

--- End quote ---

What you're talking about is here. It only removed the assertions and ignored AS.

But that was resolved as noted here, so I don't know why you're experiencing them. Works fine for me.

MortenMacFly:

--- Quote from: Takeshi Miya on May 03, 2006, 12:04:22 am ---But that was resolved as noted here, so I don't know why you're experiencing them. Works fine for me.

--- End quote ---
I didn't find this one. So does that mean that the SVN version should just work fine? Well, I tried again: Removing everything in my home folder and made a complete re-build from scratch with revision 2397. But I got the same error. I don't have access to any "base folder" (like /usr, /lib or similar) since I'm a restricted user so it cannot be another conflicting libcodeblocks or similar. Anyway, I searched and "which'd" all binaries (C::B and libs) - wxGTK as well as C::B seems to be in place and are the right ones I'd like to use... Very strange...?! Any others that have C::B running on a 64bit machine, maybe even SuSE Linux (9.3)?
With regards, Morten.

mandrav:
Morten,

I work on a 64bit system and Angelscript is disabled automatically since it doesn't support it yet.
Can you run the following command in a terminal and post its output?


--- Code: ---touch foo.h && cpp -dM foo.h

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version