1. Re-compiling wxEuphoria on Linux

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? getlost

-Greg

new topic     » topic index » view message » categorize

2. Re: Re-compiling wxEuphoria on Linux

ghaberek said...

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? getlost

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Re-compiling wxEuphoria on Linux

mattlewis said...

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? smile)

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Re-compiling wxEuphoria on Linux

Okay Matt, that did indeed work. Weird. getlost

Onward with my coding... grin

-Greg

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu