Thankyou Obfuscated.
If I change into the correct directory as suggested, the source compiles fine.
Here's my log:
-------------- Build: Debug in CKat2 ---------------
g++.exe -Wall -fexceptions -g -c "C:\Users\local admin\codes\CKat2\HydroLa\CPP\SetParam.cpp" -o obj\Debug\HydroLa\CPP\SetParam.o
In file included from C:\Users\local admin\codes\CKat2\HydroLa\CPP\SetParam.cpp:6:0:
c:\mingw\bin\../lib/gcc/mingw32/4.6.1/include/c++/cstdlib:176:11: error: '::llabs' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.6.1/include/c++/cstdlib:211:22: error: '__gnu_cxx::llabs' has not been declared
C:\Users\local admin\codes\CKat2\HydroLa\CPP\SetParam.cpp: In function 'int SetParams(const char*)':
C:\Users\local admin\codes\CKat2\HydroLa\CPP\SetParam.cpp:150:46: warning: operation on 'i' may be undefined [-Wsequence-point]
C:\Users\local admin\codes\CKat2\HydroLa\CPP\SetParam.cpp:171:1: warning: control reaches end of non-void function [-Wreturn-type]
C:\Users\local admin\codes\CKat2\HydroLa\CPP\SetParam.cpp: In function 'int openfile(const char*, std::vector<double>*)':
C:\Users\local admin\codes\CKat2\HydroLa\CPP\SetParam.cpp:53:1: warning: control reaches end of non-void function [-Wreturn-type]
Process terminated with status 1 (0 minutes, 0 seconds)
2 errors, 3 warnings
and here's my default.conf :
http://pastebin.com/LrGd8qVC