fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.36k stars 214 forks source link

How to build/compile #175

Open joshbenton opened 6 years ago

joshbenton commented 6 years ago

I'm just getting started with bug.n, but seems to be a very powerful program. The extensive effort is much appreciated!

I'm looking to rebuild/compile bug.n, as running Main.ahk runs significantly slower (unusable). It's likely due to the fact that I'm running 8 monitors. bugn.exe runs great however, but I need to be able to modify Config.ini. So I'm left with needing to recompile the source.

I've tried running build.ahk, but it does not generate a new bugn.exe. I get the following Ahk2Exe message and build log: ahk2exe cmd line params build-log.txt

Any help/advice/guidance for compiling the source?

Thanks!

joten commented 6 years ago

Do you have to edit the source, e.g. Config.ahk? Editing Config.ini and running bugn.exe with it should be fine.

Maybe commit bd2b162 resolves the issue. You may also run Ahk2Exe manually, set the paths correspondingly and compile bug.n this way. -- I am currently not using Windows and therefor cannot test.

(Since you seem not to use mpress, the resulting exe should be about twice the size of the one provided with the latest release.)

jloow commented 5 years ago

I ran into this problem when trying to compile the master branch. However, as you noted, this problem seems to be solved in the X branch.

joten commented 5 years ago

I revised the build script with version 9.0.2. If you still need to re-compile bug.n, please have a try and post any results here. I also "back-ported" the 'per-monitor display awareness' feature to the master branch; the X branch will get a bit unstable in the near future.