Log in

View Full Version : how i can compile this?



imoses
10-11-2012, 12:57 PM
Hi guys!

How i can compile this project?
i have codeblock and mingw installed and iniparser&boost in project directory , but there are some errors with projects

Can someone put a detailed and updated step-by-step guide, on how to compile this?
Im so confused, that i can't even think now :|

Thanks.

foxtacles
10-11-2012, 04:37 PM
Hello,

please get GCC 4.7.1 or newer. Here are a few sources you can try:

https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.7-release/
https://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/
https://i.imgur.com/pIJf1.png

Also, in CodeBlocks, make sure you point to the correct binaries: Settings -> Compiler (usually MinGW/bin/mingw32-g++.exe etc.). It should compile fine then if you got a copy of the repository source (master) including the submodules (iniparser, time64) and boost.

(your error of missing winsock2.h is a problem with your setup, it's included with MinGW)

imoses
10-11-2012, 09:29 PM
Thank you, Recycler ! :)

I will definitly try this tommorow (i'm so tired right now...) and i will post my results :)