News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

single to multi threaded compile

Started by MikeR, July 30, 2005, 04:17:20 AM

Previous topic - Next topic

MikeR

I'm using CodeBlocks 1 final beta with vc2003 (free version) win xp sp1.
I am trying to compile a dll that requires mutithreaded support, but can't figure out what to change in the compiler.
I keep getting an error message becouse the compiler is set to single threads.
(compiling raknet)
Any help would be greatly appreciated.

mandrav

Wait a couple of days for the update that 'll be released. Among some other issues it addresses, it contains the settings you 're missing ;) (contributed by zieQ).

Yiannis.
Be patient!
This bug will be fixed soon...

zieQ

Anyway, the free version lacks some of the runtime libraries (a design choice I've been answered in a Microsoft forum), especially those for multithreaded debug and multithreaded dll release & debug when you use STL. Before the update is released, you could try to manually add the /MD or /MT switch and see  :)

MikeR

Thanks for the answers.
First off, I would have no clue how to add the switches manually.  :?
I'll wait a few days and get the new version. I like this compiler front end.
It's the first one I've tried where it worked the first time.  :lol:

zieQ

#4
right-click on your project in the workspace explorer, "build options"
select your target on the left menu
select "compiler options" tab, go to "more options", add /MT

In the update, there will be new options in the "compiler option" checkbox list

MikeR

Thankyou. That worked. :)
The only compiler I've used successfully is dev-cpp. It doens't do directX tho, so this one was suggested. So far, so good.
Now back to the raknet forum to find the answer to the next set of errors.  :?