RenderKit / ospray

An Open, Scalable, Portable, Ray Tracing Based Rendering Engine for High-Fidelity Visualization
http://ospray.org
Apache License 2.0
1.02k stars 186 forks source link

Denoise module init function not found #397

Closed paulmelis closed 4 years ago

paulmelis commented 4 years ago
melis@juggle 14:20:~/concepts/ospray-python$ cat t_denoise.cpp 
#include <ospray/ospray_cpp.h>

using namespace ospcommon::math;
using namespace ospray::cpp;

int main(int argc, const char *argv[])
{
    ospLoadModule("denoiser");

    ospInit(&argc, argv);
}

melis@juggle 14:20:~/concepts/ospray-python$ g++ -o t_denoise -I ~/software/ospray-superbuild-git/include/ -L ~/software/ospray-superbuild-git/lib/ t_denoise.cpp -lospray

melis@juggle 14:20:~/concepts/ospray-python$ ./t_denoise 
#ospray: INITIALIZATION ERROR --> #osp:api: could not find module initializer ospray_module_init_denoiser

Seems the symbol name is incorrect:

melis@juggle 14:21:~/concepts/ospray-python$ nm -D ~/software/ospray-superbuild-git/lib/libospray_module_denoiser.so | grep init
00000000000036d0 T ospray_init_module_denoiser
paulmelis commented 4 years ago

Was fixed