Jump to content

Compiling code in CCS written for gcc?

Recommended Posts

Hi I'm having a bit of trouble getting code I find online to compile using code composer studio (newest one)


I seem to be able to compile and run the sample code like blink the led. However when I try to run something I find online such as the hd44780 sample I get errors about missing headers even when I have the file in the same folder. I'm pretty sure it was written for gcc because I see a make file and I am on Windows and I can't figure out mspgcc right now.


So before it makes my headache worse- in general can you compile code intended for gcc in ccs?

Link to post
Share on other sites

Ah okay that explains a lot.


I am using the newest version of ccs so I think it's 5.5.


I might have to take another shot at getting gcc to work then. I had downloaded mspgcc then mingw since the documentation seemed to point at it. Might try the normal cgywin with it and see.


I was running into errors about not finding the header files but I see some posts here that might be relevant so I'll try before I ask.

Link to post
Share on other sites

I haven't had a chance to try that yet but it sounds interesting! 


For now I have shifted my attention to Energia which seems interesting although my ability to break the sample code is nothing less than impressive.  I have always been the copy paste and edit type so I'm more comfortable with what I see. 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...