eventhorizon5 / skyscraper

The Skyscraper Project (Skyscrapersim) - an open source building, city, and elevator simulator
https://www.skyscrapersim.net
GNU General Public License v2.0
30 stars 7 forks source link

[Compatibility Request] #63

Open Reyhankeselek opened 1 week ago

Reyhankeselek commented 1 week ago

Can you compile this on java and make the output file .jar ? Or even better port this to android.

gothickitty93 commented 1 week ago

Please do the needful and port to FreeBSD

eventhorizon5 commented 1 week ago

Can you compile this on java and make the output file .jar ? Or even better port this to android.

I've wanted to port it to iOS and Android, it mainly lacks touch controls and relies on wxWidgets. It can be compiled with java if you have a frontend Java wrapper that calls the C++ code, this might be easier to do now due to the code restructuring I recently did, since the frontend code is now broken out into components.

Reyhankeselek commented 1 week ago

How does that work can you compile it?

eventhorizon5 commented 1 week ago

How does that work can you compile it?

You can't compile it in java because it's written in the C++ language. You can compile it in C++ though, I have the instructions for that on GitHub (see the Compiling.md file).

eventhorizon5 commented 1 week ago

Here's the compiling doc, it's probably easiest to build on Linux but builds on Windows and Mac too. https://github.com/eventhorizon5/skyscraper/blob/master/Compiling.md

Reyhankeselek commented 1 week ago

But how do i compile it to android?

eventhorizon5 commented 1 week ago

But how do i compile it to android?

Skyscraper doesn't support Android yet, it needs to be ported over to that platform first. Currently you can't compile it to android or iOS.