Compile in Windows #58

Closed
rickywu opened this Issue Jun 8, 2013 · 3 comments

Projects

None yet

2 participants

@rickywu
rickywu commented Jun 8, 2013

I can't compile with VC 2005:
-Fdautoload\ -Foautoload\ autoload\proc_w32.c
'-Fdautoload' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: '-Fdautoload' : return code '0x1'
Stop.

But I can compile in Cygwin.

Thanks

@Shougo
Owner
Shougo commented Jun 9, 2013

Can you build vimproc in "make_msvc32.mak"?
I think you tried it in "Make_msvc.mak".
"Make_msvc.mak" is not supported old version of Visual Studio.

@Shougo
Owner
Shougo commented Jun 9, 2013

You must build like this:

 $ SET INCLUDE=%INCLUDE%;C:\Program Files\Microsoft SDKs\Windows\v7.1\Include
 $ SET LIB=%LIB%;C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib
 $ nmake -f make_msvc32.mak
@rickywu
rickywu commented Jun 9, 2013

Thanks, I found should use VS command prompt to setup environment and issue nmake command, just setup INCLUDE and LIB not work in VC 2008.

@Shougo Shougo closed this Jun 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment