Jump to content
Sign in to follow this  
ChrisH

Pp.exe Crashes All The Time On Win7 64bit Machine

Recommended Posts

HI I have been using a v6 version of boostc for a few years and until tonight I have had no problems. I have just installed the latest version on my laptop in order to use a PPIC16F1829 part but now I am dead in the water as pp.exe creates and eror every time I try to build my project the line it is running is

 

Clean: Deleting intermediary and output files.

Clean: Done.

Executing: "C:\Program Files (x86)\SourceBoost\boostc_pic16.exe" SER_to_SPI_2.c -O1 -W1 -v -t 16F1829

BoostC Optimizing C Compiler Version 7.04 (for PIC16 architecture)

http://www.sourceboost.com

Copyright© 2004-2011 Pavel Baranov

Copyright© 2004-2011 David Hobday

 

Single user Lite License (Unregistered) for 0 node(s)

Limitations: PIC12,PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only

 

 

SER_to_SPI_2.c

Starting preprocessor: "C:\Program Files (x86)\SourceBoost\pp.exe" SER_to_SPI_2.c -i "C:\Program Files (x86)\SourceBoost\include" -d _PIC16F1829 -la -c2 -o SER_to_SPI_2.pp -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX

 

Error: preprocessing error

 

failure

BUILD FAILED: Wed Sep 07 22:21:35 2011

 

I though this would be a fairly easy exercise but :-( my cource code reads

 

void main(void) {

}

 

I have not bought an upgrade to v7 yet as I thought I would get the thing compiling then upgrade.

 

 

HELP HELP HELP

 

ASAP Please

Share this post


Link to post
Share on other sites
HI I have been using a v6 version of boostc for a few years and until tonight I have had no problems. I have just installed the latest version on my laptop in order to use a PPIC16F1829 part but now I am dead in the water as pp.exe creates and eror every time I try to build my project the line it is running is

 

Clean: Deleting intermediary and output files.

Clean: Done.

Executing: "C:\Program Files (x86)\SourceBoost\boostc_pic16.exe" SER_to_SPI_2.c -O1 -W1 -v -t 16F1829

BoostC Optimizing C Compiler Version 7.04 (for PIC16 architecture)

http://www.sourceboost.com

Copyright© 2004-2011 Pavel Baranov

Copyright© 2004-2011 David Hobday

 

Single user Lite License (Unregistered) for 0 node(s)

Limitations: PIC12,PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only

 

 

SER_to_SPI_2.c

Starting preprocessor: "C:\Program Files (x86)\SourceBoost\pp.exe" SER_to_SPI_2.c -i "C:\Program Files (x86)\SourceBoost\include" -d _PIC16F1829 -la -c2 -o SER_to_SPI_2.pp -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX

 

Error: preprocessing error

 

failure

BUILD FAILED: Wed Sep 07 22:21:35 2011

 

I though this would be a fairly easy exercise but :-( my cource code reads

 

void main(void) {

}

 

I have not bought an upgrade to v7 yet as I thought I would get the thing compiling then upgrade.

 

 

HELP HELP HELP

 

ASAP Please

Have you tried running pp.exe from a command line prompt?

It maybe your anti-virus software has quarantined this file?

 

I'm running Win 7 64bit and don't see any problems.

 

Regards

Dave

Share this post


Link to post
Share on other sites

HI,

 

Thanks for the quick response.

 

Yes I tried using the command line and it still did the same thing.

 

I have solved the problem.

 

I turned out to be my comments. I did not include them in the code snippet I sent as I assumed them to be totally irrelavent.

 

In moving my app from v6 to v7 I commented out the whole app apart from the main() part just to get the tool chain tested.

 

pp.exe just does not seem to like very large blocks of code commented out with /* */ must be an overflow thing. When I deleted the LARGE comment block (700 lines) all came to life

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...