openkore icon indicating copy to clipboard operation
openkore copied to clipboard

generator.exe is now working

Open ya4ept opened this issue 4 years ago • 5 comments

generator.exe does not work. At startup, it gives an error: image because it by default looks for file 1.pl which doesn't exist.

The generator.exe should actually run the generator.pl: I fixed it: image


Known issues:

  • [ ] The resulting file cannot pass command line parameters
  • [ ] replace "ActivePerl" with "StrawberryPerl" ?

ya4ept avatar Jul 30 '21 07:07 ya4ept

mingw32-make.exe
g++ -Wall launcher.cpp utils.cpp core.cpp hstring.c ui.o -o launcher.exe -mno-cygwin -s
launcher.cpp: In function 'int main(int, char**)':
launcher.cpp:71: warning: deprecated conversion from string constant to 'char*'

but the launcher.exe file is generated

ya4ept avatar Aug 29 '22 00:08 ya4ept

some dlls is missing, maybe need to add flags in compile to include it image

alisonrag avatar Aug 29 '22 13:08 alisonrag

what about? https://stackoverflow.com/a/12922118

alisonrag avatar Aug 29 '22 13:08 alisonrag

some dlls is missing, maybe need to add flags in compile to include it image

@ya4ept

alisonrag avatar Sep 03 '22 18:09 alisonrag

I do recommend use library instead dlls. About import! Then the suggestion is remove other functions and leave only necessary to run the code maybe after reach kernelbase

ghost avatar Nov 16 '22 22:11 ghost