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

Windows Build: The ospray::TileError class is not exported. #125

Closed lbarbieri closed 7 years ago

lbarbieri commented 7 years ago

Hello,

I've considered the following bug when attempting to build the pathtracer module on Windows:

Description In "ospray/fb/FrameBuffer.h", the ospray::TileError class declaration is missing the OSPRAY_SDK_INTERFACE linkage macro. This causes problems when building & linking the ospray/render/pathtracer module against the installed software on Windows.

Expected behavior The ospray::TileError class would be exported on Windows.

Observed behavior The ospray::TileError class is not exported on Windows.

Applies to v1.1.2 (revision 95ccc33)

Thanks Lou

johguenther commented 7 years ago

Hi Lou, thank you for sharing this. Please use the recently released version 1.2.0 of OSPRay, the linker error is already fixed there (commit 35e63476e0).

Best regards, Johannes

lbarbieri commented 7 years ago

Hello Johannes,

Whoops - I should have checked the latest version :)

Thank you for your time, Lou