I'm trying to compile some code from this website
http://headsoft.com.au/index.php?category=vjoy (SDK C++) in CodeBlocks.
Its working in VS (there is .dsp file), but I don't really like it. So I created new project in CodeBlocks included all files, linked library (I think I dd it good), but I just can't get it to compile :S
If I press "Keep this relative path"> Yes while adding library, then I get error ld.exe||cannot find -lVJoy.lib
If I press "Keep this relative path"> No while adding library, then I get following error :
obj\Debug\x\main.o||In function `main':|
\main.cpp|12|undefined reference to `_imp___Z15VJoy_InitializePcS_@8'|
\main.cpp|20|undefined reference to `_imp___Z19VJoy_UpdateJoyStateiP15_JOYSTICK_STATE@8'|
\main.cpp|22|undefined reference to `_imp___Z13VJoy_Shutdownv@0'|
||=== Build finished: 3 errors, 0 warnings (0 minutes, 0 seconds) ===|