Error compiling Chipmunk on Code::Blocks
Posted: Tue Jul 21, 2015 5:33 pm
Hi, after trying to compile with Orwell Dev-C++ i try with Code::Blocks
Steps i've done:
1- Download from git repo
2- Uncompress file
3- Open the code::blocks file
4- Modified line #ifdef _WIN32
with: #if defined(WIN32) || defined(__WIN32) || defined(__WIN32__)
5- Added ../include and ../include/chipmunk to compiler and linker directories
6- Click on Rebuild
Build Messages:
||=== Build: Release in Chipmunk (compiler: GNU GCC Compiler) ===|
obj\Release\src\cpCollision.o:cpCollision.c|| undefined reference to `cpCheckSignedArea'|
obj\Release\src\cpCollision.o:cpCollision.c|| undefined reference to `cpCheckSignedArea'|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 35 second(s)) ===|
Thanks for Help
Steps i've done:
1- Download from git repo
2- Uncompress file
3- Open the code::blocks file
4- Modified line #ifdef _WIN32
with: #if defined(WIN32) || defined(__WIN32) || defined(__WIN32__)
5- Added ../include and ../include/chipmunk to compiler and linker directories
6- Click on Rebuild
Build Messages:
||=== Build: Release in Chipmunk (compiler: GNU GCC Compiler) ===|
obj\Release\src\cpCollision.o:cpCollision.c|| undefined reference to `cpCheckSignedArea'|
obj\Release\src\cpCollision.o:cpCollision.c|| undefined reference to `cpCheckSignedArea'|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 35 second(s)) ===|
Thanks for Help