User forums > Help

wxWidgets Sample compiling error

<< < (2/3) > >>

Biplab:

--- Quote from: cs378 on September 14, 2007, 06:42:43 am ---I am using Code::Blocks SVN 4466 in Windows XP Pro SP2

In my Global Variables
Base: C:\wxWidgets-2.8.5
include: C:\wxWidgets-2.8.5\include
lib: C:\wxWidgets-2.8.5\lib\gcc_lib
others are left blank.

--- End quote ---

You don't need to fill include and lib directories. They will be added by the wx wizard. Specifying lib dir = C:\wxWidgets-2.8.5\lib\gcc_lib means that you're using static library of wx. But you've mentioned that you've compiled a shared library of wx. They contradict with each other and causing this error.

cs378:
I see

I will try to change that after I have finish this newly compiled without SHARE.

Thank You so much both

Ceniza:
MONOLITHIC=1: a single library file with all wx stuff in it (preferred option).
MONOLITHIC=0: many library files separated by "category". core is one of those.

SHARED=1: create a shared (DLL/so/dylib) library (libraries if MONOLITHIC=0) that all your programs can share. You must provide this(these) file(s) along with your executable if you want to run it elsewhere (preferred option).
SHARED=0: create a static (.lib/.a) library. You won't have to include extra files to get your files working anywhere else, but all your executables will be huge.

MortenMacFly:

--- Quote from: Ceniza on September 14, 2007, 08:00:16 am ---MONOLITHIC=1:
MONOLITHIC=0:
SHARED=1:
SHARED=0:

--- End quote ---
Oh dear - it's too early in the morning. Sure - Ceniza is right. ;-)

cs378:
Thank you al for the help early in the morning.

ahhh yes

it worked and i know what the problem was b4
its all abt the creating new project
i just had to check build unicode and monothic

sigh...

I am going to rebuild with SHARE now hehe :)

okay another queation
 what is the diff between BUILD=debug and BUILD=release??

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version