User forums > General (but related to Code::Blocks)

wxPlotWindow problems

<< < (2/2)

elettronica67:
Hi,

Thank you for your help.
I have removed the gcc_lib from the paths, but I have problems.

When I did compile the plot project I used the string "mingw32-make.exe -f makefile.gcc" and all was good.
the linker created the library "libwxmsw28d_plot.a" under "gcc_lib" directory (that now I can't use because I am working with dll).

So, probably I have to compile the "plot" project generating a DLL!

Ok, after a lot of searches, I have found that if I want obtain a DLL I have to use "SHARED=1" in my command line.

So, I wrote: "mingw32-make.exe -f makefile.gcc SHARED=1", but the linker generates a lot of errors.
(Probably this way was not enough tested).

Do you know if can be found the compiled dll plot library?

Thank you very much for your help!

stahta01:

--- Quote from: elettronica67 on February 23, 2008, 08:02:57 am ---So, I wrote: "mingw32-make.exe -f makefile.gcc SHARED=1", but the linker generates a lot of errors.
(Probably this way was not enough tested).

--- End quote ---

You need to compile the wxWidgets library first as a DLL.

I used this command to compile both wxWidgets DLL and plot dll.
The exact command to be used varies on what is wanted.

I use the same command for both wxWidgets DLL and the other make(s) in this case plot DLL.
( You just execute the command in a different folder. )


--- Code: ---mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1

--- End code ---

stahta01:
FYI:

After this issue is fixed, please post issues like this in the proper forum
Code::Blocks > User forums > General http://forums.codeblocks.org/index.php/board,5.0.html
Would be the closest in the case.

This forum "Code::Blocks > Developer forums (C::B DEVELOPMENT STRICTLY!) " is for the developers of Code::Blocks not people using Code::Blocks in development of other programs.

Tim S


elettronica67:
Ok, Thanks

elettronica67:
Hi,

I apologyze for my error, I have posted in the wrong space.

However, recompiling all the wxwidgets with the "unicode" option and recompiling the plot library with the same option as you suggested my project works!!!!

Thank you very much for your help!

Navigation

[0] Message Index

[*] Previous page

Go to full version