View Single Post
  #1   Spotlight this post!  
Unread 29-04-2013, 19:41
Toa Circuit's Avatar
Toa Circuit Toa Circuit is offline
Thaddeus Maximus
AKA: Thad Hughes
FRC #4213 (MetalCow Robotics)
Team Role: Leadership
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Shirley, IL
Posts: 131
Toa Circuit is an unknown quantity at this point
Unhappy cc1plus.exe dying

It seems that my cc1plus.exe is dying when I try to compile this code:

https://bitbucket.org/teammetalcow/2013offseason/src

The culprit is somewhere in Subsystems/Parts/CSV.h https://bitbucket.org/teammetalcow/2...V.h?at=default because when I don't include that file, everything compiles normally. Otherwise I get this:

Code:
Build Started in Project '2013OffSeason':   2013-04-29 18:37:12
Generation of makefiles started.
Generation of makefiles finished (Elapsed Time: 00:00).
Platform: Wind River VxWorks 6.3
Command: make --no-print-directory BUILD_SPEC=PPC603gnu DEBUG_MODE=1 TRACE=1
Working Directory: C:/WindRiver/workspace/2013OffSeason/PPC603gnu
if [ ! -d "`dirname "2013OffSeason_partialImage/Debug/Objects/2013OffSeason/2013OffSeason.o"`" ]; then mkdir -p "`dirname "2013OffSeason_partialImage/Debug/Objects/2013OffSeason/2013OffSeason.o"`"; fi;echo "building 2013OffSeason_partialImage/Debug/Objects/2013OffSeason/2013OffSeason.o"; ccppc -g -mcpu=603 -mstrict-align -mno-implicit-fp  -mlongcall -ansi -Wall  -MD -MP -mlongcall  -IC:/WindRiver/vxworks-6.3/target/h/WPILib -IC:/WindRiver/vxworks-6.3/target/h -IC:/WindRiver/vxworks-6.3/target/h/wrn/coreip   -DCPU=PPC603 -DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL    -o "2013OffSeason_partialImage/Debug/Objects/2013OffSeason/2013OffSeason.o" -c "C:/WindRiver/workspace/2013OffSeason/2013OffSeason.cpp"
building 2013OffSeason_partialImage/Debug/Objects/2013OffSeason/2013OffSeason.o
C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: *** [2013OffSeason_partialImage/Debug/Objects/2013OffSeason/2013OffSeason.o] Error 1
Build Failed in Project '2013OffSeason' (Process Exit Value was 2):   2013-04-29 18:37:19   (Elapsed Time: 00:06)
Along with a popup warning that cc1plus.exe has stopped responding.

Googling has done me no good. Any help???

Edit: Fixed it. (My posting here and then fixing my errors is getting ridiculous... but Ill leave this here for anyone who has this issue)
Somewhat related to this... http://lists.gnu.org/archive/html/bu.../msg00013.html
The issue was creating a large array. For some reason the compiler did not like that. (It was 256 elements long, now 20) So just shortened the array since I didn't really need that much, it fixed it.
__________________

2012 Head of Programming and Electrical
2013-14 Overall Team Captain and Programming Head
2012-14 Mentor of FLL Team Power Surge
2014 Dean's List Finalist
2014 CIR Xerox Creativity Award
Webpage

Last edited by Toa Circuit : 29-04-2013 at 21:46. Reason: Fixed problem
Reply With Quote