Recent

Author Topic: (solved) Compiling Errors with trunk  (Read 3730 times)

bill0287

  • Full Member
  • ***
  • Posts: 146
(solved) Compiling Errors with trunk
« on: January 13, 2014, 06:56:21 pm »
I don't know where else to post this, but i used fpcup to download the trunk (26445 / 43719) this morning and when I opened a test project and tried to compile it I these errors:

PPU Loading C:\development\fpctrunk\units\i386-win32\rtl\variants.ppu
PPU Source: variants.pp not available
Recompiling variants, checksum changed for System
registerfcl.pas(0,0) Fatal: Can not find variants used by db, ppu=..\..\..\fpctrunk\units\i386-win32\rtl-objpas\variants.ppu

Any ideas?
« Last Edit: January 13, 2014, 08:29:14 pm by bill0287 »

BlueIcaro

  • Hero Member
  • *****
  • Posts: 834
    • Blog personal
Re: Compiling Errors with trunk
« Reply #1 on: January 13, 2014, 07:03:37 pm »
Try to recompile the IDE

/BlueIcaro

bill0287

  • Full Member
  • ***
  • Posts: 146
Re: Compiling Errors with trunk
« Reply #2 on: January 13, 2014, 07:18:32 pm »
I tried Tool > Build Lazarus with Profile: Normal IDE and it created the same set of errors.

Is there another way to do that?

hinst

  • Sr. Member
  • ****
  • Posts: 303
Re: Compiling Errors with trunk
« Reply #3 on: January 13, 2014, 07:29:25 pm »
There was a very similar question on mailing list.
Later someone posted a a message which implied that this bug is already fixed now (so it existed less than 24 hours in fact); so right now it should be fixed. I suggest you check out FPC from subversion repository again
Too late to escape fate

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Compiling Errors with trunk
« Reply #4 on: January 13, 2014, 07:41:26 pm »
I'd suggest removing ppus etc:
http://wiki.lazarus.freepascal.org/fpcup#Troubleshooting
Edit: then of course run fpcup again; if that doesn't work, follow the other steps in the troubleshooting section etc
« Last Edit: January 13, 2014, 08:12:57 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

bill0287

  • Full Member
  • ***
  • Posts: 146
Re: Compiling Errors with trunk
« Reply #5 on: January 13, 2014, 08:28:35 pm »
I deleted all ppus from my development directory, ran fpcup_update, and now everything is okay again.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: (solved) Compiling Errors with trunk
« Reply #6 on: January 14, 2014, 01:03:17 am »
There was a structure change in trunk, there are now rtl, rtl-extra, rtl-objpas and the like. So you must delete previous units directories in order to avoid the compiler finding two different versions of the same unit.

 

TinyPortal © 2005-2018