Hello,
I've followed the tutorial for compiling Chipmunk in MSVC++, and I got it working fine. But for development reasons, I had to switch to Netbeans IDE.
I can't just use the .obj files I used for MSVC, can I?
Could anyone give me some guidance as to what I need to do to get Chipmunk working with Netbeans?
Once I get it working, I will gladly make a detailed post like the MSVC++ post, explaining all the steps required.
Much thanks
help compiling chipmunk with Netbeans 6.5.1
-
- Posts: 2
- Joined: Tue Jun 23, 2009 3:25 pm
- Contact:
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: help compiling chipmunk with Netbeans 6.5.1
Netbeans for C/C++ development? Does it just use GCC? If so just follow what the build scripts do for the command line.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 2
- Joined: Tue Jun 23, 2009 3:25 pm
- Contact:
Re: help compiling chipmunk with Netbeans 6.5.1
I'm sorry, I don't understand what you mean.
I'm basically just trying to build the src folder in netbeans (yes, it uses gcc). I have gcc compiling in c99 mode, but i'm getting errors. First I get this error
So I replaced it with just a value for pi to see if that was the only error. But then I got this:
Can you help me troubleshoot this situation? I'm not sure what to go after...
I'm basically just trying to build the src folder in netbeans (yes, it uses gcc). I have gcc compiling in c99 mode, but i'm getting errors. First I get this error
Code: Select all
src/cpBody.c:92: error: `M_PI' undeclared (first use in this function)
src/cpBody.c:92: error: (Each undeclared identifier is reported only once
src/cpBody.c:92: error: for each function it appears in.)
Code: Select all
/cygdrive/c/Documents and Settings/Vincent Rubinetti/My Documents/NetBeansProjects/Chipmunk2GM/src/cpShape.c:46: undefined reference to `___assert'
build/Debug/Cygwin-Windows/src/cpSpaceHash.o: In function `next_prime':
/cygdrive/c/Documents and Settings/Vincent Rubinetti/My Documents/NetBeansProjects/Chipmunk2GM/src/prime.h:64: undefined reference to `___assert'
build/Debug/Cygwin-Windows/src/cpHashSet.o: In function `next_prime':
/cygdrive/c/Documents and Settings/Vincent Rubinetti/My Documents/NetBeansProjects/Chipmunk2GM/src/prime.h:64: undefined reference to `___assert'
build/Debug/Cygwin-Windows/src/cpCollision.o: In function `cpCollideShapes':
/cygdrive/c/Documents and Settings/Vincent Rubinetti/My Documents/NetBeansProjects/Chipmunk2GM/src/cpCollision.c:386: undefined reference to `___assert'
Can you help me troubleshoot this situation? I'm not sure what to go after...
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: help compiling chipmunk with Netbeans 6.5.1
It looks like you are having troubles with headers or header paths maybe. Having never used NetBeans before I have no idea as M_PI and assert are declared in standard C headers. You might have better luck asking on the NetBeans forum maybe.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Who is online
Users browsing this forum: No registered users and 23 guests