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.
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.