Recent

Author Topic: Unit Exist twice. Which one is good?  (Read 781 times)

AL

  • Sr. Member
  • ****
  • Posts: 261
Unit Exist twice. Which one is good?
« on: January 27, 2020, 07:33:41 pm »
The compiler give me a warning about double ppu.
Which one is good?  How to solve this.
This is when cross-compiling Win10 to Darwin.

Thanks

HINT: using config file C:\Lazarus\fpc\bin\x86_64-win64\fpc.cfg
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\univint\Dialogs.ppu, C:\Lazarus\fpc\units\x86_64-darwin\fv\dialogs.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\univint\Menus.ppu, C:\Lazarus\fpc\units\x86_64-darwin\fv\menus.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\fv\dialogs.ppu, C:\Lazarus\lazarus\lcl\units\x86_64-darwin\dialogs.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\fv\menus.ppu, C:\Lazarus\lazarus\lcl\units\x86_64-darwin\menus.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\univint\Controls.ppu, C:\Lazarus\lazarus\lcl\units\x86_64-darwin\controls.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\univint\Dialogs.ppu, C:\Lazarus\lazarus\lcl\units\x86_64-darwin\dialogs.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\univint\Menus.ppu, C:\Lazarus\lazarus\lcl\units\x86_64-darwin\menus.ppu

Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

Leledumbo

  • Hero Member
  • *****
  • Posts: 8747
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Unit Exist twice. Which one is good?
« Reply #1 on: January 29, 2020, 07:07:09 am »
fv is Free Vision, they do have colliding unit names with univint package. Unlikely you will be using the former when you code in Lazarus.

 

TinyPortal © 2005-2018