Recent

Author Topic: (Solved) Illegal parameter: CpPENTIUM2  (Read 1991 times)

billb2050

  • Newbie
  • Posts: 5
(Solved) Illegal parameter: CpPENTIUM2
« on: December 23, 2023, 10:23:36 pm »
I saw that Lazarus 3.0 was available. So I installed it from the debs and wrote a simple Lazarus program. And I got "Error: Illegal parameter: CpPENTIUM2" when I tried to run it. I  tried to find some pentium option in the IDE, but didn't see any. So I grepped "PENTIUM2"and found and removed it from project1.compiled and project1.lpi. It then compiled and ran. Where is this option coming from? How do I change/remove it?
« Last Edit: December 28, 2023, 12:11:24 pm by billb2050 »

BSaidus

  • Hero Member
  • *****
  • Posts: 566
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Error: Illegal parameter: CpPENTIUM2
« Reply #1 on: December 23, 2023, 10:26:35 pm »
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

billb2050

  • Newbie
  • Posts: 5
Re: Error: Illegal parameter: CpPENTIUM2
« Reply #2 on: December 25, 2023, 03:26:55 pm »
I have updated to v3.0 and it didn't fix the problem. This is a new project. And I've set no options. I only pressed the green play triangle. If I remove '<TargetProcessor Value="pentium2"/>' from the LPI...it runs fine!

tetrastes

  • Hero Member
  • *****
  • Posts: 517
Re: Error: Illegal parameter: CpPENTIUM2
« Reply #3 on: December 25, 2023, 08:35:04 pm »
Did you delete ~/.lazarus folder before running new Lazarus?

billb2050

  • Newbie
  • Posts: 5
(Solved) Error: Illegal parameter: CpPENTIUM2
« Reply #4 on: December 28, 2023, 11:03:42 am »
That worked. Thank you!

 

TinyPortal © 2005-2018