Download:


Add to PATH variable

Make sure compiler on machine


Add to PATH


Run the “vcvars64.bat” below from command line


https://me.sap.com/notes/2573953
https://learn.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170&redirectedfrom=MSDN
C:\nwrfcsdk\demo>set INCLUDE=%INCLUDE%;C:\nwrfcsdk\include
C:\nwrfcsdk\demo>cl.exe -DSAPonNT -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_AFXDLL -DWIN32 -D_WIN32_WINNT=0x0502 -DWIN64 -D_AMD64_ -DNDEBUG -DSAPwithUNICODE -DUNICODE -D_UNICODE -DSAPwithTHREADS -Inwrfcsdk/include -EHs -Gy -J -MD -nologo -W3 -Z7 -D_ATL_ALLOW_CHAR_UNSIGNED -GL -O2 -Oy- /we4552 /we4700 /we4789 -c -FosflightClient.obj sflightClient.c
C:\nwrfcsdk\demo>set LIB=%LIB%;C:\nwrfcsdk\lib
C:\nwrfcsdk\demo>link.exe -OUT:sflightClient.exe -PDB:sflightClient.pdb -NXCOMPAT -STACK:0x2000000 -SWAPRUN:NET -DEBUG -OPT:REF -DEBUGTYPE:CV,FIXUP -MACHINE:amd64 -nologo -LTCG ole32.lib oleaut32.lib uuid.lib kernel32.lib advapi32.lib user32.lib gdi32.lib winspool.lib ws2_32.lib comdlg32.lib shell32.lib sflightClient.obj sapnwrfc.lib libsapucum.lib

