Hello
I use the first 16-bit dsPIC in this project. Compiled with While Icon without any code, I get the following message. Can someone help me with compiler settings?
I referenced this article.
viewtopic.php?t=20646
Target folder: D:\Project\Ing\180621-SK_Cap-Transformer\Program\DSPIC33EP512GM304
Source name: D:\Project\Ing\180621-SK_Cap-Transformer\Program\DSPIC33EP512GM304\Flowcode1.fcfx
Title:
Description:
Device: PIC16.33E.33EP512GM304
Generated by: Flowcode v8.2.1.14
Date: Thursday, November 28, 2019 11:59:42
Users: 1
Registered to: seokgi
License key: WTVQCH
https://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Microchip\xc16\v1.41\bin\pic16_C30_comp.bat "
D:\Project\Ing\180621-SK_Cap-Transformer\Program\DSPIC33EP512GM304>xc16-gcc -c -mcpu= -omf=coff -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\MICROC~1\xc16\v1.41\bin\..\support\h" -I"C:\PROGRA~2\MICROC~1\xc16\v1.41\bin\" -std=gnu99 ".c -o ".o
coff-gcc.exe: no input files
Error returned from [xc16-gcc.exe]
C:\Program Files (x86)\Microchip\xc16\v1.41\bin\pic16_C30_comp.bat reported error code 1
Autoclose turned off
FINISHED
XC16 compiler setting. help me!!
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: XC16 compiler setting. help me!!
Hello,
In your compiler output it looks like the call to the compiler is missing some detail.
Here is your call.
Compiler
Location
C:\Program Files (x86)\Microchip\xc16\v1.41\bin\pic16_C30_comp.bat
Parameters
"$(target)" "$(outdir)" "$(chip:u)"
In your compiler output it looks like the call to the compiler is missing some detail.
Here is your call.
and here is mine.Launching the compiler...
C:\Program Files (x86)\Microchip\xc16\v1.41\bin\pic16_C30_comp.bat "
Maybe go into the Build -> Compiler Options menu and check that the configuration is setup as shown below and marked as the default compiler.Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat "Flowcode1" "C:\Users\Ben\Desktop\" "33EP512GM304"
Compiler
Location
C:\Program Files (x86)\Microchip\xc16\v1.41\bin\pic16_C30_comp.bat
Parameters
"$(target)" "$(outdir)" "$(chip:u)"
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 164
- Joined: Fri Jan 13, 2012 4:21 am
- Location: South KOREA
- Has thanked: 18 times
- Been thanked: 16 times
- Contact:
Re: XC16 compiler setting. help me!!
still have the same problem. I am new to 16-bit version.
Is there a problem for me?
Thank you.
Is there a problem for me?
Thank you.
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: XC16 compiler setting. help me!!
Hi,
I am not sure about the compiler path settings as shown above by Ben and you confuse me as well
My XC16 compiler function well in FC with these paths
location
$(compilerpic16)batchfiles\pic16_C30_comp.bat
Parameters
"$(target)" "$(outdir)" "$(chip:u)"
I am not sure about the compiler path settings as shown above by Ben and you confuse me as well
My XC16 compiler function well in FC with these paths
location
$(compilerpic16)batchfiles\pic16_C30_comp.bat
Parameters
"$(target)" "$(outdir)" "$(chip:u)"
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: XC16 compiler setting. help me!!
Thanks QMESAR
Yes, I have same as you.
Looks like Ben might have made a typo with his copy'n'paste,
(we have a lot on at the moment, interesting new products)
Yes, I have same as you.
Looks like Ben might have made a typo with his copy'n'paste,
(we have a lot on at the moment, interesting new products)
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: XC16 compiler setting. help me!!
leigh.
I was just worried I have some wrong settings as paths is not my strength
If I have the same as you I am happy
I was just worried I have some wrong settings as paths is not my strength
If I have the same as you I am happy
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
-
- Posts: 164
- Joined: Fri Jan 13, 2012 4:21 am
- Location: South KOREA
- Has thanked: 18 times
- Been thanked: 16 times
- Contact:
Re: XC16 compiler setting. help me!!
Thanks to your help, the Compilation goes well. However, it does not apply when a new compiler is released. What should I do?
Thank you all for your help.
Thank you all for your help.
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: XC16 compiler setting. help me!!
No this never change even if there is an new version of the compilerit does not apply when a new compiler is released
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR