Jump to content
  • 0
anacondaq

Portable Hercules Compiler for Windows 10 (189MB only)

Question

 

As you see on the video above, the compiler works PERFECTLY fine on Windows for Hercules.
I think this small and very easy to use thing will be very helpful for people which care about their storage, and bandwidth.

Idea

Create a package of code compiler for the emulator, which took up little space,
and will as portable as possible, it will not require installation, and which can be stored on a USB flash drive.

 

Download Link: MEGA or Google Drive (189MB)

How to use?

Like on Linux, but on windows (thx to Cygwin)

  1.  Download, extract, run start_console.cmd
  2.  cd D:\path\to\your\emulator
  3. make clean && ./configure && make server
  4. wait when compilation will finish
  5. ./run-server.bat
  6. make sure that your SQL server is working fine (if you don't have any install, or take OpenServer from RO offline pack)

If you wish to run a server outside the Cygwin environment, you need a lot of dlls copy-paste from /bin/ folder to emulator
I give up to finish it and fix rAthena compiler issue (because the issue with CMake files, they are weird), because I have no time and it's out of my interest.

Extra Notes
Request: please, someone who can fix the rAthena to make work with this release.
189MB compiler is very helpful, because not need to download 1.9GB for lite MSBuild, and ~8-9GB for Visual Studio. Feel the difference.

 

  • Note: cygwin always slower than original native code.
  • Note: rAhena can't compile with -stl=c++11, use -stl=gnu++11
  • Note: even with this -stl=gnu+11 you will get a crash a char-server, if you are a developer, try to debug it by yourself and fix, this is rAthena issue, not a package issue.
  • Note: tested: hercules, eathena, brathena, 3ceam -> works fine without any issues, even in gdb mode.

 

 

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

can you help us, like newbie said it throws me this "make: *** No rule to make target 'clean'.  Stop." after i input "make clean && ./configure && make server"

Share this post


Link to post
Share on other sites
  • 0
15 hours ago, heroji said:

I got this error when trying to recompile please help me..

https://imgur.com/vtbrx73

I think its because we dont have anything to  clean on first run. I only ran this: ./configure && make server ...

after that I ran         make sql

 

Edited by ippo20

Share this post


Link to post
Share on other sites
  • 0
On 4/9/2020 at 9:03 PM, ippo20 said:

I think its because we dont have anything to  clean on first run. I only ran this: ./configure && make server ...

after that I ran         make sql

 

yours worked mate? mine threw this error

 

./configure: line 15: $'\r': command not found
./configure: line 30: syntax error near unexpected token `newline'
'/configure: line 30: `     ;;

 

 

On 4/15/2019 at 2:38 PM, anacondaq said:

 

As you see on the video above, the compiler works PERFECTLY fine on Windows for Hercules.
I think this small and very easy to use thing will be very helpful for people which care about their storage, and bandwidth.

Idea

Create a package of code compiler for the emulator, which took up little space,
and will as portable as possible, it will not require installation, and which can be stored on a USB flash drive.

 

Download Link: MEGA or Google Drive (189MB)

How to use?

Like on Linux, but on windows (thx to Cygwin)

  1.  Download, extract, run start_console.cmd
  2.  cd D:\path\to\your\emulator
  3. make clean && ./configure && make server
  4. wait when compilation will finish
  5. ./run-server.bat
  6. make sure that your SQL server is working fine (if you don't have any install, or take OpenServer from RO offline pack)

If you wish to run a server outside the Cygwin environment, you need a lot of dlls copy-paste from /bin/ folder to emulator
I give up to finish it and fix rAthena compiler issue (because the issue with CMake files, they are weird), because I have no time and it's out of my interest.

Extra Notes
Request: please, someone who can fix the rAthena to make work with this release.
189MB compiler is very helpful, because not need to download 1.9GB for lite MSBuild, and ~8-9GB for Visual Studio. Feel the difference.

 

  • Note: cygwin always slower than original native code.
  • Note: rAhena can't compile with -stl=c++11, use -stl=gnu++11
  • Note: even with this -stl=gnu+11 you will get a crash a char-server, if you are a developer, try to debug it by yourself and fix, this is rAthena issue, not a package issue.
  • Note: tested: hercules, eathena, brathena, 3ceam -> works fine without any issues, even in gdb mode.

 

 

can you help us with this, seems not working

Share this post


Link to post
Share on other sites
  • 0

Note: i tried the compiler few weeks ago, and it does not work. I do not have a time for fixing problems, I think something changed on hercules side, and make does not work properly anymore like it was for a long time. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.