AcademySoftwareFoundation / openvdb

OpenVDB - Sparse volume data structure and tools
http://www.openvdb.org/
Mozilla Public License 2.0
2.6k stars 644 forks source link

[BUILD] A lot of undefined references #1593

Open dalfarisy opened 1 year ago

dalfarisy commented 1 year ago

Environment

Operating System: Ubuntu 22.04 Version / Commit SHA: OpenVDB 10.0.0 CMake Version: 3.22.1 Compiler: C++ 17

Describe the problem

A lot of undefined references, some of them are listed in the screenshot below. image image

To Reproduce

Steps to reproduce the behavior:

  1. Installing OpenVDB dependencies (tbb, boost, openEXR, cmake).
  2. Build openVDB using the given guidance. I always use sudo on the installation, and the file is seems to be successfully installed without error.
  3. Trying the helloWorld code in the following image
  4. Creating a makefile to run the helloworld code as follows. image
  5. The error occurs.

Thank you for your help.

Hanke98 commented 12 months ago

Same problem in mine. Can anyone help us? Thanks a lot!