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

Need help for compile project on Notepad++

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



Joined: 25 Aug 2009
Posts: 175

View user's profile Send private message Yahoo Messenger

Need help for compile project on Notepad++
PostPosted: Tue Jul 11, 2017 8:34 pm     Reply with quote

Hi everyone.
I need helping for config to compile project from notepad++.
I installed Notepad++ and NppExec plugin, and config in execute box as:
Code:
C:\Program Files (x86)\PICC\Ccsc.exe "$(LEFT_VIEW_FILE)"

But i can't find a error result like as in Pic C complier ver 5.025.
Please help me to fix it.
Thanks
_________________
Begin Begin Begin !!!
Ttelmah



Joined: 11 Mar 2010
Posts: 19520

View user's profile Send private message

PostPosted: Wed Jul 12, 2017 12:44 am     Reply with quote

I would be looking at doing the compile with a script, rather than directly. Then you can have it clean up files, and show output files etc..
Look at the examples here:

<https://stackoverflow.com/questions/2506400/how-to-compile-and-run-c-files-from-within-notepad-using-nppexec-plugin>

Your current compile line is rather minimal. Add the option +EA to show all the errors and warnings. +PE will make the compile window 'stay open' if there are errors. etc. etc.. Look in the manual for the available command line options.
tienchuan



Joined: 25 Aug 2009
Posts: 175

View user's profile Send private message Yahoo Messenger

PostPosted: Wed Jul 12, 2017 7:32 pm     Reply with quote

Thanks for your support.
My purpose is using Notepad++ for coding and compiling (dont want use PCW interface programing)
So, I setup NppExec and config as above.
I tried to write program and compile but not success.
Code:
C:\Program Files (x86)\PICC\Ccsc.exe +EA "D:\CCS\test.c"
Process started >>>
<<< Process finished. (Exit code 0)
================ READY ================

Please help me to config it.
Thanks you
_________________
Begin Begin Begin !!!
Ttelmah



Joined: 11 Mar 2010
Posts: 19520

View user's profile Send private message

PostPosted: Thu Jul 13, 2017 3:10 am     Reply with quote

You are ignoring part of what I said....

You need to be writing a small script and using this. This then allows you to ensure that the home directory is changed to the code directory etc..
Look at the examples in the thread. Note how they change the directory before calling the compiler etc..
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