AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb

[BUILD] A lot of undefined references

Open
#1,593 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.4k
Forks
774
Avg merge
3d 9h
Merged PRs (30d)
34

Description

### 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](https://user-images.githubusercontent.com/84680328/223380554-e2b79393-1f98-4f4e-ba8c-7a83f1380345.png)
![image](https://user-images.githubusercontent.com/84680328/223382435-f6b5e8d6-88ff-4894-acda-a7dfdecf6169.png)

### 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](https://user-images.githubusercontent.com/84680328/223381614-1c762206-3989-4b99-9578-ee01cb12295a.png)
4. Creating a makefile to run the helloworld code as follows.
![image](https://user-images.githubusercontent.com/84680328/223381510-7bf6065c-b450-4169-a4b5-95ca6a182da8.png)
5. The error occurs.

Thank you for your help.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Ubuntu 22.04 build with OpenVDB 10.0.0, using the documented dependency and build guidance. Then inspect the helloWorld example and the supplied makefile, and compare the linker output with the CMake configuration. Done means the example builds and links without undefined references.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.