Jump to content
artan

Build Failed

Recommended Posts

artan    0

Hello to everybody.

 

I have started a project using BoostC compiler and Novo RTOS in mplab 8.84 ide.

When i compile everything is fine, but when it has to build it just says " Build failed"

without an error.

 

Anybody has any idea what should be?

 

Here is the output:

 

Clean: Deleting intermediary and output files.

Clean: Done.

Executing: "D:\Program Files\SourceBoost\boostc_pic18.exe" main.c -O1 -W1 -v -t 18F8722

BoostC Optimizing C Compiler Version 6.97 (for PIC18 architecture)

http://www.sourceboost.com

Copyright© 2004-2010 Pavel Baranov

Copyright© 2004-2010 David Hobday

 

Licensed to xxxx xxxxxxx under Single user Pro License for 1 node(s)

Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimited

 

 

main.c

Starting preprocessor: "D:\Program Files\SourceBoost\pp.exe" "D:\Documents and Settings\xxxxxx\Desktop\prova xxxx 6\main.c" -i "D:\Program Files\SourceBoost\include" -d _PIC18F8722 -la -c2 -o "D:\Documents and Settings\xxxxxx\Desktop\prova xxxx 6\main.pp" -v -d _BOOSTC -d _PIC18 -d _CHAR_INDEX

 

main.c success

 

success

BUILD FAILED: Tue Apr 30 12:02:30 2013

Share this post


Link to post
Share on other sites
Dave    0

artan,

 

I have started a project using BoostC compiler and Novo RTOS in mplab 8.84 ide.

When i compile everything is fine, but when it has to build it just says " Build failed"

without an error.

 

Anybody has any idea what should be?

It's a bit strange, its not getting as far as linking, so it looks like the compiler is croaking.

What happens if you exclude NOVO RTOS and compile you code?

Can you compile a simple project with nothing more than just a main() function ?

 

I hope that helps.

 

Regards

Dave

Share this post


Link to post
Share on other sites
artan    0

artan,

 

I have started a project using BoostC compiler and Novo RTOS in mplab 8.84 ide.

When i compile everything is fine, but when it has to build it just says " Build failed"

without an error.

 

Anybody has any idea what should be?

It's a bit strange, its not getting as far as linking, so it looks like the compiler is croaking.

What happens if you exclude NOVO RTOS and compile you code?

Can you compile a simple project with nothing more than just a main() function ?

 

I hope that helps.

 

Regards

Dave

 

 

Hello Dave

 

I have tried building with sourceboost 6.96 and the output error message is:

 

Building...

BoostLink Optimizing Linker Version 6.97

http://www.sourceboost.com

Copyright© 2004-2010 Pavel Baranov

Copyright© 2004-2010 David Hobday

 

 

 

 

failure

Bytes:0x00 0x00 0x04 0x01 0x00 0x19 0x00 0x00 0x00 0x24 0x00 0x45 0x3A 0x5C 0x50 0x72 0x67 0x5C 0x63 0x6F 0x6D 0x70 0x69 0x6C 0x65 0x72 0x2E 0x36 0x5C 0x70 0x69 0x63

.obj file error:Expected FILE_SECTION"D:\Program Files\SourceBoost\boostlink_pic.exe" /ld "D:\Program Files\SourceBoost\lib" libc.pic18.lib main.obj eeprom.pic18.lib flash.pic18.lib float.pic18.lib libc.pic18.lib libMath.lib novolib_pic18t5e2ts2.lib /t PIC18F8722 /d "D:\Documents and Settings\Artan\Desktop\prova 7" /p "prova 7" -swcs -rb 0x200

Exit code was -2.

Removing target: prova 7.hex

Failed to locate output file 'D:\Documents and Settings\Artan\Desktop\prova 7\prova 7.hex'

Done

 

Failed

 

If you have an email i can send to you the entire project folder so maybe you can see what's wrong.

I think the Extra linker options settings has something wrong.

 

regards

Share this post


Link to post
Share on other sites
Dave    0

Artan,

Hello Dave

 

I have tried building with sourceboost 6.96...

Please try building with the latest release version (SourceBoost V7.11), and let us know the result.

 

Regards

Dave

Share this post


Link to post
Share on other sites
artan    0

Artan,

Hello Dave

 

I have tried building with sourceboost 6.96...

Please try building with the latest release version (SourceBoost V7.11), and let us know the result.

 

Regards

Dave

 

 

Hello Dave

 

If i use the 7.11 version compiler i get:

 

Building...

"C:\Program Files\SourceBoost\boostc_pic18.exe" main.c -t PIC18F8722 -idx 1 -obj Debug -d _DEBUG

BoostC Optimizing C Compiler Version 7.11 (for PIC18 architecture)

http://www.sourceboost.com

Copyright© 2004-2013 Pavel Baranov

Copyright© 2004-2013 David Hobday

 

Licensed to xxxx xxxx under Single user Pro License for 1 node(s)

Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimited

 

 

main.c

 

success

"C:\Program Files\SourceBoost\boostlink_picmicro.exe" -idx 1 /ld "C:\Program Files\SourceBoost\lib" libc.pic18.lib Debug\main.obj eeprom.pic18.lib flash.pic18.lib float.pic18.lib libMath.lib libc.pic18.lib novolib_pic18t5e2ts2.lib /t PIC18F8722 -swcs -rb 0x200 /d "Debug" /p "prova 7"

Error: .obj or .lib file Incompatible version! (file uses V111, linker requires V113 to V113)

Error: Failed to process:libc.pic18.lib

Error: .obj or .lib file Incompatible version! (file uses V111, linker requires V113 to V113)

Error: Failed to process:eeprom.pic18.lib

Error: .obj or .lib file Incompatible version! (file uses V111, linker requires V113 to V113)

Error: Failed to process:flash.pic18.lib

Error: .obj or .lib file Incompatible version! (file uses V111, linker requires V113 to V113)

Error: Failed to process:float.pic18.lib

Error: .obj or .lib file Incompatible version! (file uses V111, linker requires V113 to V113)

Error: Failed to process:libMath.lib

Error: .obj or .lib file Incompatible version! (file uses V111, linker requires V113 to V113)

Error: Failed to process:libc.pic18.lib

Error: .obj or .lib file Incompatible version! (file uses V111, linker requires V113 to V113)

Error: Failed to process:novolib_pic18t5e2ts2.lib

BoostLink Optimizing Linker Version 7.11

http://www.sourceboost.com

Copyright© 2004-2013 Pavel Baranov

Copyright© 2004-2013 David Hobday

 

 

 

 

failure

error: failed

Failed to locate output file 'Debug\prova 7.hex'

Done

 

Failed

 

I got this error before too, this is why i installed the 6.96 version.

I don't understad what the Vxxx is.

Share this post


Link to post
Share on other sites
Dave    0

Artan,

 

You need to change the projet to use ths libraries supplied as part of the latest Boostc compiler.

The old library files are incompatible with the latest version of the compiler.

 

Regards

Dave

Share this post


Link to post
Share on other sites
artan    0

Artan,

 

You need to change the projet to use ths libraries supplied as part of the latest Boostc compiler.

The old library files are incompatible with the latest version of the compiler.

 

Regards

Dave

Thank You Dave

I will try to do so but the problem is that in the lates version of the compiler

i can not find the libMath.lib.

The novolib_pic18t5e2ts2.lib is a custom library. I need to recreate this library with the new compiler. The fact is

that i have tried to do so but i had no result. Could you explain me how to build a new novo lib step by step (the manual is not very clear

on that).

 

best regards

Share this post


Link to post
Share on other sites
Dave    0

I will try to do so but the problem is that in the lates version of the compiler

i can not find the libMath.lib.

What is in this library and where did it come from?

 

The novolib_pic18t5e2ts2.lib is a custom library. I need to recreate this library with the new compiler. The fact is

that i have tried to do so but i had no result. Could you explain me how to build a new novo lib step by step (the manual is not very clear

on that).

To build a custom library you need to have all the Novo the source code - do you have it?

Included with it are some stand alone projects that do different Novo builds. I would copy one of those and make the required changes.

 

Regards

Dave

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum 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...

×