python - Cannot compile .obj file into .exe... LINK : fatal error LNK1104: cannot open file 'python34.lib' -


i'm trying convert python program standalone without bundling. far have:

  • converted script file .c file cython
  • converted .c file .obj file using mvsc compiler

my problem completing last step:

  • converting .obj file .exe

i've used following dos commands:

@echo off :: load compilation environment call "c:\program files (x86)\microsoft visual studio 10.0\vc\vcvarsall.bat"  :: invoke compiler options passed batch file "c:\program files (x86)\microsoft visual studio 10.0\vc\bin\cl.exe %*  :: call mvsc compiler cl /c main.c /nologo /ox /md /w3 /gs- /dndebug -i"c:\python34\include"  -ic:\python34\pc /main.c /link /out:"main.exe" /subsystem:console  /machine:x86 /libpath:"c:\python34\libs" /libpath:"c:\python34\pcbuild"  :: create main.exe out of main.obj cl main.obj -o main.exe 

i following error:

/out:main.exe /out:main.exe main.obj link : fatal error lnk1104: cannot open file 'python34.lib' 


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -