fzi-forschungszentrum-informatik / vdb_mapping

Performantes 3D Kartierungs-Framework auf Basis von OpenVDB
Apache License 2.0
41 stars 10 forks source link

missing header #1

Closed tiralonghipol closed 2 years ago

tiralonghipol commented 2 years ago

hi, when try to build the package, I check the following error:

fatal error: openvdb/Types.h: No such file or directory
   35 | #include <openvdb/Types.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.

any tips?

MGBla commented 2 years ago

Hey, my first guess would be some problem with your openvdb installation. Have you installed libopenvdb-dev?

tiralonghipol commented 2 years ago

yes! now the headers are found correctly but I seem to have a linking problem:

undefined reference to `openvdb::v6_2:: XXXX

this appens for a lot of openvdb libraries I assume you have never seen this error? im in Ubuntu 20, Linux 5.11.0-41-generic

tiralonghipol commented 2 years ago

solved building openvdb from source

YoshuaNava commented 2 years ago

@tiralonghipol did you try installing the developer version of the OpenVDB library?

For example, in Ubuntu you can do that by running:

sudo apt install libopenvdb-dev