User forums > Using Code::Blocks

Installing the ACE Threads package on C::B

<< < (2/6) > >>

Tom_E:
here's an update:

I've successfully built the DLL and ".a" file the install page says i had to build, i've written a small code and compiled it. It compiled fine, no syntax or code errors, but i got an error that has something to do with Linking.

it said:
"#error You must link against multi-threaded libraries when using ACE (check your project settings)"

i've scanned extensivly though C::B options and did not find anything regarding MultiThreading in the GNU GCC compiler switches. BUT i have found these exact switches in the MS VC toolkit compiler options.

now i dont even have that installed, and i have no idea what to tell the MinGW maker so it wont use MultiThreading.

any ideas?
 

thomas:
This?

http://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/i386-and-x86_002d64-Options.html#index-mthreads-991

Try adding that option to "other compiler options"

Tom_E:
looks good! i'm testing it now with more code. thanks for the help!

lawina:
There is a ACE package in devpak format at
http://sourceforge.net/project/showfiles.php?group_id=94270
I didn't  test it though.

mtk:
Hello fellow Tom...
I've tried Installing the ACE_DevPack, and recieved a size error while downloading.
I tried to manually download the Pack & install, it seems OK.

but compiling projects still doesn't work.

Any compiler options that I shouls change?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version