open-license-manager / licensecc

Software licensing, copy protection in C++. It has few dependencies and it's cross-platform.
http://open-license-manager.github.io/licensecc/
BSD 3-Clause "New" or "Revised" License
947 stars 300 forks source link

Doesn't compile in PowerShell on Windows 10 #148

Open leonopulo opened 9 months ago

leonopulo commented 9 months ago

Compilation stops with an error when the command is executed:

extern\license-generator\src\license_generator\lccgen.exe project initialize -t D:/open-license-manager/src/templates -n DEFAULT -p D:/open-license-manager/projects

lccgen file exists. I run it separately - it runs in the PowerShell environment without errors, but it does not generate or output anything. If you run it in a regular Windows environment, it will require the libcrypto-1_1-x64.dll library.

mingw32-make.exe[2]: Entering directory 'D:/open-license-manager/build' [ 40%] generating D:/open-license-manager/projects/DEFAULT/include/licensecc/DEFAULT/public_key.h and D:/open-license-manager/projects/DEFAULT/private_key.rsa if they don't already exist extern\license-generator\src\license_generator\lccgen.exe project initialize -t D:/open-license-manager/src/templates -n DEFAULT -p D:/open-license-manager/projects CMakeFiles\project_initialize.dir\build.make:73: recipe for target 'CMakeFiles/project_initialize' failed mingw32-make.exe[2]: [CMakeFiles/project_initialize] Error -1073741515 mingw32-make.exe[2]: Leaving directory 'D:/open-license-manager/build' CMakeFiles\Makefile2:466: recipe for target 'CMakeFiles/project_initialize.dir/all' failed mingw32-make.exe[1]: [CMakeFiles/project_initialize.dir/all] Error 2 mingw32-make.exe[1]: Leaving directory 'D:/open-license-manager/build' Makefile:178: recipe for target 'all' failed mingw32-make.exe: *** [all] Error 2