User forums > Using Code::Blocks

[RESOLVED] Compiling wxWidgets SHARED=0 used with CODEBLOCKS

(1/4) > >>

barbarello:
Hi

I compile wxWidgets with parameters SHARED=0.
So the folder created is gcc_msw

My compiler is mingw and my IDE Codeblocks.

I cannot compile due many errors
I don't know what are parameters to add.

If someone compile wxWidgets with SHARED=0, can he give me linker and compiler parameters ?
It will be nice..

I've post this before on wxWidgets Forum, but no response, so i try here.

Thanks

mandrav:
Instead of posting, you should use this little search box in the upper right part of the screen. It has been answered so many times...

barbarello:
That's right, that's what i've done.

And It's not the first time that i've post this question.

Each time I've found link option to lib\gcc_dll\msw but after compiling, the folder name is gcc_msw.
If I link to, i got errors.

I don't understand anything about thoses parameters, I made test without understanding what I do....

If you prefer delete this post, it doesn't matter I still looking for solution with searching tools.  :)

Thanks for your reply

Michael:
Hello,

You can have a look at:


* http://forums.codeblocks.org/index.php?topic=1701.0
* http://forums.codeblocks.org/index.php?topic=694.0
And I am quite sure that in wxWidgets package/website there are information on how to build and about the different parameters.

Best wishes,
Michael

barbarello:
You are really great.

Unfortunatly thoses options are for SHARED=1 and gcc_dll folder.
After compiling I don't have gcc_dll folder...
In first time, I've read wiki codeblocks and wxwidgets (compile with SHARED=1) to use with CodeBlocks and it works fine.

However I need to copy each time wxmsw26_gcc_cb.dll (6 Mo) and mingwm10.dll with my exe (weight under 300Ko...)

So i decided to generate only 1 executable (without dll) even this option will increase his weight.

Since the recompilation of wxWidgets, I can do anything via Codeblocks.

Maybe this post have not his place here.

I 'm going still search by my side.

Thanks for your reply

Navigation

[0] Message Index

[#] Next page

Go to full version