User forums > Using Code::Blocks

[SOLVED] C::B 13.12 -static not working

<< < (4/7) > >>

dcbdbis:
My solution is not the most desired solution.

The wxWidgets folks are unwilling to assist in the linking issues.

I have received support here.....for which I am appreciative......but there remains is no succinct solution available.

To lower my headache factor....I have gone with the QT tooset and development environment for fixing my Windows issues. I've used QT several times before....successfully, but I am not a big QT fan.

Under FreeBSD/Linux....C::B and wxWidgets works flawlessly.  Under Widows.....wxWidgets is just too much hassle and it's burning too much of my time.

If C::B were to allow me to use the QT libraries (the wiki didn't include QT as a supported toolset)...I would stick with C::B under windows.

So for me and my looming deadline.....QT will have to suffice for Windows.

I apologize I couldn't come up with a different solution...I have certainly tried.


Sincerely and respectfully,

Dave

Jenna:
I just did a quick test with a stically build wx2.8 and it seems to work flawlessly.
I just build wx with "SHARED=0" and did not change anything else.
But I also used a unicode.build, not an ansi one.
I did nothing complex, just build the wx-sample.

I can run it from the output-folder from inside a cmd-window with empty path.

Jenna:
Just for the record I did not use the -static option, just linked with static libs.
It also runs flawlessly under wine on my FC20 64-bit and on a W2K-VM without even MinGW installed.

Jenna:
Next test with ansi-build of wx also works fine.

Make sure, that you do a full rebuild after switching to the static libs.

If it still does not work, can you provide a sample project that fails ?

stahta01:
FYI:

Switching to doing a Monolithic build from doing a Multilib build of wxWidgets can result in very weird errors.

I often have to delete all the object and library files manually to get builds to work once more.
(make clean is NOT enough to fix the problem.)

No idea if the poster might have done a Multilib build of wxWidgets or not.

Tim S.
 

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version