GameMonkey Script

GameMonkey Script Forums
It is currently Sat Aug 18, 2018 10:36 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GCC compilation issues
PostPosted: Thu Dec 15, 2011 12:05 pm 
Offline

Joined: Thu Dec 15, 2011 10:56 am
Posts: 1
Hi. I'm trying to compile 1.28.5 with mingw/GCC 4.4.1 with CodeBlocks by following downgraded's article on GameDev.net.

I have all the src files in a folder with the respective gmConfig_p.h as well. And the project search directory set to that folder (because for whatever reason CodeBlocks doesn't accept just having the files open in the project).

Here's where compilation failed:
Code:
In member function 'bool gmCodeGenPrivate::GenExprConstant(const gmCodeTreeNode*, gmByteCodeGen*)':
error: 'gmint' was not declared in this scope
error: expected primary-expression before ')' token


Any ideas? I feel like it is probably just something stupid I forgot to do...


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 24, 2012 11:25 am 
Offline

Joined: Tue Jul 24, 2012 11:18 am
Posts: 3
That seems to be a bug with current stable version.
Needed to add:
typedef int gmint;
to the .../platform/win32gcc/gmConfig_p.h
in http://www.gmscript.com/gamemonkey/down ... 1_29_0.zip


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group