Package Details: python-py3d 4:0.14.1-1

Git Clone URL: https://aur.archlinux.org/open3d.git (read-only, click to copy)
Package Base: open3d
Description: A Modern Library for 3D Data Processing
Upstream URL: http://www.open3d.org
Licenses: MIT
Conflicts: python-open3d, python-open3d-git, python-py3d-git
Provides: python-open3d
Submitter: deltaecho
Maintainer: zannzetsu
Last Packager: zannzetsu
Votes: 5
Popularity: 0.000166
First Submitted: 2018-04-29 12:37 (UTC)
Last Updated: 2021-12-04 18:32 (UTC)

Latest Comments

drr21 commented on 2022-03-11 17:52 (UTC)

Package doesn't build for me, not even after adding emillynge sed -i 's|find_package(Python3 3.6...<3.10|find_package(Python3 3.6|' CMakeLists.txt to make it work on python 3.10

[ 75%] Built target core
[ 75%] Built target io
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

emillynge commented on 2022-01-03 09:50 (UTC) (edited on 2022-01-03 09:56 (UTC) by emillynge)

Looks like open3d will now compile/build even with python3.10, although TF and Torch may still not work. see https://github.com/isl-org/Open3D/pull/4463

While we wait for a new release, it would be very easy to apply a small 'patch' to CMakeLists.txt that mimics the effect of the pertinent commit https://github.com/isl-org/Open3D/commit/5d79d0c98d9460a714e7f10a50e161641cd243b7

This command sed -i 's|find_package(Python3 3.6...<3.10|find_package(Python3 3.6|' CMakeLists.txt should do it :)

emanus commented on 2021-12-21 18:34 (UTC)

I find it quite confusing that there are a python-open3d and a python-py3d (and the same with -git suffix) package that are the same. Why not mark one as deprecated and go with one? Breaking compatibility is imho not a big deal, since only python-minkowskiengine[-git] depends on this package.

zannzetsu commented on 2021-12-04 18:34 (UTC)

I updated to version 0.14.1 and added libc++ and libc++abi as dependencies. It compiled without issues for me. Let me know if something broke for you.

luntik2012 commented on 2021-12-03 19:39 (UTC)

In file included from /usr/include/fmt/format.h:44,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/RendererHandle.h:41,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/MaterialModifier.h:31,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentEntitiesMods.h:31,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentEntitiesMods.cpp:27:
/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v8::detail::value<Context> fmt::v8::detail::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; fmt::v8::detail::type <anonymous> = fmt::v8::detail::type::custom_type; T = open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1694:64:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args>::format_arg_store(const Args& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>, open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Texture>, const char*}]’
/usr/include/fmt/core.h:1710:18:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args ...> fmt::v8::make_format_args(const Args& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>, open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Texture>, const char*}]’
/home/user/.cache/yay/open3d/src/open3d/cpp/open3d/utility/Console.h:201:61:   required from ‘static void open3d::utility::Logger::_LogWarning(const char*, int, const char*, bool, const char*, Args&& ...) [with Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>&, const open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Texture>&, const char*&}]’
/home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentEntitiesMods.cpp:212:22:   required from here
/usr/include/fmt/core.h:1568:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1568 |       !std::is_same<decltype(arg), const unformattable&>::value,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/fmt/core.h:1568:7: note: ‘!(bool)std::integral_constant<bool, true>::value’ evaluates to false
/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v8::detail::value<Context> fmt::v8::detail::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; fmt::v8::detail::type <anonymous> = fmt::v8::detail::type::custom_type; T = open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Texture>; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1694:64:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args>::format_arg_store(const Args& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>, open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Texture>, const char*}]’
/usr/include/fmt/core.h:1710:18:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args ...> fmt::v8::make_format_args(const Args& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>, open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Texture>, const char*}]’
/home/user/.cache/yay/open3d/src/open3d/cpp/open3d/utility/Console.h:201:61:   required from ‘static void open3d::utility::Logger::_LogWarning(const char*, int, const char*, bool, const char*, Args&& ...) [with Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>&, const open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Texture>&, const char*&}]’
/home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentEntitiesMods.cpp:212:22:   required from here
/usr/include/fmt/core.h:1568:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/usr/include/fmt/core.h:1568:7: note: ‘!(bool)std::integral_constant<bool, true>::value’ evaluates to false
make[2]: *** [cpp/open3d/visualization/CMakeFiles/visualization.dir/build.make:860: cpp/open3d/visualization/CMakeFiles/visualization.dir/rendering/filament/FilamentEntitiesMods.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/fmt/format.h:44,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/RendererHandle.h:41,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/MaterialModifier.h:31,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/Renderer.h:29,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentRenderer.h:33,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentRenderer.cpp:27:
/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v8::detail::value<Context> fmt::v8::detail::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; fmt::v8::detail::type <anonymous> = fmt::v8::detail::type::custom_type; T = open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Material>; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1694:64:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args>::format_arg_store(const Args& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Material>}]’
/usr/include/fmt/core.h:1710:18:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args ...> fmt::v8::make_format_args(const Args& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Material>}]’
/home/user/.cache/yay/open3d/src/open3d/cpp/open3d/utility/Console.h:201:61:   required from ‘static void open3d::utility::Logger::_LogWarning(const char*, int, const char*, bool, const char*, Args&& ...) [with Args = {const open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Material>&}]’
/home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentRenderer.cpp:284:18:   required from here
/usr/include/fmt/core.h:1568:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1568 |       !std::is_same<decltype(arg), const unformattable&>::value,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/fmt/core.h:1568:7: note: ‘!(bool)std::integral_constant<bool, true>::value’ evaluates to false
/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v8::detail::value<Context> fmt::v8::detail::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; fmt::v8::detail::type <anonymous> = fmt::v8::detail::type::custom_type; T = open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1694:64:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args>::format_arg_store(const Args& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>}]’
/usr/include/fmt/core.h:1710:18:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args ...> fmt::v8::make_format_args(const Args& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>}]’
/home/user/.cache/yay/open3d/src/open3d/cpp/open3d/utility/Console.h:201:61:   required from ‘static void open3d::utility::Logger::_LogWarning(const char*, int, const char*, bool, const char*, Args&& ...) [with Args = {const open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::MaterialInstance>&}]’
/home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentRenderer.cpp:300:18:   required from here
/usr/include/fmt/core.h:1568:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/usr/include/fmt/core.h:1568:7: note: ‘!(bool)std::integral_constant<bool, true>::value’ evaluates to false
make[2]: *** [cpp/open3d/visualization/CMakeFiles/visualization.dir/build.make:902: cpp/open3d/visualization/CMakeFiles/visualization.dir/rendering/filament/FilamentRenderer.cpp.o] Error 1
In file included from /usr/include/fmt/format.h:44,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/utility/Console.h:46,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/geometry/Image.h:34,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/geometry/TriangleMesh.h:37,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentResourceManager.h:33,
                 from /home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentResourceManager.cpp:27:
/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v8::detail::value<Context> fmt::v8::detail::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; fmt::v8::detail::type <anonymous> = fmt::v8::detail::type::custom_type; T = open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Material>; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1694:64:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args>::format_arg_store(const Args& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Material>}]’
/usr/include/fmt/core.h:1710:18:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args ...> fmt::v8::make_format_args(const Args& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Material>}]’
/home/user/.cache/yay/open3d/src/open3d/cpp/open3d/utility/Console.h:201:61:   required from ‘static void open3d::utility::Logger::_LogWarning(const char*, int, const char*, bool, const char*, Args&& ...) [with Args = {const open3d::visualization::rendering::REHandle<open3d::visualization::rendering::EntityType::Material>&}]’
/home/user/.cache/yay/open3d/src/open3d/cpp/open3d/visualization/rendering/filament/FilamentResourceManager.cpp:424:14:   required from here
/usr/include/fmt/core.h:1568:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1568 |       !std::is_same<decltype(arg), const unformattable&>::value,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/fmt/core.h:1568:7: note: ‘!(bool)std::integral_constant<bool, true>::value’ evaluates to false
make[2]: *** [cpp/open3d/visualization/CMakeFiles/visualization.dir/build.make:916: cpp/open3d/visualization/CMakeFiles/visualization.dir/rendering/filament/FilamentResourceManager.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1726: cpp/open3d/visualization/CMakeFiles/visualization.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: open3d


BaldrLector commented on 2021-09-19 07:54 (UTC)

Hi @zannzetsu, thanks for your responsive reply.

when I used gcc11, I got a link error:

undefined reference to `std::__throw_bad_array_new_length()'

While I can build it with gcc10.

By the way, I find libc++abi and libc++ are also dependencies.

zannzetsu commented on 2021-09-18 10:55 (UTC)

Hi BaldrLector, you could edit the PKGBUILD and after line 60 insert the following: -DBUILD_CUDA_MODULE=ON \ -DBUILD_COMMON_CUDA_ARCHS=ON \ -DBUILD_CACHED_CUDA_MANAGER=ON \

BaldrLector commented on 2021-09-18 09:22 (UTC)

how to add optional CUDA module ?any one try it ?

AchmadFathoni commented on 2021-07-15 05:34 (UTC)

Got an error:

CMake Error at 3rdparty/find_dependencies.cmake:971 (find_library):
  Could not find CPPABI_LIBRARY using the following names: c++abi
Call Stack (most recent call first):
  CMakeLists.txt:613 (include)

Add libc++ solves this error

zannzetsu commented on 2021-06-05 17:24 (UTC)

@nikisalli I messed up. I didn't increment pkgrel in .SRCINFO.

nikisalli commented on 2021-06-01 11:18 (UTC)

why does aur say the pkg release is 2 while it is set to 1 in the pkgbuild? this causes some aur helpers to keep installing the old version at each update

zannzetsu commented on 2021-05-22 18:56 (UTC)

Hi, @3ddi the package should build now.

3ddi commented on 2021-01-24 06:57 (UTC)

Out of date ( newest version is 0.12) and fails to build with

error: ‘new’ of type ‘open3d::visualization::ViewControl’ with extended alignment 32 [-Werror=aligned-new=]

jgwak commented on 2020-04-23 15:31 (UTC)

@flipflop97 done

flipflop97 commented on 2020-04-23 13:28 (UTC)

Hi, can you update the git url to the following?
https://github.com/intel-isl/Open3D

stevesp commented on 2020-02-13 09:14 (UTC)

You're welcome, thanks for updating the packages.

jgwak commented on 2020-02-12 18:33 (UTC)

@stevesp I managed to clean build both 0.9.0 and latest master. I guess there was a bug on our side, not the upstream. Thank you.

stevesp commented on 2020-02-12 17:13 (UTC) (edited on 2020-02-12 17:53 (UTC) by stevesp)

@jgwak I just checked out the latest AUR open3d-git package (just got the files without building anything), then I changed the PKGBUILD file to resolve the problem with the open3d dependency and ran makepkg -si.

I have just right now tried to build Open3D from source by cloning the master branch from https://github.com/intel-isl/Open3D and that worked as well, when I applied the patch for libturbojpg.

I think I had the same error as you a while ago, therefore I used the 0.8.0 version. Today I tried to build it again and it worked. Thought they fixed it upstream, because I didn't do anything different.

Have you tried to freshly clone everything?

I can send you the PKGBUILD file if you want? But I basically removed the python-py3d-git from the pkgname variable and the package_python-py3d-git function. In addition, I fixed the dependency error in the package_python-open3d-git function and that's it.

jgwak commented on 2020-02-12 16:49 (UTC)

@stevesp Wait, did you manage to build master branch of the upstream without a problem? I just tried buliding open3d-git and it still failed with the PoissonRecon module error. Or by "master branch" do you mean the master branch of AUR open3d? If you have a fix for the latest version of open3d, it would be really helpful if you share it with the upstream, since there are at least 4 other people affected by this bug and the upstream maintainers cannot reproduce the problem.

stevesp commented on 2020-02-12 16:39 (UTC)

@jgwak A okay, thanks for the info. Was only building the master branch and that worked without a problem (only the fix_3rdparty_path.patch was necessary).

I see, guess in that case it makes sense to leave them.

jgwak commented on 2020-02-12 16:00 (UTC)

@stevesp There is a upstream bug blocking 0.9.0 upgrade: https://github.com/intel-isl/Open3D/issues/1414 Regarding the strange packaging, I am not the one who submitted this package. I recently adopted it to fix this abandoned package. I wonder the same but I decided to leave them for backward compatibility.

stevesp commented on 2020-02-12 10:58 (UTC)

Would it be possible to update the package to open3d version 0.9.0?

In addition, similar to the comment I wrote for the open3d-git package I was wondering why there is a python-py3d package which is the same as the python-open3d package and there are typos in the PKGBUILD (privides, instead of provides in both python package functions).