Jump to content


Photo

.obj Or .lib Different Clock Frequencies Specified


3 replies to this topic

#1 tom 2007

tom 2007

    Regular

  • EstablishedMember
  • Pip
  • 58 posts
  • Gender:Male

Posted 23 May 2010 - 04:35 PM

Hello

I'm trying to compile the picpack_2.0 usb serial example but this is what i get (target PIC18F4550):

Building...
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday




failure
Error: .obj or .lib different clock frequencies specified
Error: Failed to process:usb_serial.obj
Error: .obj or .lib different clock frequencies specified
Error: Failed to process:usb_config_serial.obj
Error: .obj or .lib different clock frequencies specified
Error: Failed to process:pic_usb_buffer_mgt.obj
Error: .obj or .lib different clock frequencies specified
Error: Failed to process:pic_serial.obj
"D:\program files\SourceBoost\boostlink.pic.exe" /ld "D:\program files\SourceBoost\lib" libc.pic18.lib ..\..\pic_pack_lib\pic_utils.obj ..\..\pic_pack_lib\pic_tick.obj ..\..\pic_pack_lib\pic_timer.obj usb_serial.obj usb_config_serial.obj ..\..\pic_pack_lib\usb_cdc_class.obj ..\..\pic_pack_lib\pic_usb_buffer_mgt.obj ..\..\pic_pack_lib\pic_usb.obj ..\..\pic_pack_lib\pic_serial.obj /t PIC18F4550 /d C:\Users\Tom\Documents\pic\picpack_2.0\demos\usb_serial /p usb_serial
Exit code was -2.
Removing target: usb_serial.hex
Failed to locate output file 'C:\Users\Tom\Documents\pic\picpack_2.0\demos\usb_serial\usb_serial.hex'
Done

Failed


#2 davidb

davidb

    Enthusiast

  • EstablishedMember
  • PipPip
  • 134 posts
  • Location:Essex, UK

Posted 23 May 2010 - 05:49 PM

Try recompiling the project first before building.

Regards

davidb

#3 tom 2007

tom 2007

    Regular

  • EstablishedMember
  • Pip
  • 58 posts
  • Gender:Male

Posted 23 May 2010 - 06:28 PM

seems to work now but it says "license exeeded by RAM" so i guess i will have to buy a license first :(

#4 Ian Harris

Ian Harris

    Regular

  • EstablishedMember
  • Pip
  • 87 posts
  • Location:London, UK

Posted 02 June 2010 - 05:13 PM

Let me know how you go. It's a great compiler, with great support.

cheers
Ian.


seems to work now but it says "license exeeded by RAM" so i guess i will have to buy a license first ;)





Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users