User forums > Help

problem of lwxmsw

(1/2) > >>

young:
hi, I copied the "hello world" of wxwidgets from the web to C::B to compile, the message says "cannot find -lwxmsw", I would like to know the reason of this and what can I do about it,
cause I think the wxwidgets in the C::B I am using is a bit old.

thomas:
Use -lwxmsw242 or -lwxmsw260 (or whatever matches the version you have).

rickg22:
But that would make it a DLL version. Anyway, you need to compile wxwidgets into making a non-DLL lib, this one will be the libwxmsw.a you're looking for.

thomas:
Static linkage to wxWidgets gives a ~1MB HelloWorld application...  (gulp)

rickg22:
That's why the new templates have statically or dynamially linked wxWidgets so you can choose :) And Visual Basic programs are around 1MB too.  So it's not that bad.

Navigation

[0] Message Index

[#] Next page

Go to full version