cling icon indicating copy to clipboard operation
cling copied to clipboard

32 Bit Compilation with Visual Studio2015 throws compilation errors

Open DonRomanos opened this issue 7 years ago • 3 comments

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. image 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.

DonRomanos avatar Apr 06 '17 13:04 DonRomanos

We should be able to compile it, could you submit a patch for this (currently I don't have a 32 bit machine)?

vgvassilev avatar Apr 06 '17 17:04 vgvassilev

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 &

ThatAIGeek avatar Aug 22 '17 20:08 ThatAIGeek

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

ThatAIGeek avatar Aug 31 '17 08:08 ThatAIGeek