jackchaos Posted October 31, 2006 Report Share Posted October 31, 2006 I'm having a mess of a time using Code::Blocks with my MIOS C application. Up to this point, I've always used Notepad++ and I want to try something different.One of the errors I get when I try to compile is this:in cmios.h"...syntax error: token -> '__wparam..."starting at line 101 which contains:"extern void MIOS_MIDI_BeginStream(void) __wparam;"I get a lot of these but it stops at 50. Quote Link to comment Share on other sites More sharing options...
audiocommander Posted October 31, 2006 Report Share Posted October 31, 2006 Hi jackchaos,what target do you compile?are you using the ACSim classes?maybe Code::Blocks is using GCC and not SDCC, this would explain this error...hard to say :-\, can you give some more informations?cheers,Michael Quote Link to comment Share on other sites More sharing options...
jackchaos Posted November 1, 2006 Author Report Share Posted November 1, 2006 acI first tried to follow stryd's instructions on the wiki by incorporating an existing application into the project.At first it would work fine until I attempted to split my code in separate *.c and *.h files.From there I was having difficulty compiling without errors. I will give it another go-around and If I'm not successful, I'll provide better descriptions of the errors.Thanks Quote Link to comment Share on other sites More sharing options...
stryd_one Posted November 2, 2006 Report Share Posted November 2, 2006 That documentation is still mostly OK, but the files have old copies of the ACSim, and the new versions of code::blocks behave a little differently... I don't know if I'd trust that doco any more :( I hope it hasn't caused any problems... Quote Link to comment Share on other sites More sharing options...
jackchaos Posted November 2, 2006 Author Report Share Posted November 2, 2006 strydI wasn't trying to set up ACSim... I just wanted to use Code::Blocks for coding and I tried to break my code up in separate files and I buggered it up.I'm back to notepad now but I will try again this weekend.Thanks Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 24, 2007 Report Share Posted January 24, 2007 FYI the documentation is updated at last. Code::Blocks changed a lot!It is now necessary to install mingw and gdb manually rather than using the RC installer which has them included... But it runs better and it's not that hard :) Quote Link to comment Share on other sites More sharing options...
Rio Posted January 29, 2007 Report Share Posted January 29, 2007 What i have to do, if i want update the overnight build?What are the changes? All i've got in svn build works fine. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 29, 2007 Report Share Posted January 29, 2007 To update your nightly, just delete the /share directory where your existing installation is, and unzip the new nightly over the top. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.