Problem with c compiler
Problem with c compiler
Programs that worked fine ( compiled and send to chips) now I can't compiled it again. When compilation process start a preprocessor it goes into somekind infinity loop, so I must cancel the process. I must mention that till now it works perfectly.
C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F887 "SSSS_Test_SOl_2s1r2t3x7segLedV7.3_887_4mhzInternal.c"
BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
SSSS_Test_SOl_2s1r2t3x7segLedV7.3_887_4mhzInternal.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "C:\Program Files\Matrix Multimedia\Flowcode V3\Examples\SSSS_Test_SOl_2s1r2t3x7segLedV7.3_887_4mhzInternal.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC16F887 -la -c2 -o SSSS_Test_SOl_2s1r2t3x7segLedV7.3_887_4mhzInternal.pp -v -d _BOOSTC -d _PIC16
......................................................................................................................................................................................................................................................................
Return code = 259
User cancelled!
FINISHED
Thanks
C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F887 "SSSS_Test_SOl_2s1r2t3x7segLedV7.3_887_4mhzInternal.c"
BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
SSSS_Test_SOl_2s1r2t3x7segLedV7.3_887_4mhzInternal.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "C:\Program Files\Matrix Multimedia\Flowcode V3\Examples\SSSS_Test_SOl_2s1r2t3x7segLedV7.3_887_4mhzInternal.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC16F887 -la -c2 -o SSSS_Test_SOl_2s1r2t3x7segLedV7.3_887_4mhzInternal.pp -v -d _BOOSTC -d _PIC16
......................................................................................................................................................................................................................................................................
Return code = 259
User cancelled!
FINISHED
Thanks
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Problem with c compiler
Hello milea. We wont be able to take a look at this properly before Monday, Im afraid, but can you post details of anything that has changed on your system between the time that this worked and stopped working? Upgrades to Flowcode, change of OS, changes to filename or file location, edits to the file, etc?
Also, if not confidential, it might be a help to post your Flowcode file so we can replicate this. If it is confidential you can PM me or another member of Matrix with the file and we will treat it as confidential.
Cheers,
Jonny
Also, if not confidential, it might be a help to post your Flowcode file so we can replicate this. If it is confidential you can PM me or another member of Matrix with the file and we will treat it as confidential.
Cheers,
Jonny
Re: Problem with c compiler
Hello Jonny,
I have upgarde V3 to V4 but I thought that is not the reason for problem, because when I installed new version V4 and activated it made the same error as V3. After that I uninstalled V3 an V4 an reinstalled again , it no solve the problem.
I'm sure that is no error in my programs because I have tried more than 20's projects (most gone to customers with no problems) and all of them I can't recompiling it. Message the same.
Also I have installed same c++ aplication compiler (trial version ) before the problems start, I'm not sure.
Thanks
I have upgarde V3 to V4 but I thought that is not the reason for problem, because when I installed new version V4 and activated it made the same error as V3. After that I uninstalled V3 an V4 an reinstalled again , it no solve the problem.
I'm sure that is no error in my programs because I have tried more than 20's projects (most gone to customers with no problems) and all of them I can't recompiling it. Message the same.
Also I have installed same c++ aplication compiler (trial version ) before the problems start, I'm not sure.
Thanks
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Problem with c compiler
Compile settings looks wrong to me.milea wrote: Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "C:\Program Files\Matrix Multimedia\Flowcode V3\Examples\SSSS_Test_SOl_2s1r2t3x7segLedV7.3_887_4mhzInternal.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC16F887 -la -c2 -o SSSS_Test_SOl_2s1r2t3x7segLedV7.3_887_4mhzInternal.pp -v -d _BOOSTC -d _PIC16
......................................................................................................................................................................................................................................................................
Return code = 259
If you look at Chip/Compiler options, You should have:
Linker/Assembler
Location:C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostlink.pic.exe
Parameters:-ld "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\lib" libc.pic16.lib flowcode.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f"
Programmer:
Location:C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe
Parameters:-cs 2 -chip PIC%p -nogui "%f.hex"
External Progrrammer:
Location:C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe
Parameters:--cs 2 -chip PIC%p -config
You could try clicking on Restore defaults within the Compiler Options
When you install V4, make sure that is also configured correctly.
See: http://www.matrixmultimedia.com/support ... f=22&t=683
Martin
Martin
Re: Problem with c compiler
I have checked the parametars of compile settings and all are OK. Also I have tryed clicking on Restore defaults within the Compiler Options before compiling. The result is the same.
I think that the problem is in some registry file or configuration file that is unchanged with standard unistalation of Flowcode. I known that if I format the PC and install a fresh copy of OS (Win7) and after that Flowcode will solve the problem, but when I remeber of the last formating hard disk I will try anything before doing format. Some suggestions?
Mile
I think that the problem is in some registry file or configuration file that is unchanged with standard unistalation of Flowcode. I known that if I format the PC and install a fresh copy of OS (Win7) and after that Flowcode will solve the problem, but when I remeber of the last formating hard disk I will try anything before doing format. Some suggestions?
Mile
Re: Problem with c compiler
Yes I try without dot. I repeat that "the files before more than month was compiled without error, send to chips without errors, working around without errors". Yesterday I installed Flowcode on my desktop PC (it also have the same c++ trial package that I think it made the problem on my laptop) and all is OK , all programs are compiled fine without errors.
I think that the problem is in some registry file or configuration file on my Laptop that is unchanged with standard unistalation of Flowcode.
Thanks
Mile
I think that the problem is in some registry file or configuration file on my Laptop that is unchanged with standard unistalation of Flowcode.
Thanks
Mile
- 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: Problem with c compiler
Hello,
BoostC sometimes crashes but remains in the process list, Try looking at your task manager to see if the boostc process is running. If it is there then try ending the task and then try compiling again. If this still fails then try uninstalling flowcode, deleting the entire contents of the Flowcode directory and then reinstall.
BoostC sometimes crashes but remains in the process list, Try looking at your task manager to see if the boostc process is running. If it is there then try ending the task and then try compiling again. If this still fails then try uninstalling flowcode, deleting the entire contents of the Flowcode directory and then reinstall.
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
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Problem with c compiler
Hi Mile,milea wrote:I have checked the parametars of compile settings and all are OK.
Sorry I was wrong, the long file name confused me a bit.
Hope you get it sorted soon.
Martin
Martin
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Problem with c compiler
Hi Mile. Please correct this if I am wrong, but this means thet the events, in order, were:
Compiled with v3
- No problems
Nothing changed
Compiled with v3
- Locked up
Installed v4
Kept default settings
Compiled with v4
- Locked up
Uninstalled v3 and v4
Reinstalled v3 and v4
Kept default settings
Compiled with v3
- Locked up
Is this correct? If not or if there are any other details that can be filled in to this timeline please let us know. I only ask as this does sound like it is probably a registry issue (or some other persistent data) and we may struggle to replicate this here.
Jonny
Compiled with v3
- No problems
Nothing changed
Compiled with v3
- Locked up
Installed v4
Kept default settings
Compiled with v4
- Locked up
Uninstalled v3 and v4
Reinstalled v3 and v4
Kept default settings
Compiled with v3
- Locked up
Is this correct? If not or if there are any other details that can be filled in to this timeline please let us know. I only ask as this does sound like it is probably a registry issue (or some other persistent data) and we may struggle to replicate this here.
Jonny
Re: Problem with c compiler
I uninstalled the Flowcode and completely delete the Matrix Mult. directory, after that installed again, nothing happened.
I haven't had any idea more (maybe install in another directory ).
the events, in order, were:
Compiled with v3
- No problems
Nothing changed ( installing another programs )
Compiled with v3
- Locked up
Installed v4
Kept default settings
Compiled with v4
- Locked up
Uninstalled v3 and v4
Reinstalled v3 and v4
Kept default settings
Compiled with v3
- Locked up
this is correct.
Mile
I haven't had any idea more (maybe install in another directory ).
the events, in order, were:
Compiled with v3
- No problems
Nothing changed ( installing another programs )
Compiled with v3
- Locked up
Installed v4
Kept default settings
Compiled with v4
- Locked up
Uninstalled v3 and v4
Reinstalled v3 and v4
Kept default settings
Compiled with v3
- Locked up
this is correct.
Mile
Re: Problem with c compiler
Hi folks ,
I realized that it’s not infinity loop but too long ( example with 1 diode test program more then 20 min), so I put in exclusion on BitDefender Antivirus all MatrixMult folder .
The problem is solved!!!! That antivirus I have more than 1 year. Why now it make problems? I don’t known.
Tomorrow I will check on chips.
Thanks to all
Mile
I realized that it’s not infinity loop but too long ( example with 1 diode test program more then 20 min), so I put in exclusion on BitDefender Antivirus all MatrixMult folder .
The problem is solved!!!! That antivirus I have more than 1 year. Why now it make problems? I don’t known.
Tomorrow I will check on chips.
Thanks to all
Mile
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Problem with c compiler
Thanks Mile.
I'm so glad you've solved the problem. We've seen problems similar to this in the past with other anti-virus software. On my old XP PC, I need to add exceptions for Flowcode in Windows Defender too.
Sometimes I think that anti-virus software causes more trouble that the viruses themselves!
I'm so glad you've solved the problem. We've seen problems similar to this in the past with other anti-virus software. On my old XP PC, I need to add exceptions for Flowcode in Windows Defender too.
Sometimes I think that anti-virus software causes more trouble that the viruses themselves!