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 support@ccsinfo.com

error compiling ccs code in mplab x ide
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Sat Apr 04, 2020 7:29 am     Reply with quote

Do the changes you have been told, and it'll work.

The point is that the project has to be told 'where to look' for the CCS
standard include files. Also not to automatically go looking for other stuff.

PCM's post covers this last bit, mine how to setup the former.

Your project 'as is', with that one change, compiles for me fine.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Apr 04, 2020 8:02 am     Reply with quote

I don't think he can understand instructions in English very well.
So he just gives up.
jose_pic16f887



Joined: 06 Sep 2018
Posts: 11

View user's profile Send private message

PostPosted: Sat Apr 04, 2020 8:05 am     Reply with quote

Friend thanks for answering again, my goal is to work with the dspic 30f4013 and not the pic 18F87K22, reason I'm testing the multisim simulator with the dspic 30f4013, the pic 18f87k22 has Proteus in its cracked version.
As Proteus does NOT have these libraries of the dspic 30f and pic 32, I had to use the multisim to perform these tests, so I made a small one in the ccs code which is a digital multimeter with the dspic 30f4013, and the ccs generates the code for me hex without any problem.

As we are with the COVID-19 pandemic and my country, Colombia, we are in quarantine and locked up at home, all the electronic stores are closed due to the forty in my country.

When the quarantine in my country by the COVID-19 is finished and the electronic stores are open, I will simulate the ccs code in the protoboard with the dspic 30f4013.

Thanks for the help and god bless you.
Wink
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Sat Apr 04, 2020 8:06 am     Reply with quote

What I have described is for the PIC30F4013.

As I said it works for me with this change.
dluu13



Joined: 28 Sep 2018
Posts: 395
Location: Toronto, ON

View user's profile Send private message Visit poster's website

PostPosted: Sat Apr 04, 2020 9:03 am     Reply with quote

I have seen a problem like this before... With mplab x I was not able to compile until I logged in as administrator. I think it has to do with how compiler and ccs files are stored in the program files folder.

Not entirely sure if that might be the problem, but that could be something to check.
jose_pic16f887



Joined: 06 Sep 2018
Posts: 11

View user's profile Send private message

PostPosted: Sat Apr 04, 2020 9:23 am     Reply with quote

It is not that I give up, but that I have been more than 2 days trying to compile this ccs code in mplab x ide. I have followed all the steps that have been mentioned to me and nothing works for me.
The version that I am using is mplab x ide V 4.0, it is a pity that this forum of ccs does not allow attaching files, as well as in other forums if they allow uploading files up to 200 KB.

The last step mentioned by the PCM Programmer friend I have done and it does not work for me. That's why I said is that if someone can remotely connect to my pc through teamviewer and look at the steps as they do and thus be able to learn, but nobody accessed me to ask.
Thank you all very much and god bless you always.
Wink
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Sat Apr 04, 2020 10:23 am     Reply with quote

4!.....

The early MPLAB 4 releases were faulty. It was about 4.3 before it started
to work at all well. MPLAB-X is now on 5.35.

Get yourself the current version.
jose_pic16f887



Joined: 06 Sep 2018
Posts: 11

View user's profile Send private message

PostPosted: Sat Apr 04, 2020 10:39 am     Reply with quote

i am testing this ccs tutorial https://www.ccsinfo.com/faq.php?page=ccs_mplab

I have installed mplab 8.9 and download the ccs plugin for mplab ide. I will follow these steps to see how it goes.
My objective is that the mplab ide generates the file with the elf extension, whose extension is compatible with the multisim of National Instruments.



Wink
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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