This guide was built using Code Blocks 8.02 IDE in Windows (but similar configuration can be applied for Linux).
To create a new project go to the menu "File / New / Project" and select "Win32 GUI project":
You can use several compilers, for this tutorial we will choose the MingW3 compiler. Just use the respective IUP binaries package: "mingw3".
Then remove the automatically added files and add your files to the projet workspace.
After creating the project you must configure it to find the IUP includes and libraries. Go the menu "Project / Build Options".
To configure the include files location go to "Search Directories" then in Compiler add the paths you need:
To configure the library files location go to "Search Directories" then in Compiler add the paths you need:
To add the library files go to "Linker Settings" then in "Link libraries" add the files you need: