[try Beta version]
Not logged in

 
Simple Question

Sep 5, 2011 at 8:21pm
I have been trying to add 3rd Party libraries to code blocks on a mac for the last 3 hours, but i haven't reached anywhere. I am trying to use wxWidgets, OpenCV and Boost, but have no idea what to do. Every website tells me I have to "build" the libraries or something but I have no idea how to do this. Can someone please give me step by step instructions on what to do? Thanks
Sep 5, 2011 at 10:49pm
"Build" the libraries usually means that you have to compile them according to the read me file that comes with the library source code. Don't have a Mac so I don't know what all is needed to build under that OS. I only have Vista and Ubuntu.
Sep 5, 2011 at 11:20pm
Yep, if you were using Windows you could use the pre-compiled (or pre-built) libraries instead of building your own, which sometimes takes a considerable amount of time. But since you're using a Mac probably you'll need to compile your own.

Building the library means that you generate a file (normally a .a or .dll file) which you can link to using Code::Blocks or other IDE, you'll also need to include the headers files. Read a little bit about isn't so complicated...

Now, some libraries may be a kick in the ·"&("· to build so if you can find somewhere the pre-compiled/built version is much better, I say this because some libraries need other libraries to be compiled before you can compile the library you want. For what I have heard wxWidgets is very easy to compile/build and Boost should have a pre-compiled library even for Mac, but OpenCV I have no idea.

Read the "Installation" files inside those libraries; should tell you what to do.
Topic archived. No new replies allowed.