* * *

Author Topic: Fpcupdeluxe  (Read 240940 times)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6504
Re: Fpcupdeluxe
« Reply #780 on: March 05, 2018, 06:37:39 pm »

Thank you very much! This is the second part of my post. And what about 32-bit compilation and error messages?
Quote
Error: Error while linking

Right click on the message, turn off all filters.

Renat.Su

  • Jr. Member
  • **
  • Posts: 70
    • Renat.Su
Re: Fpcupdeluxe
« Reply #781 on: March 05, 2018, 07:59:55 pm »
Right click on the message, turn off all filters.
Thank you so much! I did not find such a menu item, but it seems understood to what you said it. Despite this fatal message, the application for i386 seems really compiled
P.S. No,  compiled with errors ((
« Last Edit: March 06, 2018, 10:23:05 pm by Renat.Su »

Renat.Su

  • Jr. Member
  • **
  • Posts: 70
    • Renat.Su
Re: Fpcupdeluxe
« Reply #782 on: March 05, 2018, 10:49:17 pm »
@Renat.Su

I just did a fresh install on Ubuntu of cross Darwin i386/x86_64.
And could compile without any problem for both architectures.
(I always use build-modes: see included screenshot)

Do you use anything special in your project ?
Thank you! On the advice above I did almost the same as you have on the screenshot. So, only the error remained "Error: Error while linking"... But I noticed that after all the project compiled despite this error. The error nevertheless is present at compilation.
I tried on an empty project: the same error
« Last Edit: March 05, 2018, 10:51:07 pm by Renat.Su »

avra

  • Hero Member
  • *****
  • Posts: 1353
    • Additional info
Re: Fpcupdeluxe
« Reply #783 on: March 06, 2018, 11:55:35 am »
@DonAlfredo:

https://forum.lazarus.freepascal.org/index.php/topic,34645.msg278295.html#msg278295
As you can see I have found a workaround, but if you think that I can do anything to assist solving this please say so.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

DonAlfredo

  • Hero Member
  • *****
  • Posts: 948
Re: Fpcupdeluxe
« Reply #784 on: March 06, 2018, 12:23:31 pm »
@avra

Thanks !
I am currently working on a new release that should solve the reported problems.
Its all due to a FPC source patch by me that should enable the use of alternative ssl libs. But this does not work as expected. Will try something different.

Renat.Su

  • Jr. Member
  • **
  • Posts: 70
    • Renat.Su
Re: Fpcupdeluxe
« Reply #785 on: March 06, 2018, 10:30:17 pm »

Thank you very much! This is the second part of my post. And what about 32-bit compilation and error messages?
Quote
Error: Error while linking

Right click on the message, turn off all filters.
Here I give here a conclusion for an empty project.
Ubuntu Target: Darwin/x86-84 widjet: cocoa.
Code: [Select]
Compile Project, OS: darwin, Target: project1: Exit code 256, Errors: 1, Hints: 2
Hint: Start of reading config file /home/suleymanovs/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg
Debug: Warning: (11047) Option "-Xr" is ignored for the current target platform.
Hint: End of reading config file /home/suleymanovs/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg
Verbose: Free Pascal Compiler version 3.0.4-r37149 [2018/03/02] for x86_64
Verbose: Copyright (c) 1993-2017 by Florian Klaempfl and others
Verbose: Target OS: Darwin for x86_64
Verbose: Compiling project1.lpr
Verbose: Compiling unit1.pas
Debug: clang: warning: argument unused during compilation: '-mlinker-version=264.3.102'
Debug: clang: warning: argument unused during compilation: '-isystem /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include'
Debug: clang: warning: argument unused during compilation: '-cxx-isystem /home/suleymanovs/fpcupdeluxe/cross/bin/x86-darwin/../../lib/x86-darwin/MacOSX10.11.sdk/usr/include/c++/4.2.1'
Debug: clang: warning: argument unused during compilation: '-cxx-isystem /home/suleymanovs/fpcupdeluxe/cross/bin/x86-darwin/../../lib/x86-darwin/MacOSX10.11.sdk/usr/include/c++/4.2.1/x86_64-apple-darwin15'
Debug: clang: warning: argument unused during compilation: '-cxx-isystem /home/suleymanovs/fpcupdeluxe/cross/bin/x86-darwin/../../lib/x86-darwin/MacOSX10.11.sdk/usr/include/c++/4.2.1/backward'
Debug: clang: warning: argument unused during compilation: '-mlinker-version=264.3.102'
Debug: clang: warning: argument unused during compilation: '-isystem /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include'
Debug: clang: warning: argument unused during compilation: '-cxx-isystem /home/suleymanovs/fpcupdeluxe/cross/bin/x86-darwin/../../lib/x86-darwin/MacOSX10.11.sdk/usr/include/c++/4.2.1'
Debug: clang: warning: argument unused during compilation: '-cxx-isystem /home/suleymanovs/fpcupdeluxe/cross/bin/x86-darwin/../../lib/x86-darwin/MacOSX10.11.sdk/usr/include/c++/4.2.1/x86_64-apple-darwin15'
Debug: clang: warning: argument unused during compilation: '-cxx-isystem /home/suleymanovs/fpcupdeluxe/cross/bin/x86-darwin/../../lib/x86-darwin/MacOSX10.11.sdk/usr/include/c++/4.2.1/backward'
Verbose: Assembling (pipe) /home/suleymanovs/Документы/hello/lib/x86_64-darwin/unit1.s
Verbose: Assembling (pipe) /home/suleymanovs/Документы/hello/lib/x86_64-darwin/project1.s
Verbose: Compiling resource /home/suleymanovs/Документы/hello/lib/x86_64-darwin/project1.or
Verbose: Linking project1
ld: file not found: /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation for architecture x86_64
An error occurred while linking
project1.lpr(22,0) Error: Error while linking
project1.lpr(22,0) Verbose: There were 1 errors compiling module, stopping
Verbose: Compilation aborted
Verbose: /home/suleymanovs/fpcupdeluxe/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode

DonAlfredo

  • Hero Member
  • *****
  • Posts: 948
Re: Fpcupdeluxe
« Reply #786 on: March 06, 2018, 10:41:27 pm »
Code: Pascal  [Select]
  1. /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
Is this file present or not ?
See:
./cross/lib/x86-darwin/MacOSX10.11.sdk/System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tdb

lainz

  • Hero Member
  • *****
  • Posts: 2827
    • Home
Re: Fpcupdeluxe
« Reply #787 on: March 07, 2018, 10:58:08 pm »
Hi, I get this error (cross compiling Win64 to Linux64):

C:\fpcupdeluxe\cross\bin\x86_64-linux\x86_64-linux-ld.exe: cannot find -lpangocairo-1.0

I have the propper lib folder

C:\fpcupdeluxe\cross\lib\x86_64-linux

libpango-1.0.so
libpango-1.0.so.0
libpangocairo-1.0.so.0

The project have the lib folder for the build mode linux-x64.

Any ideas?
« Last Edit: March 08, 2018, 12:31:49 am by lainz »

Renat.Su

  • Jr. Member
  • **
  • Posts: 70
    • Renat.Su
Re: Fpcupdeluxe
« Reply #788 on: March 08, 2018, 06:53:50 am »
Code: Pascal  [Select]
  1. /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
Is this file present or not ?
See:
./cross/lib/x86-darwin/MacOSX10.11.sdk/System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tdb
No. In folder ./cross/lib/x86-darwin/MacOSX10.11.sdk/System is not present 'PrivateFrameworks' folder but 3 other folder exists: CoreServices, Frameworks, Printers. Just in case, I will say that there is no folder UIFoundation.framework in the folder /cross/lib/x86-darwin/MacOSX10.11.sdk/System/Library/Frameworks/

DonAlfredo

  • Hero Member
  • *****
  • Posts: 948
Re: Fpcupdeluxe
« Reply #789 on: March 08, 2018, 07:17:15 am »
@Renat.Su

Few weeks ago, the Darwin libs that were made available were missing the PrivateFrameworks folder. This has been corrected in the meantime.

Please get the new libs here:
https://github.com/newpascal/fpcupdeluxe/releases/download/crosslibs_v1.1/CrossLibsDarwinx86.zip

Sorry for the inconvenience.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 948
Re: Fpcupdeluxe
« Reply #790 on: March 08, 2018, 07:21:35 am »
@lainz

Strange error.
Quote
C:\fpcupdeluxe\cross\bin\x86_64-linux\x86_64-linux-ld.exe: cannot find -lpangocairo-1.0

Would you mind trying to copy "libpangocairo-1.0.so.0" to "libpangocairo-1.0.so" ?

lainz

  • Hero Member
  • *****
  • Posts: 2827
    • Home
Re: Fpcupdeluxe
« Reply #791 on: March 08, 2018, 01:05:26 pm »
@lainz

Strange error.
Quote
C:\fpcupdeluxe\cross\bin\x86_64-linux\x86_64-linux-ld.exe: cannot find -lpangocairo-1.0

Would you mind trying to copy "libpangocairo-1.0.so.0" to "libpangocairo-1.0.so" ?

You're a genious!  :D

Thanks! It works fine!!!

Renat.Su

  • Jr. Member
  • **
  • Posts: 70
    • Renat.Su
Re: Fpcupdeluxe
« Reply #792 on: March 14, 2018, 08:39:46 am »
@Renat.Su

Few weeks ago, the Darwin libs that were made available were missing the PrivateFrameworks folder. This has been corrected in the meantime.

Please get the new libs here:
https://github.com/newpascal/fpcupdeluxe/releases/download/crosslibs_v1.1/CrossLibsDarwinx86.zip

Sorry for the inconvenience.
Awesome! Perfect! All compiled! Despite the fact that I've never even worked in the MacOS is up and running!

KevinOfOz

  • Newbie
  • Posts: 1
Re: Fpcupdeluxe
« Reply #793 on: March 16, 2018, 10:26:25 am »
Hi,

I have been using Fpcupdeluxe on a couple of different systems and it has made my life quite a bit easier. Thank you.

I need to build a mips-linux cross compiler, and although there is a [mips-linux] section in fpcudeluxe.ini, there is no option in the UI. Only the mipsel-linux option exists.

Is it possible for Fpcupdeluxe to build the mips-linux cross compiler?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 948
Re: Fpcupdeluxe
« Reply #794 on: March 17, 2018, 08:48:46 am »
Mips is not yet available.

However, it can be made available.

But I need the mips-libs.
If you provide the libs from your mips-system (on Google drive or alikes), then I can give it a try !

Edit:
and please provide the details of your mips CPU: what type and bit-size
« Last Edit: March 17, 2018, 08:56:27 am by DonAlfredo »

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus