Package Details: ovito 3.11.2-4

Git Clone URL: https://aur.archlinux.org/ovito.git (read-only, click to copy)
Package Base: ovito
Description: Open Visualization Tool
Upstream URL: https://www.ovito.org
Keywords: chemistry scientific simulation visualization
Licenses: GPL-3.0-or-later
Conflicts: ovito-git
Submitter: janoliver
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 12
Popularity: 0.21
First Submitted: 2013-01-10 12:33 (UTC)
Last Updated: 2024-12-23 13:29 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

hmcezar commented on 2024-12-23 19:45 (UTC)

Thank you @carlosal1015 for the fix and @edeustua for digging into it.

Just tried pkgrel 4 and it compiled in my system.

edeustua commented on 2024-12-22 19:12 (UTC)

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):

  1. Get the source from zstd into src/3rdparty/zstd and patch the cmake file to uncomment corresponding lines in PKGBUILD.
  2. Create a new AUR package that provides https://github.com/facebook/zstd/tree/dev/zlibWrapper and use it as a dependency for ovito.

Let me know if I can help.

physkets commented on 2024-12-20 08:11 (UTC)

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.

carlosal1015 commented on 2024-12-17 18:20 (UTC)

In my case compiles fine, let's investigate the new issue.

hmcezar commented on 2024-12-17 08:28 (UTC)

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

carlosal1015 commented on 2024-12-15 17:14 (UTC)

Hey folks, I asked upstream about avoid using static zstd. Let's see https://gitlab.com/stuko/ovito/-/issues/232

hmcezar commented on 2024-12-12 12:26 (UTC)

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?

physkets commented on 2024-11-15 06:56 (UTC)

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.

nimble2005 commented on 2024-08-15 01:37 (UTC) (edited on 2024-08-15 01:40 (UTC) by nimble2005)

[ 84%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/objects/ClusterGraphObject.cpp.o
[ 84%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/objects/DislocationNetworkObject.cpp.o
[ 84%] Building CXX object src/ovito/netcdf/CMakeFiles/NetCDFPlugin.dir/AMBERNetCDFExporter.cpp.o
[ 84%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/objects/DislocationVis.cpp.o
[ 84%] Linking CXX shared library ../../../lib/ovito/plugins/NetCDFPlugin.so
[ 84%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/objects/RenderableDislocationLines.cpp.o
/usr/bin/ld: /usr/lib/libmpi.so.40: undefined reference to `fi_freeinfo@FABRIC_1.7'
/usr/bin/ld: /usr/lib/libmpi.so.40: undefined reference to `fi_dupinfo@FABRIC_1.7'
/usr/bin/ld: /usr/lib/libmpi.so.40: undefined reference to `fi_getinfo@FABRIC_1.7'
collect2: error: ld returned 1 exit status
make[2]: *** [src/ovito/netcdf/CMakeFiles/NetCDFPlugin.dir/build.make:187: lib/ovito/plugins/NetCDFPlugin.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:2963: src/ovito/netcdf/CMakeFiles/NetCDFPlugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 84%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/objects/MicrostructurePhase.cpp.o
[ 84%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/data/ClusterGraph.cpp.o
[ 85%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/data/DislocationNetwork.cpp.o
[ 85%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/dxa/DislocationAnalysisModifier.cpp.o
[ 85%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/dxa/DislocationAnalysisEngine.cpp.o
[ 85%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/dxa/StructureAnalysis.cpp.o
[ 85%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/dxa/CrystalPathFinder.cpp.o
[ 85%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/dxa/ElasticMapping.cpp.o
[ 85%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/dxa/InterfaceMesh.cpp.o
[ 85%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/dxa/DislocationTracer.cpp.o
[ 86%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/elasticstrain/ElasticStrainModifier.cpp.o
[ 86%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/elasticstrain/ElasticStrainEngine.cpp.o
[ 86%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/grains/GrainSegmentationModifier.cpp.o
[ 86%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/grains/GrainSegmentationEngine.cpp.o
[ 86%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/modifier/grains/NodePairSampling.cpp.o
[ 86%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/objects/DislocationSliceModifierDelegate.cpp.o
[ 86%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/objects/DislocationReplicateModifierDelegate.cpp.o
[ 86%] Building CXX object src/ovito/crystalanalysis/CMakeFiles/CrystalAnalysis.dir/objects/DislocationAffineTransformationModifierDelegate.cpp.o
[ 86%] Linking CXX shared library ../../../lib/ovito/plugins/CrystalAnalysis.so
[ 86%] Built target CrystalAnalysis
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ovito-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ovito - exit status 4

Hi, i am getting an error as shown above. Does anyone know how to solve this problem?

physkets commented on 2024-06-24 06:49 (UTC)

@carlosal1015 Ya, so it requires a re-build which can be done by increasing the pkgrel, I think.