Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

ShiVa3D

Return to Plugins

Compiling Plugin in Code::Block

ShiVa Plugin Development

Compiling Plugin in Code::Block

Postby Pierrick584 » 25 Feb 2012, 00:11

Greetings, i was trying to compile a plugin i am working on with codeblock, main reasons are, visual studio sucks, and is not multiplatform. anyway.. i managed to fix alot of errors i had, but then i've got into one that i just cannot figure out...

Code: Select all
c:program files (x86)codeblocksmingwbin..libgccmingw324.4.1........includestdlib.h|323|error: expected unqualified-id before 'float'|
c:program files (x86)codeblocksmingwbin..libgccmingw324.4.1........includestdlib.h|323|error: expected ')' before 'float'|
||=== Build finished: 2 errors, 0 warnings ===|


If you guys can help on this i'd be extremely gratefull, i have not tried it on linux yet, but i'll edit my post once i will
Pierrick584
Fresh Boarder
Fresh Boarder
 
Posts: 19

Re: Compiling Plugin in Code::Block

Postby michax » 04 Dec 2012, 13:57

I've encountered same error on android platform. Did you figure out how to solve it ?

Thanks.

EDIT: Just resolved my problem.
Putting my includes before default #include "../Plugin.h" in PrecompiledHeader helped :)
User avatar
michax
Platinum Boarder
Platinum Boarder
 
Posts: 450
Location: Poland


Return to Plugins

cron