I have installed the most recent .net SDK, but when I
run "setup.py install"
I get the message
"error: the .NET framework SDK needs to be installed
before building extensions for python"
in setup.py I changed:
VC_DIR='C:/Program Files/Microsoft Visual Studio 8/VC'
(this is the closest thing to
'C:/Program Files/Microsoft Visual Studio .NET 2003/vc7'
that is not empty)
I noticed that, later in setup.py:
MATLAB_INCLUDE_DIRS += [VC_DIR + "/include", VC_DIR +
"/PlatformSDK/include"]
and there is no subdirectory that corresponds to
.../PlatformSDK/include from the VC_DIR.
It seems all the .h files under /Microsoft Visual
Studio 8/VC/ are in a single directory. Does anyone
know how to modify this to work with the .NET 2.0 SDK?
Earlier .NET SDKs are deprecated.
Logged In: YES
user_id=1504908
Update on this issue:
I was able to get it to compile by using the instructions w/
mstoolkit: http://www.vrplumber.com/programming/mstoolkit/
One further change should be made in the msvccompiler.py to
account for the new .net sdk version:
self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv1.1")
should be changed to
self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv2.0")
I had to add an additional path for the lib directory as
well in the vc7.bat file, as it otherwise complains that it
can't find msvcrt.lib. So I gave it the lib from visual
studio 8.0:
Set Lib ...spameggs...;C:\Program Files\Microsoft Visual
Studio 8\VC\lib;%LIB%
It then seems to compile. However, I get the new complaint
when I try:
>>import mlabwrap
File "<pyshell#2>", line 1, in ?
import mlabraw
ImportError: DLL load failed: The specified procedure could
not be found.
I'm not clear on where mlabraw comes from... Does this
build on top of a module in PyMat? Where do I get mlabraw?
Logged In: YES
user_id=1504908
Here is the warning I get on compile of
>>python setup.py install
MSVCRT.lib(crtdll.obj) : warning LNK4229: invalid directive
'/manifestdependency
:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitect
ure='x86' publicKeyToken='1fc8b3b9a1e18e3b'' encountered;
ignored
MSVCRT.lib(crtdll.obj) : warning LNK4229: invalid directive
'/manifestdependency
:type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitect
ure='x86' publicKeyToken='1fc8b3b9a1e18e3b'' encountered;
ignored
Anyone have a clue? The msvcrt.lib I am using is the one in
C:\Program Files\Microsoft Visual Studio 8\