scala-network / scala-v7

A cryptocurrency aiming to use blockchain technologies to globally distribute wealth.
Other
83 stars 27 forks source link

Fix for "__memcpy_chk" undefined (Msys/Windows) #56

Closed Teredic closed 4 years ago

Teredic commented 5 years ago

Hello,

I've updated msys and its packages, and now i was unable to compile the windows build.

I got several "__memcpy_chk" undefined errors, and then it stops.

After several research, i found the fix on the loki git

I applied the same change in the CMakeList.txt, but here you can find the same section on the line 643.

You have to remove these 2 lines :

line 644 : if (NOT WIN32) line 649 : endif()

Afterwards it works perfectly and the compilation ends as expected.

Teredic commented 4 years ago

the fix has been added to master