Comments (3)
I haven't seen this issue before...
PerspectiveCamera should be in librendering_pbr.so. If you run the build with the --verbose option, it should show the linker command line being run for denoise : -lrendering_pbr should be listed.
You can check if moonray::pbr::PerspectiveCamera::PerspectiveCamera(scene_rdl2::rdl2::Camera const*) actually is defined in librendering_pbr.so using nm:
nm librendering_pbr.so | fgrep PerspectiveCamera
...
T _ZN7moonray3pbr17PerspectiveCameraC1EPKN10scene_rdl24rdl26CameraE
...
c++filt _ZN7moonray3pbr17PerspectiveCameraC1EPKN10scene_rdl24rdl26CameraE
moonray::pbr::PerspectiveCamera::PerspectiveCamera(scene_rdl2::rdl2::Camera const*)
from openmoonray.
Sorry for the delay, holidays :)
I already did the checking with nm and c++filt before reporting the linking issues.
Could gnu c++17 option be responsible of these errors ?
I will give you the linker command with verbose option at the beginning of august.
from openmoonray.
@rgwilson68 the command line of the linker:
[ 35%] Linking CXX executable denoise
cd /build_dir/build-release/openmoonray/moonray/moonray/cmd/denoise_cmd && /opt/cmake-3.23.1-linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/denoise.dir/link.txt --verbose=1
/usr/bin/c++ -O3 -DNDEBUG -Wl,--enable-new-dtags CMakeFiles/denoise.dir/main.cc.o -o denoise -Wl,-rpath,/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/rndr:/build_dir/build-release/openmoonray/moonray/mcrt_denoise/lib/denoiser:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/displayfilter:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/pbr:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/lpe:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/rt:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/geom:/install_dir/lib:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/shading:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/bvh/shading:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/bvh/shading/ispc:/build_dir/build-release/openmoonray/moonray/moonray/lib/common/file_resource:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/shading/ispc:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/texturing/sampler:/build_dir/build-release/openmoonray/moonray/scene_rdl2/lib/common/grid_util:/build_dir/build-release/openmoonray/moonray/scene_rdl2/lib/common/rec_time:/build_dir/build-release/openmoonray/moonray/moonray/lib/rendering/mcrt_common:/build_dir/build-release/openmoonray/moonray/scene_rdl2/lib/scene/rdl2:/build_dir/build-release/openmoonray/moonray/scene_rdl2/lib/common/fb_util:/build_dir/build-release/openmoonray/moonray/scene_rdl2/lib/common/fb_util/ispc:/build_dir/build-release/openmoonray/moonray/moonray/lib/common/mcrt_util:/build_dir/build-release/openmoonray/moonray/scene_rdl2/lib/render/util:/build_dir/build-release/openmoonray/moonray/scene_rdl2/lib/common/math:/build_dir/build-release/openmoonray/moonray/scene_rdl2/lib/common/math/ispc:/build_dir/build-release/openmoonray/moonray/scene_rdl2/lib/common/platform:/build_dir/build-release/openmoonray/moonray/moonray/lib/deepfile:/build_dir/build-release/openmoonray/moonray/moonray/lib/statistics:/build_dir/build-release/openmoonray/moonray/scene_rdl2/lib/render/logging: ../../lib/rendering/rndr/librendering_rndr.so ../../../mcrt_denoise/lib/denoiser/libdenoiser.so ../../lib/rendering/displayfilter/librendering_displayfilter.so ../../lib/rendering/pbr/librendering_pbr.so ../../lib/rendering/lpe/librendering_lpe.so ../../lib/rendering/rt/librendering_rt.so ../../lib/rendering/geom/librendering_geom.so /install_dir/lib/libosdGPU.so /install_dir/lib/libosdCPU.so ../../lib/rendering/shading/librendering_shading.so ../../lib/rendering/bvh/shading/librendering_bvh_shading.so ../../lib/rendering/bvh/shading/ispc/libbvh_shading_ispc.so ../../lib/common/file_resource/libcommon_file_resource.so ../../lib/rendering/shading/ispc/libshading_ispc.so ../../lib/rendering/shading/ispc/libshading_eval_ispc.so /lib/x86_64-linux-gnu/libcudart.so ../../lib/rendering/texturing/sampler/libtexturing_sampler.so /install_dir/lib/libOpenImageIO.so.2.2.15 /install_dir/lib/libImath-3_0.a ../../../scene_rdl2/lib/common/grid_util/libcommon_grid_util.so ../../../scene_rdl2/lib/common/rec_time/libcommon_rec_time.so /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libcrypto.so ../../lib/rendering/mcrt_common/librendering_mcrt_common.so ../../../scene_rdl2/lib/scene/rdl2/libscene_rdl2.so ../../../scene_rdl2/lib/common/fb_util/libcommon_fb_util.so ../../../scene_rdl2/lib/common/fb_util/ispc/libfb_util_ispc.so ../../lib/common/mcrt_util/libcommon_mcrt_util.so ../../../scene_rdl2/lib/render/util/librender_util.so ../../../scene_rdl2/lib/common/math/libcommon_math.so ../../../scene_rdl2/lib/common/math/ispc/libmath_ispc.so /usr/lib/x86_64-linux-gnu/libjsoncpp.so /usr/lib/x86_64-linux-gnu/liblua5.3.so ../../../scene_rdl2/lib/common/platform/libcommon_platform.so ../../lib/deepfile/libdeepfile.so /install_dir/lib/libIlmImfUtil-2_5.a /install_dir/lib/libIlmImf-2_5.a /install_dir/lib/libImath-2_5.a /install_dir/lib/libIexMath-2_5.a /install_dir/lib/libHalf-2_5.a /install_dir/lib/libIlmThread-2_5.a /install_dir/lib/libIex-2_5.a -lpthread /usr/lib/x86_64-linux-gnu/libz.so ../../lib/statistics/libstatistics.so /usr/lib/x86_64-linux-gnu/libjpeg.so /install_dir/lib/libopenvdb.so -ltbb -latomic /install_dir/lib/libembree3.so.3.12.1 ../../../scene_rdl2/lib/render/logging/librender_logging.so /usr/lib/x86_64-linux-gnu/liblog4cplus.so /install_dir/lib/libOpenImageDenoise.so.1.4.3 /lib/x86_64-linux-gnu/libcudart.so
/usr/bin/ld: ../../lib/rendering/rt/librendering_rt.so: undefined reference to vtable for moonray::pbr::ProjectiveCamera' /usr/bin/ld: ../../lib/rendering/rt/librendering_rt.so: undefined reference to
moonray::pbr::PerspectiveCamera::PerspectiveCamera(scene_rdl2::rdl2::Camera const*)'
/usr/bin/ld: ../../lib/rendering/rt/librendering_rt.so: undefined reference to moonray::pbr::ImageDistribution::~ImageDistribution()' /usr/bin/ld: ../../lib/rendering/rt/librendering_rt.so: undefined reference to
moonray::pbr::Camera::update(scene_rdl2::math::Mat4<scene_rdl2::math::Vec4 > const&)'
/usr/bin/ld: ../../lib/rendering/rt/librendering_rt.so: undefined reference to `moonray::pbr::PerspectiveCamera::computeFrustumImpl(moonray::mcrt_common::Frustum*, float, bool) const'
collect2: error: ld returned 1 exit status
from openmoonray.
Related Issues (20)
- Cannot build on Centos-7 HOT 5
- Loading Hydra plugin into Houdini. HOT 1
- OpenImageIO path HOT 2
- Some help for you guys.
- Building Moonray for Houdini 20 (GCC11.2) HOT 6
- How can I use this for blender? HOT 2
- fatal error: scene_rdl2/render/util/AtomicFloat.h: No such file or directory 11 | #include <scene_rdl2/render/util/AtomicFloat.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HOT 2
- Rocky Linux 9 Install Dependencies Script fails in Docker HOT 1
- OpenMoonRay failing to build on Rocky Linux 9 on Docker HOT 1
- Failed to find plugin HOT 1
- Env variable not set - REZ2_DEFAULT_VERSION HOT 2
- _GLIBCXX_ASSERTIONS flag causes core dump
- Open Moonray Failing to build on RHEL9 HOT 5
- Renderizador Dreamworks
- Building OpenMoonray 1.6 on MacOS+Houdini - missing preset container-macOS-houdini HOT 1
- Does Moonray require a specific class of CPU ?
- Segmentation fault rendering USD Moana Island HOT 1
- Dependency build failing on M-Series MacBook Pro with Sonoma HOT 1
- MacOS build was unable to find freetype
- moonray_gui on MacOS leaks substantial memory when orbiting camera HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmoonray.