开发者

Compiling Chipmunk with Code::Blocks

开发者 https://www.devze.com 2023-02-11 13:29 出处:网络
I seem to be unable to compile chipmunk without compile erro开发者_运维百科rs, can anyone help me? I turned on C99 but I still get errors.

I seem to be unable to compile chipmunk without compile erro开发者_运维百科rs, can anyone help me? I turned on C99 but I still get errors. Here's a few:

C:\c++\ChipmunkLib\chipmunk.c:70: error: 'M_PI' undeclared (first use in this function) C:\c++\ChipmunkLib\chipmunk.c:70: error: (Each undeclared identifier is reported only once C:\c++\ChipmunkLib\chipmunk.c:70: error: for each function it appears in.) C:\c++\ChipmunkLib\chipmunk.c: In function 'cpAreaForSegment': C:\c++\ChipmunkLib\chipmunk.c:85: error: 'M_PI' undeclared (first use in this function)

0

精彩评论

暂无评论...
验证码 换一张
取 消