Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Rendering is different in native and cross-compiled apps
Rendering is different in native and cross-compiled apps [message #61634] Wed, 02 April 2025 19:42 Go to next message
Novo is currently offline  Novo
Messages: 1430
Registered: December 2006
Ultimate Contributor
MacOS 10.15. Cross-compiled against SDK 10.15 on Linux.
Example of rendering:
index.php?t=getfile&id=7082&private=0

Example of rendering in app compiled on MacOS:

index.php?t=getfile&id=7083&private=0

COMMON_FLAGS = "POSIX BSD OSX";

A compiler declares itself as
Compiler: GCC Ubuntu Clang 19.1.1 (1ubuntu1) (64 bit) (C++17)


Is it possible to fix that?

TIA


Regards,
Novo
Re: Rendering is different in native and cross-compiled apps [message #61635 is a reply to message #61634] Wed, 02 April 2025 22:39 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
Relevant code CtrlCore/CocoApp.mm:98

I think there must be a problem with toolchain somehow...
Re: Rendering is different in native and cross-compiled apps [message #61638 is a reply to message #61635] Fri, 04 April 2025 21:49 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1430
Registered: December 2006
Ultimate Contributor
I've submitted a pull request which fixes cross-compilation for MacOS using osxcross.
It is supposed that a build method will use a compiler called x86_64-apple-darwin19-clang++-libc++ (or similar).
o64-XXX compiler names are not supported.
Building of GUI apps depends on a tool called icnsutil which replaces the Darwin iconutil. (Debian/Ubuntu package icnsutils)
It was currently tested only with the flag OSX.


Regards,
Novo
Re: Rendering is different in native and cross-compiled apps [message #61645 is a reply to message #61638] Sun, 13 April 2025 18:03 Go to previous message
Novo is currently offline  Novo
Messages: 1430
Registered: December 2006
Ultimate Contributor
Could you please merge this pull request?
It just enables MacOS-related code on all platforms and fixes name of a librarian. This is it. It won't break anything.
It is not very convenient to use a custom-built umk ...

TIA


Regards,
Novo
Previous Topic: Linking to a .net DLL ?
Goto Forum:
  


Current Time: Fri Apr 25 07:57:17 CEST 2025

Total time taken to generate the page: 0.01004 seconds