AndersNyman
May 17th, 2009, 21:33
Hi!
My first post here so be nice to me ;)
I´m a artist that do some shader programming when its necissary. (mostly for renderman)
Now I having problems getting visual studio running with my mentelray shaders. Im using Vista 64bit.
This is the steps I have done so far (with no luck):
1. Installed Visual Studio C++ 2008 Express
2. Installed Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5
3. In project properties I have set:
Additional Include Directories:
"C:\Program Files\Microsoft SDKs\Windows\v6.1\Include";"C:\Program Files\Autodesk\Maya2009\devkit\mentalray\include"
Additional Library Directories:
"C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib";"C:\Program Files\Autodesk\Maya2009\devkit\mentalray\lib\nt"
Additional Dependencies:
shader.lib
This is the output I get while building:
1>------ Build started: Project: myMRShader, Configuration: Release Win32 ------
1>Linking...
1> Creating library C:\Users\Anders Nyman\Documents\Visual Studio 2008\mr_shaders\myMRShader\Release\myMRShader.lib and object C:\Users\Anders Nyman\Documents\Visual Studio 2008\mr_shaders\myMRShader\Release\myMRShader.exp
1>myMRShader.obj : error LNK2001: unresolved external symbol _mi_phen_eval
1>myMRShader.obj : error LNK2001: unresolved external symbol _mi_trace_light
1>C:\Users\Anders Nyman\Documents\Visual Studio 2008\mr_shaders\myMRShader\Release\myMRShader.dll : fatal error LNK1120: 2 unresolved externals
1>Build log was saved at "file://c:\Users\Anders Nyman\Documents\Visual Studio 2008\mr_shaders\myMRShader\myMRShader\Release\Buil dLog.htm"
1>myMRShader - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
My first post here so be nice to me ;)
I´m a artist that do some shader programming when its necissary. (mostly for renderman)
Now I having problems getting visual studio running with my mentelray shaders. Im using Vista 64bit.
This is the steps I have done so far (with no luck):
1. Installed Visual Studio C++ 2008 Express
2. Installed Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5
3. In project properties I have set:
Additional Include Directories:
"C:\Program Files\Microsoft SDKs\Windows\v6.1\Include";"C:\Program Files\Autodesk\Maya2009\devkit\mentalray\include"
Additional Library Directories:
"C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib";"C:\Program Files\Autodesk\Maya2009\devkit\mentalray\lib\nt"
Additional Dependencies:
shader.lib
This is the output I get while building:
1>------ Build started: Project: myMRShader, Configuration: Release Win32 ------
1>Linking...
1> Creating library C:\Users\Anders Nyman\Documents\Visual Studio 2008\mr_shaders\myMRShader\Release\myMRShader.lib and object C:\Users\Anders Nyman\Documents\Visual Studio 2008\mr_shaders\myMRShader\Release\myMRShader.exp
1>myMRShader.obj : error LNK2001: unresolved external symbol _mi_phen_eval
1>myMRShader.obj : error LNK2001: unresolved external symbol _mi_trace_light
1>C:\Users\Anders Nyman\Documents\Visual Studio 2008\mr_shaders\myMRShader\Release\myMRShader.dll : fatal error LNK1120: 2 unresolved externals
1>Build log was saved at "file://c:\Users\Anders Nyman\Documents\Visual Studio 2008\mr_shaders\myMRShader\myMRShader\Release\Buil dLog.htm"
1>myMRShader - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========