Chipmunk 6.0.1 and new example content!
-
- Posts: 145
- Joined: Tue Mar 04, 2008 2:21 am
- Contact:
Re: Chipmunk 6.0.1 and new example content!
Sorry. VS2010 is still not compiling the Demo.
But here is my workaround (more a hack as a feature):
1) Remove all header/C files from the demo project
2) Add all exsisting header/C files to the demo project
On ContactGraph.c:
Add:
#include <stdio.h>
On Buoyancy.c:
1) Change: TRUE -> true
2) Change: cpVect clipped[count +1]; => cpVect clipped[1001]; //More a hack!
Compile it -> should work now.
But here is my workaround (more a hack as a feature):
1) Remove all header/C files from the demo project
2) Add all exsisting header/C files to the demo project
On ContactGraph.c:
Add:
#include <stdio.h>
On Buoyancy.c:
1) Change: TRUE -> true
2) Change: cpVect clipped[count +1]; => cpVect clipped[1001]; //More a hack!
Compile it -> should work now.
Chipmunk4PB: The fastest way to write games together with PureBasic and the Chipmunk physics engine.
-
- Posts: 4
- Joined: Mon Apr 11, 2011 3:28 pm
- Contact:
Re: Chipmunk 6.0.1 and new example content!
Using VC9:
.
Thanks
.
Don't care too much about the demos, but I would like the .def file1>------ Build started: Project: chipmunk, Configuration: Debug DLL Win32 ------
1>Linking...
1>chipmunk.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
1>LINK : fatal error LNK1104: cannot open file 'chipmunk.def'
1>Build log was saved at "file://d:\Source\Packages\Chipmunk-6.0.1\msvc\vc9\chipmunk\Debug DLL\BuildLog.htm"
1>chipmunk - 1 error(s), 1 warning(s)
2>------ Build started: Project: demo, Configuration: Debug DLL Win32 ------
2>Compiling...
2>Bounce.c
2>c1xx : fatal error C1083: Cannot open source file: '..\..\..\Demo\Bounce.c': No such file or directory
2>ChipmunkDemo.c
2>d:\source\packages\chipmunk-6.0.1\demo\chipmunkdemo.c(50) : fatal error C1083: Cannot open include file: 'GL/glut.h': No such file or directory
2>drawSpace.c
2>c1xx : fatal error C1083: Cannot open source file: '..\..\..\Demo\drawSpace.c': No such file or directory
2>MagnetsElectric.c
2>c1xx : fatal error C1083: Cannot open source file: '..\..\..\Demo\MagnetsElectric.c': No such file or directory
2>Sensors.c
2>c1xx : fatal error C1083: Cannot open source file: '..\..\..\Demo\Sensors.c': No such file or directory
2>Simple.c
2>c1xx : fatal error C1083: Cannot open source file: '..\..\..\Demo\Simple.c': No such file or directory
2>UnsafeOps.c
2>c1xx : fatal error C1083: Cannot open source file: '..\..\..\Demo\UnsafeOps.c': No such file or directory
2>Generating Code...
2>Build log was saved at "file://d:\Source\Packages\Chipmunk-6.0.1\msvc\vc9\demo\Debug DLL\BuildLog.htm"
2>demo - 7 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

Thanks

-
- Posts: 7
- Joined: Sun Aug 07, 2011 11:17 am
- Contact:
Re: Chipmunk 6.0.1 and new example content!
i've compound solution for msvc 9 with the help of cmake utility . When i tried to build solution it produced a large amount of errors. The problem was solved switching compiler option /tc -> /tp (compile as c++ code)
I still can't build the examples with cmake (have to turn BUILD_DEMOS option in CMakeLists off). Says not found GLUT_INCLUDE_DIR)
I still can't build the examples with cmake (have to turn BUILD_DEMOS option in CMakeLists off). Says not found GLUT_INCLUDE_DIR)
-
- Posts: 71
- Joined: Mon Sep 06, 2010 1:29 pm
- Contact:
Re: Chipmunk 6.0.1 and new example content!
It would be really great if you could release a demo with source code of the new features, e.g. jelly etc. I couldn't find it in the Chipmunk Pro package.
-
- Posts: 71
- Joined: Sat Dec 20, 2008 12:16 pm
- Location: Minnesota
- Contact:
Re: Chipmunk 6.0.1 and new example content!
Sorry, haven't been around in a little while, I've been busy!
Thanks so much! And just so you know I'm still Minnesoooootan:
-Uffda, what a big help this will be, up 'der in da code dontcha know?
Thanks so much! And just so you know I'm still Minnesoooootan:
-Uffda, what a big help this will be, up 'der in da code dontcha know?
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Chipmunk 6.0.1 and new example content!
Well, the jelly demo isn't really a feature, it's just an example project that shows you one possible way to make jelly-like objects.
You can find it and a bunch of other example projects here: http://chipmunk-physics.net/downloads.php
You can find it and a bunch of other example projects here: http://chipmunk-physics.net/downloads.php
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: 71
- Joined: Mon Sep 06, 2010 1:29 pm
- Contact:
Re: Chipmunk 6.0.1 and new example content!
Ok, but is it possible to get the source code in Objective C Chipmunk?
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Chipmunk 6.0.1 and new example content!
It's an Objective-Chipmunk example already.
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: 3
- Joined: Fri Aug 26, 2011 9:31 pm
- Contact:
Re: Chipmunk 6.0.1 and new example content!
6.0.1 hates me.
Demos will not run, and when I try to compile the hello world program from the docs, it's says it can't find the 1.0.6 specific .so even though I'm running the compiled executable in the same folder.
Any help?
Error from demo:
EDIT: So I'm an idiot, I guess. Or a noob at least. The not finding the .so thing was b/c chipmunk isn't installed, so it didn't know where to look for the .so files. So I just fixed that in the OS. (on another note, SDL DOES find itself even though it's not installed, is that a code feature?)
Still don't know why the demo's won't run, but assume my drivers are woefully out of date or something, haha.
Sorry to be a whiner for what turned out to be no reason. :/
Hopefully as I learn more about chipmunk I'll make myself useful around here.

Any help?
Error from demo:
Code: Select all
chipmunk_demos: tnl/t_draw.c:406: _tnl_draw_prims: Assertion `ctx->NewState == 0x0' failed.
Aborted
Still don't know why the demo's won't run, but assume my drivers are woefully out of date or something, haha.
Sorry to be a whiner for what turned out to be no reason. :/
Hopefully as I learn more about chipmunk I'll make myself useful around here.

- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Chipmunk 6.0.1 and new example content!
Hmm. I disabled compiling the .so by default as I don't recommend dynamically linking to Chipmunk. The demos should be statically linked though.
Can you give me anymore information on your system/environment? Is the code out of svn or a release tarball?
Can you give me anymore information on your system/environment? Is the code out of svn or a release tarball?
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 3 guests