-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[wxwidgets] Build error #26256
Comments
Thanks for posting this issue, please install the system libraries by the following message.
|
Thanks for your response Lily - I already had tried that with the same
result:
***@***.***:~/Sources/THEOS$ sudo apt-get install pkg-config
libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
pkg-config is already the newest version (0.29.1-0ubuntu4).
libgcrypt20-dev is already the newest version (1.8.5-5ubuntu1.1).
libgtk-3-dev is already the newest version (3.24.20-0ubuntu1.1).
libsecret-1-dev is already the newest version (0.20.4-0ubuntu1).
libsystemd-dev is already the newest version (245.4-4ubuntu3.17).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
***@***.***:~/Sources/THEOS$ ./3rdParty/vcpkg/vcpkg install
Detecting compiler hash for triplet x64-linux...
The following packages will be built and installed:
wxwidgets[core,debug-support,sound]:x64-linux -> 3.2.0
Restored 0 package(s) from /home/aschafhauser/.cache/vcpkg/archives in
4.485 us. Use --debug to see more details.
Installing 1/1 wxwidgets:x64-linux...
Building wxwidgets[core,debug-support,sound]:x64-linux...
-- Using cached wxWidgets-wxWidgets-v3.2.0.tar.gz.
-- Cleaning sources at
/home/aschafhauser/Sources/THEOS/3rdParty/vcpkg/buildtrees/wxwidgets/src/v3.2.0-8a0adfb316.clean.
Use --editable to skip cleaning for the packages you specify.
-- Extracting source
/home/aschafhauser/Sources/THEOS/3rdParty/vcpkg/downloads/wxWidgets-wxWidgets-v3.2.0.tar.gz
-- Applying patch install-layout.patch
-- Applying patch relocatable-wx-config.patch
-- Applying patch nanosvg-ext-depend.patch
-- Applying patch fix-libs-export.patch
-- Applying patch fix-pcre2.patch
-- Applying patch gtk3-link-libraries.patch
-- Using source at
/home/aschafhauser/Sources/THEOS/3rdParty/vcpkg/buildtrees/wxwidgets/src/v3.2.0-8a0adfb316.clean
CMake Warning at ports/wxwidgets/portfile.cmake:17 (message):
Port wxwidgets currently requires the following packages from the system
package manager:
pkg-config
GTK 3
libsecret
libgcrypt
libsystemd
These development packages can be installed on Ubuntu systems via
sudo apt-get install pkg-config libgtk-3-dev libsecret-1-dev
libgcrypt20-dev libsystemd-dev
Call Stack (most recent call first):
scripts/ports.cmake:147 (include)
CMake Error at ports/wxwidgets/portfile.cmake:29 (message):
Port freetype must not be installed when building wxwidgets:x64-linux.
Call Stack (most recent call first):
scripts/ports.cmake:147 (include)
error: building wxwidgets:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest port files with `git pull` and `vcpkg
update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+wxwidgets
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[wxwidgets]+Build+error
Include '[wxwidgets] Build error' in your bug report title, the following
version information in your bug description, and attach any relevant
failure logs from above.
vcpkg-tool version: 2022-07-21-a0e87e227afb536c62188c11ad029954f28fdb22
vcpkg-scripts version: 66045de 2022-07-29 (11 days ago)
You can also use the prefilled template from
/home/aschafhauser/Sources/THEOS/vcpkg_installed/vcpkg/issue_body.md.
Best,
Andres
…On Tue, Aug 9, 2022 at 8:02 PM Lily Wang ***@***.***> wrote:
Thanks for posting this issue, please install the system libraries by the
following message.
Port wxwidgets currently requires the following packages from the system
package manager:
pkg-config
GTK 3
libsecret
libgcrypt
libsystemd
These development packages can be installed on Ubuntu systems via
sudo apt-get install pkg-config libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev
—
Reply to this email directly, view it on GitHub
<#26256 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXQVVQFHMFMF4ELSLMUPPTVYMLTDANCNFSM56BTJNPQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
----------------------------------------------
*Andrés Hernández Schafhauser*
* ***@***.*** ***@***.***>*
----------------------------------------------
|
You need to remove port freetype |
Thanks @StarGate-One, I am using a manifest consequently I get the following: aschafhauser@ubuntu:~/Sources/TESTVCPKG$ ./3rdParty/vcpkg/vcpkg remove freetype I removed explicitly freetype form the manifest but looks like gets pulled as dependencies from other packages - here is my config json file:
|
Hi @andreshs |
When the error states the freetype port has to be removed, it means basically if any package in your |
Thanks - I realized was freetype as well and decided to abandon vcpkg all together and rather build all the 3rd party libs as part of my project to really keep the whole project to build in any platform - vcpkg doesn't seem mature enough for larger projects. @StarGate-One - my project generates several binaries - some with SDL some with wxWindows and even some Qt now - I tried 2 instances of vcpkg and got myself on a mess. All of this libraries have cross platform cmake ready so that was my way out... Thanks everyone for chiming in! |
Package: wxwidgets[core,debug-support,sound]:x64-linux -> 3.2.0
Host Environment
vcpkg-scripts version: 66045de 2022-07-29 (11 days ago)
To Reproduce
vcpkg install
Failure logs
Additional context
vcpkg.json
The text was updated successfully, but these errors were encountered: