mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-10 07:39:00 +08:00
Require wxWidgets>=3.2, mention wxGTK+EGL problems in readme
This commit is contained in:
parent
035331ab9f
commit
1e28a93bcb
@ -1,7 +1,7 @@
|
|||||||
# Dependency report for PrusaSlicer
|
# Dependency report for PrusaSlicer
|
||||||
## Possible dynamic linking on Linux
|
## Possible dynamic linking on Linux
|
||||||
* zlib: Strict dependency required from the system, linked dynamically. Many other libs depend on zlib.
|
* zlib: Strict dependency required from the system, linked dynamically. Many other libs depend on zlib.
|
||||||
* wxWidgets >= 3.1.6
|
* wxWidgets >= 3.2
|
||||||
* libcurl
|
* libcurl
|
||||||
* tbb
|
* tbb
|
||||||
* boost
|
* boost
|
||||||
|
@ -100,6 +100,8 @@ As already mentioned above, dynamic linking of dependencies is possible, but Pru
|
|||||||
|
|
||||||
The list of dependencies can be easily obtained by inspecting the CMake scripts in the `deps/` directory. Some of the dependencies don't have to be as recent as the versions listed - generally versions available on conservative Linux distros such as Debian stable, Ubuntu LTS releases or Fedora are likely sufficient. If you decide to build this way, it is your responsibility to make sure that CMake finds all required dependencies. It is possible to look at your distribution PrusaSlicer package to see how the package maintainers solved the dependency issues.
|
The list of dependencies can be easily obtained by inspecting the CMake scripts in the `deps/` directory. Some of the dependencies don't have to be as recent as the versions listed - generally versions available on conservative Linux distros such as Debian stable, Ubuntu LTS releases or Fedora are likely sufficient. If you decide to build this way, it is your responsibility to make sure that CMake finds all required dependencies. It is possible to look at your distribution PrusaSlicer package to see how the package maintainers solved the dependency issues.
|
||||||
|
|
||||||
|
Note that you may need to use wxGTK with disabled EGL support for PrusaSlicer to work correctly: see [#9774](https://github.com/prusa3d/PrusaSlicer/issues/9774).
|
||||||
|
|
||||||
## Miscellaneous
|
## Miscellaneous
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
@ -49,14 +49,14 @@ if (SLIC3R_GUI)
|
|||||||
|
|
||||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")
|
set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")
|
||||||
find_package(wxWidgets 3.1.6 QUIET COMPONENTS base core adv html gl)
|
find_package(wxWidgets 3.2 QUIET COMPONENTS base core adv html gl)
|
||||||
if (NOT wxWidgets_FOUND)
|
if (NOT wxWidgets_FOUND)
|
||||||
message(FATAL_ERROR "Could not find wxWidgets >= 3.1.6")
|
message(FATAL_ERROR "Could not find wxWidgets >= 3.2")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
include(${wxWidgets_USE_FILE})
|
include(${wxWidgets_USE_FILE})
|
||||||
else ()
|
else ()
|
||||||
find_package(wxWidgets 3.1.6 COMPONENTS html adv gl core base)
|
find_package(wxWidgets 3.2 COMPONENTS html adv gl core base)
|
||||||
if (NOT wxWidgets_FOUND)
|
if (NOT wxWidgets_FOUND)
|
||||||
message(STATUS "Trying to find wxWidgets in CONFIG mode...")
|
message(STATUS "Trying to find wxWidgets in CONFIG mode...")
|
||||||
find_package(wxWidgets 3.1.6 CONFIG REQUIRED COMPONENTS html adv gl core base)
|
find_package(wxWidgets 3.1.6 CONFIG REQUIRED COMPONENTS html adv gl core base)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user