flat assembler
Message board for the users of flat assembler.
Index
> Windows > Linking FASM with VS2017 libs |
Author |
|
donn 19 Sep 2017, 02:52
Really doubt this would be relevant, but I updated to VS 2017 community a while back when converting my COFFs from 32->64 bit and had to change my (probably sloppy) link script:
Code: REM CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" AMD64 cd C:\Asm cl /c /EHsc /Gd cpp.cpp /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" link /LARGEADDRESSAWARE /MACHINE:X64 /SUBSYSTEM:WINDOWS /OUT:Executable.exe /ENTRY:start Executable.obj cpp.obj "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\um\x64\User32.Lib" "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\um\x64\Kernel32.Lib" "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\um\x64\d3d11.lib" "C:\Program Files (x86)\AMD APP SDK\3.0\lib\x86_64\OpenCL.lib" /LIBPATH:"C:\Program Files (x86)\AMD APP SDK\3.0\lib\x86_64" Executable.exe I don't use the msvcrt.lib directly, but ucrt.lib is here: C:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\ucrt\x64. My setup is pretty minimal but just got through some linking nightmares recently myself. Good luck! |
|||
19 Sep 2017, 02:52 |
|
system error 09 Oct 2017, 19:45
I forgot about this thread.
Thanks for helping out, donn. I'll give "ucrt.lib" it a try. |
|||
09 Oct 2017, 19:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.