diff --git a/classes/sph0/louis/README.md b/classes/sph0/louis/README.md index 9faf8fac..5e912ac0 100644 --- a/classes/sph0/louis/README.md +++ b/classes/sph0/louis/README.md @@ -34,6 +34,29 @@ cmake . -B build -DCMAKE_BUILD_TYPE=Debug && ninja -C build && run.py --cpp -k 1 ``` pacman -S mingw64/mingw-w64-x86_64-eigen3 +pacman -S mingw64/mingw-w64-x86_64-vtk +pacman -S mingw64/mingw-w64-x86_64-python-pyqt6 +# libs qui manquent pour "import vtk" sous python (debug avec python3 -c "import vtk" et "dependenciesGUI" jusqu'à ce que ça marche) +pacman -S mingw64/mingw-w64-x86_64-nlohmann-json +pacman -S mingw64/mingw-w64-x86_64-fast_float +pacman -S mingw64/mingw-w64-x86_64-gl2ps +pacman -S mingw64/mingw-w64-x86_64-openvr +pacman -S mingw64/mingw-w64-x86_64-ffmpeg +pacman -S mingw64/mingw-w64-x86_64-python-meshio # pas sur +pacman -S mingw64/mingw-w64-x86_64-hdf5 +pacman -S mingw64/mingw-w64-x86_64-postgresql +pacman -S mingw64/mingw-w64-x86_64-libexodus +pacman -S mingw64/mingw-w64-x86_64-pdal +pacman -S mingw64/mingw-w64-x86_64-openvdb +pacman -S mingw64/mingw-w64-x86_64-unixodbc +pacman -S mingw64/mingw-w64-x86_64-opencascade +pacman -S mingw64/mingw-w64-x86_64-liblas +pacman -S mingw64/mingw-w64-x86_64-seacas +pacman -S mingw64/mingw-w64-x86_64-cgns +pacman -S mingw64/mingw-w64-x86_64-adios2 +pacman -S mingw64/mingw-w64-x86_64-openturns +pacman -S mingw64/mingw-w64-x86_64-openslide +CXX=g++ FC=gfortran cmake . -B build && cmake --build build && ./run.py --cpp -k 10 tests/small.py ``` ## Win diff --git a/classes/sph0/louis/src_cpp/CMakeLists.txt b/classes/sph0/louis/src_cpp/CMakeLists.txt index 815d19b4..9c46cd6d 100644 --- a/classes/sph0/louis/src_cpp/CMakeLists.txt +++ b/classes/sph0/louis/src_cpp/CMakeLists.txt @@ -69,8 +69,10 @@ FIND_PACKAGE(VTK 9.0 COMPONENTS RenderingOpenGL2 ) -FIND_PACKAGE(Qt5 COMPONENTS Widgets REQUIRED) - +find_package(Qt6 COMPONENTS Core) +if (NOT Qt6_FOUND) + find_package(Qt5 5.15 REQUIRED COMPONENTS Core) +endif() FILE(GLOB SRCS *.h *.cpp) ADD_EXECUTABLE(louis++ ${SRCS}) @@ -86,7 +88,7 @@ TARGET_COMPILE_DEFINITIONS(louis++ PUBLIC EIGEN_DONT_PARALLELIZE) # TARGET_COMPILE_DEFINITIONS(louis++ PUBLIC $<$: "EIGEN_STRONG_INLINE=__attribute__((always_inline)) inline" > ) # VTK/Qt -TARGET_LINK_LIBRARIES(louis++ PUBLIC ${VTK_LIBRARIES} Qt5::Widgets) +TARGET_LINK_LIBRARIES(louis++ PUBLIC ${VTK_LIBRARIES} Qt::Widgets) vtk_module_autoinit( TARGETS louis++