Hi, i was trying to compile flext on windows using the standard build instruction
build pd msvc
Though this gives me a linker error:
link /DLL /nologo /INCREMENTAL:NO C:\WINDOWS\Microsoft.NET\Framework\v2
.0.50727 /LIBPATH:"C:\pd"\bin flbase.obj flext.obj flbuf.obj fldsp.obj
fllib.obj
flxlet.obj flattr.obj flattr_ed.obj flsupport.obj flutil.obj
flatom.obj flato
m_pr.obj flthr.obj fltimer.obj flsimd.obj flout.obj flatom_part.obj
flitem.obj
flmeth.obj flmsg.obj flproxy.obj flqueue.obj flbind.obj flmap.obj
pd.lib pthre
adVC.lib /out:flext-pd.dll
LINK : fatal error LNK1104: cannot open file
'C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727'
NMAKE : fatal error U1077: 'link' : return code '0x450'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform SDK for
Windows
Server 2003 R2\Bin\nmake.exe"' : return code '0x2'
Stop.
This is on a windows xp computer. The file that cannot be found is not a file but a directory, but it exists and is filled with the files i assume should be there. (hard to know for sure of course)
Is this a known mistake? It would be easiest if i just did something wrong, of course :-)
regards,
yvan vander sanden
Hi Yvan,
honestly said, i have no idea. I don't know why the linker wants to
link in a .NET library.
Which VC++ is this? An which flext version (cvs or packaged)?
greetings, Thomas
Am 22.10.2006 um 21:32 schrieb Yvan Vander Sanden:
Hi, i was trying to compile flext on windows using the standard
build instructionbuild pd msvc
Though this gives me a linker error:
link /DLL /nologo /INCREMENTAL:NO C:\WINDOWS\Microsoft.NET \Framework\v2 .0.50727 /LIBPATH:"C:\pd"\bin flbase.obj flext.obj flbuf.obj
fldsp.obj fllib.obj flxlet.obj flattr.obj flattr_ed.obj flsupport.obj flutil.obj
flatom.obj flato m_pr.obj flthr.obj fltimer.obj flsimd.obj flout.obj
flatom_part.obj flitem.obj flmeth.obj flmsg.obj flproxy.obj flqueue.obj flbind.obj flmap.obj
pd.lib pthre adVC.lib /out:flext-pd.dll LINK : fatal error LNK1104: cannot open file 'C:\WINDOWS \Microsoft.NET\Framework \v2.0.50727' NMAKE : fatal error U1077: 'link' : return code '0x450' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform
SDK for Windows Server 2003 R2\Bin\nmake.exe"' : return code '0x2' Stop.This is on a windows xp computer. The file that cannot be found is
not a file but a directory, but it exists and is filled with the
files i assume should be there. (hard to know for sure of course)Is this a known mistake? It would be easiest if i just did
something wrong, of course :-)regards,
yvan vander sanden
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Thomas Grill http://grrrr.org
Thomas Grill wrote:
Hi Yvan, honestly said, i have no idea. I don't know why the linker wants to
link in a .NET library. Which VC++ is this? An which flext version (cvs or packaged)?
It is the msvc++ 2005 express edition (version 8.0.50727.42) It is the one you can download for free nowadays. It comes with the .NET framework version 2.0.50727.
And i've downloaded the flext as a package, version 0.5.0
Below is the content of the file vsvars32.bat. Maybe that is of interest?
Regards, yvan
@SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8 @SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8\VC @SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework @SET FrameworkVersion=v2.0.50727 @SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0 @if "%VSINSTALLDIR%"=="" goto error_no_VSINSTALLDIR @if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR
@echo Setting environment for using Microsoft Visual Studio 2005 x86 tools.
@rem @rem Root of Visual Studio IDE installed files. @rem @set DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
@set PATH=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;%PATH% @set INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE;%INCLUDE% @set LIB=C:\Program Files\Microsoft Visual Studio 8\VC\LIB;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib;%LIB% @set LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
@goto end
:error_no_VSINSTALLDIR @echo ERROR: VSINSTALLDIR variable is not set. @goto end
:error_no_VCINSTALLDIR @echo ERROR: VCINSTALLDIR variable is not set. @goto end
:end
Hi Yvan, that version actually works for me.... have you got the separately downloadable platform sdk installed? greetings, Thomas
Yvan Vander Sanden schrieb:
Thomas Grill wrote:
Hi Yvan, honestly said, i have no idea. I don't know why the linker wants to
link in a .NET library. Which VC++ is this? An which flext version (cvs or packaged)?It is the msvc++ 2005 express edition (version 8.0.50727.42) It is the one you can download for free nowadays. It comes with the .NET framework version 2.0.50727.
And i've downloaded the flext as a package, version 0.5.0
Below is the content of the file vsvars32.bat. Maybe that is of interest?
Regards, yvan
@SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8 @SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8\VC @SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework @SET FrameworkVersion=v2.0.50727 @SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0 @if "%VSINSTALLDIR%"=="" goto error_no_VSINSTALLDIR @if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR
@echo Setting environment for using Microsoft Visual Studio 2005 x86 tools.
@rem @rem Root of Visual Studio IDE installed files. @rem @set DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
@set PATH=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;%PATH% @set INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE;%INCLUDE% @set LIB=C:\Program Files\Microsoft Visual Studio 8\VC\LIB;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib;%LIB% @set LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
@goto end
:error_no_VSINSTALLDIR @echo ERROR: VSINSTALLDIR variable is not set. @goto end
:error_no_VCINSTALLDIR @echo ERROR: VCINSTALLDIR variable is not set. @goto end
:end
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thomas Grill wrote:
Hi Yvan, that version actually works for me.... have you got the separately downloadable platform sdk installed? greetings, Thomas
Just for reference, i thought i'd explain the solution to the list.
The platform sdk was installed on my system. But I (also) needed the microsoft.NET Framework SDK version 2.0. I only had the runtime version installed. Then I needed to run the command prompt provided by the Framework or execute sdkvars.bat from the directory Microsoft Visual Studio 8/SDK/v2.0/Bin. If I run vcvars32.bat, like suggested in the build.txt file that comes with flext, I still get the same error.
Maybe it would be good to mention the sdkvars.bat thing in the build.txt file?
Regards,
yvan vander sanden