























Thank you @carlosal1015 for the fix and @edeustua for digging into it.
Just tried pkgrel 4 and it compiled in my system.
Same problem here with zstd_zlibwrapper.h.
The zstd package from archlinux core does not include the wrapper. It has to be compiled or installed some other way. The commented lines in src/ovito/core/CMakeLists.txt:194-200 build the wrapper correctly, but the zstd library has to be downloaded first into src/3rdparty/zstd. I'd think the solution could be one of the following (let me know what you think):
src/3rdparty/zstd and patch the cmake file to uncomment corresponding lines in PKGBUILD.Let me know if I can help.
I see the same error as @hmcezar. Looks like we need the zstd submodule, but we don't do a git build. So I don't know how. Are the zstd sources included in the tarball? If not, they should include it.
In my case compiles fine, let's investigate the new issue.
Dear carlosal1015 thank you for trying to fix this!
Now I get past the ./configure, but the build is failing:
[ 10%] Building CXX object src/ovito/core/CMakeFiles/Core.dir/Core_autogen/mocs_compilation.cpp.o
In file included from /var/tmp/pamac-build-hmcezar/ovito/src/build/src/ovito/core/Core_autogen/HM7M6C4NFO/moc_GzipIODevice.cpp:9,
from /var/tmp/pamac-build-hmcezar/ovito/src/build/src/ovito/core/Core_autogen/mocs_compilation.cpp:22:
/var/tmp/pamac-build-hmcezar/ovito/src/build/src/ovito/core/Core_autogen/HM7M6C4NFO/../../../../../../ovito-v3.11.2/src/ovito/core/utilities/io/gzdevice/GzipIODevice.h:31:14: fatal error: zstd_zlibwrapper.h: No such file or directory
31 | #include <zstd_zlibwrapper.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/ovito/core/CMakeFiles/Core.dir/build.make:110: src/ovito/core/CMakeFiles/Core.dir/Core_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1662: src/ovito/core/CMakeFiles/Core.dir/all] Error 2
I'm having the same problem physkets is having:
-- Configuring done (4.1s)
CMake Error at src/ovito/core/CMakeLists.txt:195 (TARGET_SOURCES):
Cannot find source file:
/var/tmp/pamac-build-hmcezar/ovito/src/ovito-v3.11.2/src/3rdparty/zstd/zlibWrapper/zstd_zlibwrapper.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
CMake Error at src/ovito/core/CMakeLists.txt:191 (TARGET_LINK_LIBRARIES):
Target "Core" links to:
zstd::libzstd_static
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Any tips?
I'm seeing this error with version 3.11.1-1
CMake Error at src/ovito/core/CMakeLists.txt:195 (TARGET_SOURCES):
Cannot find source file:
/home/physkets/.config/trizen/sources/ovito/src/ovito-v3.11.1/src/3rdparty/zstd/zlibWrapper/zstd_zlibwrapper.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
CMake Error at src/ovito/core/CMakeLists.txt:191 (TARGET_LINK_LIBRARIES):
Target "Core" links to:
zstd::libzstd_static
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
3.12.1 seems to be broken on current arch... (API changes on Qtbrush) 3.12.2 builds fine