Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make-msvc.bat not working #15

Closed
nvonbulow opened this issue Apr 11, 2014 · 2 comments
Closed

make-msvc.bat not working #15

nvonbulow opened this issue Apr 11, 2014 · 2 comments

Comments

@nvonbulow
Copy link

c:\program files (x86)\microsoft visual studio 11.0\vc\bin>cd C:\Users\Nicki\Desktop\2048-ai-master

C:\Users\Nicki\Desktop\2048-ai-master>make-msvc

C:\Users\Nicki\Desktop\2048-ai-master>cl /W1 /O2 /Gd /MD /D _WINDLL /EHsc /nologo 2048.cpp /Fo:bin\2048.obj /link /OUT:bin\2048.exe
2048.cpp
C:\Users\Nicki\Desktop\2048-ai-master\2048.cpp : fatal error C1083: Cannot open
compiler generated file: ':bin\2048.obj': Invalid argument

C:\Users\Nicki\Desktop\2048-ai-master>cl /nologo bin\2048.obj /link /DLL /OUT:bin\2048.so
LINK : fatal error LNK1181: cannot open input file 'bin\2048.obj'

C:\Users\Nicki\Desktop\2048-ai-master>

I get this error when running with VSCMD prompt.

@nneonneo
Copy link
Owner

Can you try removing the colon after /Fo (to make it /Fobin\2048.obj) and
try again?
On Apr 11, 2014 7:56 AM, "101timjim" notifications@github.com wrote:

c:\program files (x86)\microsoft visual studio 11.0\vc\bin>cd C:\Users\Nicki\Desktop\2048-ai-master

C:\Users\Nicki\Desktop\2048-ai-master>make-msvc

C:\Users\Nicki\Desktop\2048-ai-master>cl /W1 /O2 /Gd /MD /D _WINDLL /EHsc /nologo 2048.cpp /Fo:bin\2048.obj /link /OUT:bin\2048.exe
2048.cpp
C:\Users\Nicki\Desktop\2048-ai-master\2048.cpp : fatal error C1083: Cannot open
compiler generated file: ':bin\2048.obj': Invalid argument

C:\Users\Nicki\Desktop\2048-ai-master>cl /nologo bin\2048.obj /link /DLL /OUT:bin\2048.so
LINK : fatal error LNK1181: cannot open input file 'bin\2048.obj'

C:\Users\Nicki\Desktop\2048-ai-master>


Reply to this email directly or view it on GitHubhttps://github.com//issues/15
.

@nvonbulow
Copy link
Author

that works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants