Closed derek-gerstmann closed 8 years ago
Agh! Nevermind/ Erroneous error message.
The REAL problem was I specified tbb_debug.lib and tbbmalloc_debug.lib for the Cmake DEBUG library targets which then caused an error during linking (presumably there's a pragma asking for the release lib even during debug targets), and prevented all other subcomponents from generating object libraries.
Removing the _debug libs from the CMAKE config avoids the whole issue.
Generating and compiling a Visual Studio 2015 project using the latest Intel C++ Compiler 17.0 via:
cmake -T"Intel C++ Compiler 17.0" -G"Visual Studio 14 2015 Win64" -DISPC_EXECUTABLE=C:\Tools\ispc\v1.9.0\ispc.exe -DFREEGLUT_ROOT_PATH=C:\Tools\FreeGLUT\v3.0.0 ..
Generates invalid paths for subproject libraries that are referenced during OSPray linkage:
9>------ Build started: Project: ospray_glut3d, Configuration: Debug x64 ------ 9>ipo: : error #11018: Cannot open ..........\Debug\ospray.lib 8>ipo: : error #11018: Cannot open ..........\Debug\ospray.lib 8>ipo: : error #11018: Cannot open ..........\Debug\embree.lib 9>ipo: : error #11018: Cannot open ..........\Debug\embree.lib