• 0

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

How to use?

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

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.

## Recommended Posts

• 0

start_console.cmd closes right after opening it

##### Share on other sites
• 0

make: *** No rule to make target 'clean'.  Stop.

##### Share on other sites
• 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"

• 0
Posted (edited)

Edited by heroji

##### Share on other sites
• 0
Posted (edited)
15 hours ago, heroji 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

Edited by ippo20

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

How to use?

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

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

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Restore formatting

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

• ### Recently Browsing   0 members

×
• Forums

• #### Documentation

×
• Create New...