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
Can't build with clang on FreeBSD #1416
Comments
What CLI command(s) are you using to do the build? |
@RobinD42 I didn't use CLI directly since I create a port (like rewrinting a makefile upper the software). My works is currently here. port with LLVM/CLANGThe errors in my previous comment are the result of my try to compile wxPython with clang. port with GCC9With GCC9 it compiles, but I have an error when I run programms like wxdemo:
Tests from CLI
|
First, to make things easier you can use a source tarball rather than a checkout from git. Then you won't need to run the dox, etg, or sip commands, because all the generated source is included in the source tarball. Otherwise you'll need to jump through some extra hoops since we only maintain doxygen and sip binaries on the tools server for Windows, OSX, and Linux.
|
Yes, I read that is the recommended way, so I use already tar.gz for my ports. The problems reported in the issue, are obtained with the source tarball. If I compile my ports with GCC it builds, but there is a link error.
Thank you, I forgot to add DOXYGEN/SIP env. But I have a new issue.
FYI I use wx widgets from my system. Version 3.0.4.0 with Gtk3 and Unicode. |
Okay, thanks for the clarifications. The error indicates that the script was unable to find the method If the problem persists then take a closer look at doxygen. Is it the correct version? ISTR that there were lots of unexpected changes in output the last time we did a micro version update of Doxygen. |
OK. It's a segmentation fault with Doxygen... our version is doxygen-1.8.15 I'll look at this. |
Doxygen crashes with GENERATE_XML, not with GENERATE_HTML for example |
Try with doxygen 1.8.8, or switch back to using a source tarball instead of a git checkout. If you want to use a current (unreleased) source archive then you can get them from https://wxpython.org/Phoenix/snapshot-builds/ |
Although, those are only done for the master branch currently. |
I found the solution. LLVM is happy with |
Ok, thanks. That's an easy fix to make. |
I can prepare the patch for sip/gen/propgridiface.sip |
Those files are generated by the build. |
Thank you. |
Operating system: FreeBSD
wxPython version & source: wxPython 4.0.6 from github. I'm trying to create a FreeBSD package
Python version & source: python 3.6.9
Description of the problem:
First error
But wxWidgets is compiled with Gtk3 and unicode support.
By removing, the ifdef on this file and ohters. I can build until this issue:
I can create a CI with Cirrus-CI if you want.
Thank you.
The text was updated successfully, but these errors were encountered: