ospray / hdospray

Rendering plugin for Pixar's USD Hydra
Apache License 2.0
119 stars 15 forks source link

PDB Error (From CMake 3.28.1 VS 2019 Solution Generation). #23

Closed SimonCSmith closed 4 months ago

SimonCSmith commented 4 months ago

Compiling under Windows and targeting VS2019 (v142 toolset) it will not compile and will give pdb generation errors (PDB API call failed, error code '3'). To fix this, I have to change the Configuration Properties->C/C++->Output Files->Program Database File Name

From: $(IntDir)vc$(PlatformToolsetVersion).pdb To: $(IntDir)%(Filename)_vc$(PlatformToolsetVersion).pdb

Maybe files are being locked by mspdbsrv.exe due to parallel compilation perhaps.

On a side note (and I do not know if it is something to do with my internal usd dependency) I have to manually add a path for boost to be found. I don't know if this is relates to HdOSPRay or not though.

SimonCSmith commented 4 months ago

Apologies - this was already logged (by myself!)