cling
cling copied to clipboard
32 Bit Compilation with Visual Studio2015 throws compilation errors
Hello,
I just compiled cling as 64 bit executable on Windows 10, using Visual Studio 2015 and it works fine. However I cannot compile the 32 bit executable due to the following compilation errors in the PlatformWin.cpp file.
The Symbol PRUNTIME_FUNCTION, as well as the functions
- RtlAddFunctionTable
- RtlDeleteFunctionTable
are not defined for 32 bit versions.
They reside in the winnt.h but are encapsulated by an #if defined(AMD64) block. So they can't be accessed in an 32 bit build.
Does this mean it is not possible to compile cling as 32 bit executable using visual studio? I did some research on google but could not find the answer.
We should be able to compile it, could you submit a patch for this (currently I don't have a 32 bit machine)?
Hi! I'd like to compile cling for Windows but I don't know and don't know where I can find it out? what the current state of windows build and if there is any commit that compiles on Windows. Can you help me with the last part @DonRomanos &
Hi!
I understood your problem, but I had another one. I wasn't able to compile even 64 bit version. Looks like it was some kind of problem in 0.4 release, because I tried to compile again this morning and it worked.
Either way thanks for your response,
Best regards, Andrii