1. Re-compiling wxEuphoria on Linux
- Posted by ghaberek (admin) Sep 08, 2008
- 879 views
- Last edited Sep 09, 2008
Matt! I need halp...
Functions I've added to wxEuphoria recently don't seem to be getting exported when I re-compile on Linux. But I've got export.exw updating both wat_dll\exports.lbc (for Watcom) and exports (for LCC) equally. Everything looks fine, compiles fine, etc. Here's my recent steps:
$ svn update $ exu exports.exw $ make $ sudo make install $ exu wrap.exw $ ldconfig /usr/lib
But things like initialize_split() and new_wxProcess() are returning bad routine numbers (-1). I've even tried manually copying libwxeu.so.12 to /usr/lib and re-running ldconfig again. Still nothing. What am I missing?
-Greg
2. Re: Re-compiling wxEuphoria on Linux
- Posted by mattlewis (admin) Sep 09, 2008
- 887 views
Matt! I need halp...
Functions I've added to wxEuphoria recently don't seem to be getting exported when I re-compile on Linux. But I've got export.exw updating both wat_dll\exports.lbc (for Watcom) and exports (for LCC) equally. Everything looks fine, compiles fine, etc. Here's my recent steps:
<snip>
But things like initialize_split() and new_wxProcess() are returning bad routine numbers (-1). I've even tried manually copying libwxeu.so.12 to /usr/lib and re-running ldconfig again. Still nothing. What am I missing?
It should "just work" on gcc. The exports.exw stuff is for Watcom, where we have to declare them differently in order to not have them mangled. I just updated, and there was a problem compiling wxDir.cpp, where "boolean" should be "bool" at one point. Maybe it's just not building a new version for you because of this?
Once I fixed that, those seem to work for me.
Matt
3. Re: Re-compiling wxEuphoria on Linux
- Posted by ghaberek (admin) Sep 09, 2008
- 914 views
It should "just work" on gcc. The exports.exw stuff is for Watcom, where we have to declare them differently in order to not have them mangled. I just updated, and there was a problem compiling wxDir.cpp, where "boolean" should be "bool" at one point. Maybe it's just not building a new version for you because of this?
Once I fixed that, those seem to work for me.
Matt
Damn, I thought I fixed that. The compiler barked about it the first time, so I changed it to something else. Basically I was fiddling with it, because I didn't know if (bool) or (boolean) were correct. (I'm not a C programmer, can you tell? )
Though I did pick up a C book the other day because I've been doing so much more work on wxEuphoria. After I guessed-and-checked my way through that EuProcess class, I figured it was time to sit down and learn some specifics of C.
-Greg
4. Re: Re-compiling wxEuphoria on Linux
- Posted by ghaberek (admin) Sep 09, 2008
- 911 views
- Last edited Sep 10, 2008
Okay Matt, that did indeed work. Weird.
Onward with my coding...
-Greg