On 6/11/2012 2:38 PM, Mike Pall wrote:
Dimiter 'malkia' Stanev wrote:This is with Windows WDK 7.1, but possibly won't work with msvc/32-bit buildvm_peobj.c e:\p\luajit\src\host\buildvm_arch.h(1202) : error C2039: 'nfpr' : is not a member of 'CCallState' E:\p\luajit\src\lj_ccall.h(125) : see declaration of 'CCallState'Works for me with the Windows SDK 7.0. Please start a Windows SDK Command Shell prompt and try: echo %CPU% echo %PROCESSOR_ARCHITECTURE% --Mike
I see! But I'm using WDK, not SDK. Seems easy to fix it on my side.Btw, I think it's TARGET_CPU and not CPU (at least from the Windows SDK 7.1 setenv.bat)
And PROCESSOR_ARCHITECTURE should be set to the current process bitness,which would be cmd.exe in this case, and on my machine (Windows 7 64-bit) it's AMD64.
Thanks, Mike!