[wxwidgets] Fix linux build#23765
Conversation
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout a76eb002a71b6cf7bad343f5e3376dfe6bb83c5c -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/baseline.json b/versions/baseline.json
index 830818f..248178f 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -7470,7 +7470,7 @@
},
"wxwidgets": {
"baseline": "3.1.5",
- "port-version": 7
+ "port-version": 8
},
"x-plane": {
"baseline": "3.0.3",
diff --git a/versions/w-/wxwidgets.json b/versions/w-/wxwidgets.json
index c8da366..82ad580 100644
--- a/versions/w-/wxwidgets.json
+++ b/versions/w-/wxwidgets.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "6fde6fcb9c95027cfc81d026135ea82edd1f1ba1",
+ "version-semver": "3.1.5",
+ "port-version": 8
+ },
{
"git-tree": "9184caa631070403a5fd8c177b56907a313ad197",
"version-semver": "3.1.5",|
cc @talregev for test this PR. |
I won't block it. However, testing locally on Ubuntu 18.04 fails immediately, in locating the system's GTK3 development package. PS: It needs to find |
|
It compile for me, thank you. tal@tal-pav15:~/vcpkg$ ./vcpkg install wxwidgets
Computing installation plan...
The following packages will be built and installed:
wxwidgets[core]:x64-linux -> 3.1.5#8
Detecting compiler hash for triplet x64-linux...
Restored 0 packages from /home/tal/.cache/vcpkg/archives in 8.136 ms. Use --debug to see more details.
Starting package 1/1: wxwidgets:x64-linux
Building package wxwidgets[core]:x64-linux...
-- Using cached wxWidgets-wxWidgets-9c0a8be1dc32063d91ed1901fd5fcd54f4f955a1.tar.gz.
-- Extracting source /home/tal/vcpkg/downloads/wxWidgets-wxWidgets-9c0a8be1dc32063d91ed1901fd5fcd54f4f955a1.tar.gz
-- Applying patch disable-platform-lib-dir.patch
-- Applying patch fix-build.patch
-- Applying patch fix-linux-configure.patch
-- Using source at /home/tal/vcpkg/buildtrees/wxwidgets/src/54f4f955a1-6abc06b06c.clean
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Installing: /home/tal/vcpkg/packages/wxwidgets_x64-linux/share/wxwidgets/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: /home/tal/.cache/vcpkg/archives/ec/ecf6f348c233372573e3a046cb9b2212f43a5294b03a16d2fb113fbf956935c0.zip
Installing package wxwidgets[core]:x64-linux...
Elapsed time for package wxwidgets:x64-linux: 1.581 h
Total elapsed time: 1.583 h
The package wxwidgets provides CMake integration:
find_package(wxWidgets REQUIRED)
target_include_directories(main PRIVATE ${wxWidgets_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${wxWidgets_LIBRARIES}) |
|
Can you update in the top that you waiting for #22201 as a task? |
|
JackBoosY#6 is a workaround for #23765 (comment). As usual, mixing system and vcpkg libraries could be dangerous. The |
* Use system pkg-config for linux * Update versions
|
@JackBoosY |
|
@talregev Yeah, I also need consider https://github.com/JackBoosY/vcpkg/pull/3/files. Will finish this PR today. |
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 773516ecf6014d89cc69b11bb54605ad4be56694 -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/w-/wxwidgets.json b/versions/w-/wxwidgets.json
index 5208008..7dcd75e 100644
--- a/versions/w-/wxwidgets.json
+++ b/versions/w-/wxwidgets.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "116f75bb873cacd211f67d7c4b6399a31040aba5",
+ "git-tree": "33a87baa90f6ea142f649f688081a9406ca6a3d5",
"version-semver": "3.1.5",
"port-version": 8
},|
I decide to only fix the wxwidgets internal code in this PR. |
|
@JackBoosY Thank you for merge the master inside.
Can you fix it? |
|
@talregev I'd like to fix that in another PR. |
Can you link to the PR? |
@JackBoosY |
@dg0yt Can you help to fix this problem? It vcpkg problem, not upstream problems. |


Related upstream commit: wxWidgets/wxWidgets@2f6dd5e
--libsoutput:Related upstream commit: wxWidgets/wxWidgets@c284c88
Fixes #23758.
Note: although
wxwidgets:x64-linuxstill set tofail, but the user can install gtk3 with other package manager, so I still prefer to fix the upstream bugs in this PR.