Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Chipmunk C++
- By Basic Date 2010-02-04 21:13
argh, has anybody done this with Gosu? I keep getting link errors in MSVS (I hate link errors).

most of them are LNK2005 errors regarding to LIBCMTD.lib

I found some stuff about forcing the linker to link in a different order, but that just ended up giving me more errors.
- By banister Date 2010-02-04 23:26
Heya, asl
- By ippa Date 2010-02-04 23:54
ruby and banisters crossplatform-binary chipmunk gem is your friend :)
- By jlnr (dev) Date 2010-02-05 00:38
LIBCMTD.lib, do you use the Debug or Release version of Gosu? Maybe chipmunk is compiled for Release, Gosu for Debug?
- By Basic Date 2010-02-05 08:19
@jlnr
not sure what I have gosu in, I just followed the tutorial on the wiki. Chipmunk was in release, however in debug I get the same link errors plus a few more
- By Basic Date 2010-02-05 08:20
@ippa
not sure how the gem would help me, unless you are suggesting using ruby instead of C++. ruby is not really an option.
- By jlnr (dev) Date 2010-02-05 10:17
Did you compile chipmunk yourself?
- By Basic Date 2010-02-05 10:51
I followed a guide on chipmunk's forms
http://www.slembcke.net/forums/viewtopic.php?f=1&t=119
- By jlnr (dev) Date 2010-02-05 14:48
Hmmm, I would guess the precompiled version is compiled against another of MSVCs various runtime libraries. I think you could go two routes, one is compiling either Chipmunk or Gosu yourself, and making sure the runtime libraries match. The other (not tried this) is fiddling with the linker options in your project. I think there is an option called "Ignore standard library", maybe you can set it to ignore this CMDTDT...thingie. :)
- By Basic Date 2010-02-05 18:52
lol, werid. I ran the test project that came with it no problems, but after various poking around the problem seemed to be more related to glut32.lib it compiled no problems after that.

on a similar note, box2D was a breeze to work.

thanks for the help
Up Topic Gosu / Gosu Exchange / Chipmunk C++

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill