ddr 0 Report post Posted December 13, 2013 I recently upgraded to 7.2 from 6.95. I needed to support several new PIC controllers and had to upgrade. After I upgraded none of new projects will link including my old 6.95 projects. I never had a problem linking with 6.95. It appears that the linker does not like spaces in files names. I suspect its a simple fix. Enclosed below is the link log. Notice there are no double quotes around the Debug\16F1825 IO v1.obj parameter Can anyone help me to resolve this problem? Thanks. Building... "C:\Program Files\SourceBoost\boostlink_picmicro.exe" -idx 1 /ld "C:\Program Files\SourceBoost\lib" libc.pic16x.lib Debug\16F1825 IO v1.obj Debug\Power Meter v1.obj /t PIC16F1825 /d "Debug" /p "Power Meter v1" Error: Failed to open:16F1825. Error: Failed to open:IO. Error: Failed to open:v1.obj Error: Failed to open:Power. Error: Failed to open:Meter. Error: Failed to open:v1.obj BoostLink Optimizing Linker Version 7.20 http://www.sourceboost.com Copyright© 2004-2013 Pavel Baranov Copyright© 2004-2013 David Hobday failure error: failed Failed to locate output file 'Debug\Power Meter v1.hex' Done Failed Quote Share this post Link to post Share on other sites
Reynard 0 Report post Posted December 14, 2013 I find that spaces are not liked for source and header files etc. Change your spaces to underscore or something. You can use spaces in directoriy, workspace and project names though and Sourceboost will create output files which include spaces in them. Don't try and link in old (V6) object files with new (V7) linker. Recompile. Cheers Reynard Quote Share this post Link to post Share on other sites
robotchen 0 Report post Posted December 30, 2013 I have problem when link the files. The linker fails with error message " failure Internal Error: Var not found id:0x10000D03:0x009:0x00000420 Done " and here is the whole message Anyone could tell me what can I do ? ========================================== Linking... C:\Applications\SourceBoost721rc7\boostlink_picmicro.exe -idx 1 /ld C:\Applications\SourceBoost721rc7\lib libc.pic16x.lib Release\pinchBoost31.obj Release\pinch_main31.obj ..\..\..\..\Applications\SourceBoost\SourceBoost\Lib\adc.pic16x.lib ..\..\..\..\Applications\SourceBoost\SourceBoost\Lib\eeprom.pic16x.lib /t PIC16F1827 -o1 /d "Release" /p CodeGen31 BoostLink Optimizing Linker Version 7.21 http://www.sourceboost.com Copyright© 2004-2013 Pavel Baranov Copyright© 2004-2013 David Hobday Optimisation level:1 Warning unreferenced functions removed: RecordRead in: C:\Users\Sony\workspace\CodeGenTest2\pichardware31.c failure Internal Error: Var not found id:0x10000D03:0x009:0x00000420 Done Quote Share this post Link to post Share on other sites
JorgeF 0 Report post Posted December 30, 2013 (edited) Hi It looks like you have one variable declared but not defined. So the compiler doesn't complain when it is used (referenced) but latter the linker can't find it in noneof the source files. In a nutshell you have somewere an "extern <vartype> <varname>" declaration but you are missing the corresponding "<vartype> <varname>" definition. HIH Best regards Jorge Edited December 30, 2013 by JorgeF Quote Share this post Link to post Share on other sites
robotchen 0 Report post Posted January 1, 2014 (edited) Dear Jorge, Thank a lot. Do you have any suggestion as how to locate this error. The linker does not give any message to indicate the missing variable. Happy New Year Chen Edited January 1, 2014 by robotchen Quote Share this post Link to post Share on other sites
Dave 0 Report post Posted January 2, 2014 Chen, I have problem when link the files. The linker fails with error message " failure Internal Error: Var not found id:0x10000D03:0x009:0x00000420 Done " and here is the whole message Anyone could tell me what can I do ? ========================================== Linking... C:\Applications\SourceBoost721rc7\boostlink_picmicro.exe -idx 1 /ld C:\Applications\SourceBoost721rc7\lib libc.pic16x.lib Release\pinchBoost31.obj Release\pinch_main31.obj ..\..\..\..\Applications\SourceBoost\SourceBoost\Lib\adc.pic16x.lib ..\..\..\..\Applications\SourceBoost\SourceBoost\Lib\eeprom.pic16x.lib /t PIC16F1827 -o1 /d "Release" /p CodeGen31 BoostLink Optimizing Linker Version 7.21 http://www.sourceboost.com Copyright© 2004-2013 Pavel Baranov Copyright© 2004-2013 David Hobday Optimisation level:1 Warning unreferenced functions removed: RecordRead in: C:\Users\Sony\workspace\CodeGenTest2\pichardware31.c failure Internal Error: Var not found id:0x10000D03:0x009:0x00000420 Done This is an Internal Error, ie something gone wrong between compiler and linker - which may or may not be a problem in your code. To reproduce this problem we could really do with a simplified project that builds and demonstrates the problem. Please send to support@sourceboost.com Regards Dave Quote Share this post Link to post Share on other sites
JorgeF 0 Report post Posted January 2, 2014 Hi Right. I just made a few test around my previous suggestion and noticed that the error for a misisng declaration is different. But Dave alredy took care of it, so I'll shut up and listen. Best regards Jorge Quote Share this post Link to post Share on other sites