CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

MPLAB X

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
koenbielen



Joined: 23 Apr 2009
Posts: 42

View user's profile Send private message

MPLAB X
PostPosted: Thu May 26, 2011 10:49 am     Reply with quote

Hi,

is it possible to use CCS on MPLAB X
if yes, how to do?

The error I get is :
invalid option:out=dist/default/production

thanks

byby
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Fri May 27, 2011 12:40 am     Reply with quote

MPLAB X is still in Beta and as I understand it you need a special beta release of the CCS compiler to make them work together. More info in this thread.
koenbielen



Joined: 23 Apr 2009
Posts: 42

View user's profile Send private message

mplab x
PostPosted: Fri Dec 09, 2011 5:28 pm     Reply with quote

Tried V 7.12
CCS is not working
invalid option out="dist/default/production"
to bad we cannot use this program mplab X with CCS
lets see in 2 months if this is solved

Sad Sad Sad
jrbrown59



Joined: 27 Sep 2011
Posts: 3
Location: USA, midwest

View user's profile Send private message

PostPosted: Wed Dec 14, 2011 6:31 am     Reply with quote

What is the version of your CCS compiler?

I am using PCM 4.121 and it works for me, just make sure that your
file and project names do not have spaces.
koenbielen



Joined: 23 Apr 2009
Posts: 42

View user's profile Send private message

PIC CCS MPLAB X not working
PostPosted: Wed Dec 14, 2011 12:22 pm     Reply with quote

Hi,

thank you for comment.
Version is 4.3.0.220
filename should be fine.

Code:


make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Documents and Settings/koen/MPLABXProjects/test.X'
make  -f nbproject/Makefile-default.mk dist/default/production/test.X.production.cof
make[2]: Entering directory `C:/Documents and Settings/koen/MPLABXProjects/test.X'
gnumkdir -p build/default/production
gnumkdir -p dist/default/production
"C:\Program Files\PICC\CCSC.exe"  out="dist/default/production"  "test.c" +FH +DF +Y=9 +EA +DF +LN +T +A +M +J +ES +Z +PE #__18F4525=TRUE
make[2]: *** [build/default/production/test.o] Error 11
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
make[2]: Leaving directory `C:/Documents and Settings/koen/MPLABXProjects/test.X'
make[1]: Leaving directory `C:/Documents and Settings/koen/MPLABXProjects/test.X'

BUILD FAILED (exit value 2, total time: 36s)
koenbielen



Joined: 23 Apr 2009
Posts: 42

View user's profile Send private message

any update on the mplab ide X compiling error
PostPosted: Thu Mar 15, 2012 1:01 pm     Reply with quote

any update on the mplab ide X compiling error?

thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Mar 15, 2012 1:11 pm     Reply with quote

Quote:
Version is 4.3.0.220

That's not the compiler version. That number is from right-clicking on the
icon for the CCSC.exe file, and selecting Properties, and then the Version tab.

To find the compiler version, look at the top of a .LST file, for a project
that you have successfully compiled (the .LST file is only present after
a successful compilation). It's a 4-digit number (only) in this format: x.xxx

Examples of version numbers:
http://www.ccsinfo.com/devices.php?page=versioninfo
koenbielen



Joined: 23 Apr 2009
Posts: 42

View user's profile Send private message

compiler version
PostPosted: Thu Mar 15, 2012 1:40 pm     Reply with quote

hello

CCS PCH C Compiler, Version 4.093, 46967

thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Mar 15, 2012 2:24 pm     Reply with quote

Well the other guy said it worked with vs. 4.121, so your version may
be too early for it to work successfully.

Vs. 4.093 came out in May of 2009, and 4.121 came out two years later
in May 2011.
jeremiah



Joined: 20 Jul 2010
Posts: 1349

View user's profile Send private message

PostPosted: Thu Mar 15, 2012 4:14 pm     Reply with quote

I have been using it with both 4.124 and 4.130 without much issue. The biggest gripe is sometimes it cannot locate the device files anymore and you have to manually add the device directory to the "include directories" section of your project options. Aside from that, it annoys me that it highlights CCS functions as warnings, but I can understand that since they aren't actually functions and aren't declared or defined in most cases.

The simulator is also starting to come around. It can't fully handle table based instructions, but can do simple stuff so far. Just bear in mind that it isn't 100% like real hardware.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group