Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linux platform to PythonFMX, show some warnings in case compile f… #39

Closed
wants to merge 1 commit into from

Conversation

peardox
Copy link

@peardox peardox commented Oct 30, 2022

…ails

  • Added warnings to PythonFMX.dpk for Linux to help the user resolve compilation issues - unsure how many versions this affect ATM
  • Removed bindcompfmx from PythonFMX.dpk linux via ifdef
  • Added Linux64 as a build for PythonFMX
  • Added warnings for Win64 and Android in case build fails (most likely under 11.2) - could make them version specific but they'll probably only get read if anything goes wrong amyway

@lmbelo
Copy link
Member

lmbelo commented Oct 31, 2022

Did you try it once at lest before doing the pull request? The IDE will remove the IFDEF as you perform changes in the project options.
As I said before, FMXLinux does NOT provide the fmx.dcp as part of theirs distribution. I have no idea how you get it there, must probably you have copied it from somewhere.

@lmbelo lmbelo closed this Oct 31, 2022
@peardox
Copy link
Author

peardox commented Oct 31, 2022

Fully tested and discovered the solution by trial and error. Google that specific piece of information then you can COPY IT FROM SOMEWHERE. Google has zero information on the subject.

As FMXLinux doesn't have a DCP they've supplied it as Redist/bplfmx280.so. Everything will appear to build properly but any FMX-dependant calls via Linux will fail without bplfmx280.so in your path. An alternate solution is to exclude both fmx and bindcompfmx from the dproj - this will implicitly bind 111 functions (a lot of warnings)

@lmbelo
Copy link
Member

lmbelo commented Oct 31, 2022

We can't simply add the compiler conditionals in the FMX library. How would the .so work for the Delphi projects relationship? I'm curious...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants