Compiling Monk on Linux
Monkey Archive Forums/Monkey Discussion/Compiling Monk on Linux
| ||
Has anyone been successful in compiling Monk for Linux? I just tried with BlitzMax. The first problem is a reference to a non-existing window_icon.png on line 37. After putting a dummy image there, it does compile but segfaults. I'll probably start looking into it when I get a few days off of work, just wondering if anyone else has taken a peek at this or not... |
| ||
Ok, I had a few minutes to play around. I have Monk running on linux! First, I had to create a dummy window_icon.png in src/monk Next, I followed this post http://www.monkeycoder.co.nz/Community/posts.php?topic=1480 and downloaded the trans_linux and makemeta_linux and placed them in the bin folder Lastly, I edited monk.bmx around line 1400 or so, and added: ?linux cmd="./trans_linux" With that, Monk compiles under linux with BlitzMax. I haven't had time to put it through any paces yet, but wanted to post incase others wanted to follow along or join in on getting everything running under Linux. I've seen posts where others have a Linux Target for GLFW and of course posts with patches to get everything else running on linux. With how easy this all seems to be, I still can't figure out why Mark wouldn't just go ahead and make Linux support official... |
| ||
On linux I always found it suboptimal to code in MaxIDE/Monk so I used Gedit with some plugins: http://www.monkeycoder.co.nz/Community/post.php?topic=2260&post=24045 It shouldn't be too hard to set up and you have Textmate style completition, tab triggers and so on. There is also a program out there that converts Textmate bundles to Gedit bundles. |
| ||
how do you compile from gedit? monk is a nice option too thanks |
| ||
I didn't try it with monkey but for BlitzMax i wrote a tutorial for Ubuntu 10.04: http://dl.dropbox.com/u/2892658/dev/gedit_bmax.tar.gz (all files included) The approach shouldn't be too different. |
| ||
Ok, I now have the Monk IDE calling trans_linux and working fully as an IDE. The only change that was needed (aside from the ones listed above) is somewhere around line 6630 you need to add:?Linux transpath=monkeypath+"/bin/trans_linux" ? |