Jump to content

Build fails due to missing NVApi.h


photo

Recommended Posts

Posted

Problem

 

Building engine and tools from source via source\scons command fails (most probably due to missing NVApi SDK)

 


E:\Entwicklung\Tools\UNIGINE\Unigine-20101101-src\source>scons
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
Setting Unigine environment for Windows x86 platform.
scons: building associated VariantDir targets: app\main\build app\Heaven\build app\Tropics\build app
\Physics\build app\Sanctuary\build app\AppStereo\build app\App3DVision\build app\Launcher\build tool
s\tests\Sort\build tools\tests\Mesh\build tools\tests\Bounds\build tools\tests\Memory\build tools\te
sts\String\build tools\tests\MathLib\build tools\tests\MeshUtils\build tools\tests\Decompose\build t
ools\tests\Numerical\build tools\tests\Interpreter\build tools\tests\SystemInfo\build tools\Terrain\
build tools\XmlTree\build tools\Archiver\build tools\ImageDDS\build tools\ImageView\build tools\Mesh
Upgrade\build tools\Resource\build tools\ResourceEditor\build
cl /Foapp\common\App3DVision.obj /c app\common\App3DVision.cpp /TP /nologo /MT /EHsc /W3 /wd4355 /wd
4250 /Osixy /fp:fast /Zi /D_CRT_SECURE_NO_DEPRECATE /IE:\Entwicklung\Tools\UNIGINE\Unigine-20101101-
src\include
cl /Foapp\common\D3D9App3DVision.obj /c app\common\D3D9App3DVision.cpp /TP /nologo /MT /EHsc /W3 /wd
4355 /wd4250 /Osixy /fp:fast /Zi /D_CRT_SECURE_NO_DEPRECATE /IE:\Entwicklung\Tools\UNIGINE\Unigine-2
0101101-src\include
cl /Foapp\common\D3D10App3DVision.obj /c app\common\D3D10App3DVision.cpp /TP /nologo /MT /EHsc /W3 /
wd4355 /wd4250 /Osixy /fp:fast /Zi /D_CRT_SECURE_NO_DEPRECATE /IE:\Entwicklung\Tools\UNIGINE\Unigine
-20101101-src\include
cl /Foapp\common\D3D11App3DVision.obj /c app\common\D3D11App3DVision.cpp /TP /nologo /MT /EHsc /W3 /
wd4355 /wd4250 /Osixy /fp:fast /Zi /D_CRT_SECURE_NO_DEPRECATE /IE:\Entwicklung\Tools\UNIGINE\Unigine
-20101101-src\include
App3DVision.cpp
D3D9App3DVision.cpp
D3D10App3DVision.cpp
D3D11App3DVision.cpp
app\common\App3DVision.cpp(23) : fatal error C1083: Cannot open include file: 'NVApi/NVApi.h': No su
ch file or directory
scons: *** [app\common\App3DVision.obj] Error 2
app\common\D3D9App3DVision.cpp(21) : fatal error C1083: Cannot open include file: 'NVApi/NVApi.h': N
o such file or directory
scons: *** [app\common\D3D9App3DVision.obj] Error 2
app\common\D3D10App3DVision.cpp(21) : fatal error C1083: Cannot open include file: 'NVApi/NVApi.h':
No such file or directory
scons: *** [app\common\D3D10App3DVision.obj] Error 2
app\common\D3D11App3DVision.cpp(21) : fatal error C1083: Cannot open include file: 'NVApi/NVApi.h':
No such file or directory
scons: *** [app\common\D3D11App3DVision.obj] Error 2

Posted

We can't provide NVApi.h|lib files in Unigine SDK because of NVIDIA NDA. Only 3DVision stereo launcher depends on this files. We will send NVIDIA guys contacts if you need 3DVision.

Posted

We will send NVIDIA guys contacts if you need 3DVision.

 

Thanks, not required, just wanted to get rid of build failure (but some hints within documentation would be helpful for sure). It seems using

 

utils\build.py --stereo=no

 

does the trick

Posted

The build.py script is fixed in 2010-11-19 version of the SDK.

  • 1 month later...
Posted

The build.py script is fixed in 2010-11-19 version of the SDK.

It doesn't work for me (last binary version 2010-11-19) either the trick :)

Posted

Unfortunately, there are still no stereo required functions in public NVApi library.

Posted

Unfortunately, there are still no stereo required functions in public NVApi library.

 

Someone could share the full version with me? I'm still waiting for a reply of my NVIDIA account manager to get the full version because I'm not able to find that version in https://nvdeveloper.nvidia.com :blink:

Thank you for the quick reply!

×
×
  • Create New...