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

most samples build failed in universal build: mnemonics.cpp and notifmsg had not been compiled #24523

Open
1 of 6 tasks
kipade opened this issue May 9, 2024 · 4 comments
Open
1 of 6 tasks
Labels
build Any build issue (with or without CMake) Univ wxUniversal port

Comments

@kipade
Copy link

kipade commented May 9, 2024

Build System Used

Slackware GNU/Linux x86_64

I build wxWidgets and/or my application using:

  • CMake
  • configure
  • mingw32-make with makefile.gcc
  • MSBuild (Microsoft Visual Studio solution file)
  • nmake with makefile.vc
  • Xcode

../configure --universal

Description

when all the sources were compiled successfully, almost all the samples do not compiled because of some link errors because mnemonics.cpp and notifmsg.cpp had not been included with the compile list. After adding it by hands, some samples can work ok, but some samples will link error again with lacking wxThemeUsegtk

Platform and version information

  • wxWidgets version you are building: git
  • wxWidgets port you are building: universal
  • OS and its version: Slackware GNU/Linux current, with plasma
  • Compiler being used: gcc 13.2
  • Non-default compiler options, if any :
@kipade kipade added the build Any build issue (with or without CMake) label May 9, 2024
@vadz
Copy link
Contributor

vadz commented May 9, 2024

Did you use --enable-universal, i.e. is there a typo in your configure command line? Normally you'd use --with-x11 under Linux, I am not even sure what does using --enable-universal without any other --with-foo option do, to be honest.

In any case, please be aware that wxUniv port is in unsupported/experimental/semi-abandoned state, so you should only use it if you intend to work on it.

@vadz vadz added the Univ wxUniversal port label May 9, 2024
@kipade
Copy link
Author

kipade commented May 10, 2024

Im sorry, there was a type error yesterday. I really ONLY use --enable-universal option yesterday.
And, I append --with-x11 still get the same error, even though I append --with-gtk.
Why I want to try wxUniv because I found the ribbon ui was outdated, compared with Qt, BonusSkins, etc.
There would be a new project in few days later, I do not to give up my lovely wx. I don't like Qt.

@vadz
Copy link
Contributor

vadz commented May 10, 2024

Using both --with-x11 and --with-gtk doesn't make sense (and should give an error ideally...), they're mutually exclusive.

Also, wxRibbon is implemented entirely in wx anyhow, so you can customize it relatively easily, no need to switch to wxUniv for this.

Anyhow, not much beyond the minimal sample will work with wxUniv currently.

@kipade
Copy link
Author

kipade commented May 13, 2024

I got it. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Any build issue (with or without CMake) Univ wxUniversal port
Projects
None yet
Development

No branches or pull requests

2 participants