Since EE does not allow to quickly edit a post yet, I will need to re-post this again since I made a small mistake in the instructions.
Eclipse on Windows XP or Ubuntu
--------------------------
---
Windows XP:
Installed latest version of Java
Downloaded latest Eclipse Classic version 3.4.2
Added the CDT C/C++ development tools into Eclipse
Installed Automated MinGW Installer (MinGW 5.1.4)
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780GNU Source-Level Debugger
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=20507File
http://gnuwin32.sourceforge.net/packages/file.htmCoreutils
http://gnuwin32.sourceforge.net/packages/coreutils.htmTar
http://gnuwin32.sourceforge.net/packages/gtar.htmGzip
http://gnuwin32.sourceforge.net/packages/gzip.htmGrep
http://gnuwin32.sourceforge.net/packages/grep.htmAfter configuring Eclipse to use MinGW, these are the settings I configured next.
Go to: Project Properties -> C/C++ Build -> Settings -> Tool Settings
Go to: GCC C++ Compiler -> Directories
Include Paths (-I): "C:\Sources\curl-7.19.5-de
vel-mingw3
2\include"
Go to: MinGW C++ Linker -> Libraries
Libraries (-l): curl
Library search path (-L): "C:\Sources\curl-7.19.5-de
vel-mingw3
2\bin"
I then copied all the dll dependency files from C:\Sources\curl-7.19.5-dev
el-mingw32
\bin
to my output Debug folder where the program gets finally compiled to.
libcurl.dll
libeay32.dll
libidn-11.dll
libssh2.dll
libssl32.dll
zlib1.dll
--------------------------
---
Ubuntu Jaunty:
sudo apt-get install openjdk-6-jdk
Downloaded latest Eclipse Classic version 3.4.2
Added the CDT C/C++ development tools into Eclipse
sudo apt-get install curl
sudo apt-get install libcurl4-gnutls-dev
Go to: Project Properties -> C/C++ Build -> Settings -> Tool Settings
Go to: GCC C++ Linker -> Libraries
Libraries (-l): curl
All other Eclipse settings are default.
--------------------------
---
Maybe I should use Microsoft Visual C++.