Related to compilation probem Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Yogesh191
I live to help wx-kind
I live to help wx-kind
Posts: 172
Joined: Sun Feb 26, 2006 4:30 am
Location: India
Contact:

Related to compilation probem

Post by Yogesh191 » Sun Feb 26, 2006 4:51 am

Hi everybody ,

I am trying to compile my wxWidget project using Runtime library as Multithreading(Mtd) for debug version and (MT) for release version but it give errors like _free already define in msvcrt.lib. I think there are some library clashing. But how i remove pboblem i don't know , can you help me how to solve this problem.

Yogesh
Yogesh Chaturvedi
OS : Windows, Linux, Mac

cpp
I live to help wx-kind
I live to help wx-kind
Posts: 195
Joined: Wed Sep 28, 2005 9:42 pm

Post by cpp » Sun Feb 26, 2006 5:43 am

when you built wxWidgets you used MD & MDd (its the default setting), so you need to recompile the library itself (wxWidgets), and any other library used in your project, as well as your project, using MT & MTd.
In other words, both the wxWidgets library, and your project need to be compiled with the same settings. (MT & MTd in your case)

HTH
Hier Kommt die Sonne...

Yogesh191
I live to help wx-kind
I live to help wx-kind
Posts: 172
Joined: Sun Feb 26, 2006 4:30 am
Location: India
Contact:

Post by Yogesh191 » Mon Feb 27, 2006 7:20 am

Hi,

Thanks for response, As You write Means i have to recompile the wxWidget Using Runtime library As Multithreading (MT) Option for release mode.

Yogesh
Yogesh Chaturvedi
OS : Windows, Linux, Mac

Post Reply