Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About art590

  • Rank
  1. Hello. I am wondering if "const int" or "static const int" class members are supported ? Compiles ok but linker doesn't seem to be able to resolve. I tried with both in class and out of class initialization. Any help would be much appreciated. ... success "C:\Program Files\SourceBoost\boostlink_picmicro.exe" -idx 1 /ld "C:\Program Files\SourceBoost\lib" libc.pic16.lib Debug\member_constant.obj /t PIC16F84 /d "Debug" /p member_constant Error: Failed to resolve external:Foo$a Error: Failed to resolve external:Foo$a BoostLink Optimizing Linker Version 7.30 http://www.sourceboost.com Copyright© 2004-2015 Pavel Baranov Copyright© 2004-2015 David Hobday failure Failed to locate output file 'Debug\member_constant.hex' Done Failed ----------------------------------------------------------------------------------- class Foo{ static const int a=0x08; public: int xPlus8(int x){ return (a+x); }; }; Foo foo; void main() { int res; res = foo.xPlus8(10); }
  2. Hello. Are there issues with file paths in mplabX and current SourceBoost C ? After compiling I keep getting this with SourceBoost but not with HiTec Pic C: success make[2]: Leaving directory `C:/projects/tst1.X' make[1]: Leaving directory `C:/projects/tst1.X' BUILD SUCCESSFUL (total time: 1s) Loading code from C:/projects/tst1.X/dist/default/production/tst1.X.production.cof... Loading symbols from C:/projects/tst1.X/dist/default/production/tst1.X.production.... The program file could not be loaded: java.lang.NullPointerException And when attempting debug, a dialog pops up with: "C:/projects/tst1.X/dist/default/debug/tst.X.debug. does not exist or is not an executable" It looks as if the file extensions are being truncated. I'm using MplabX 1.2 and SourceBoost 7.10 Any help appreciated. -Art
  • Create New...