Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
/ OC-Natives Public archive

Native library used by OpenComputers.

Notifications You must be signed in to change notification settings

MightyPirates/OC-Natives

Repository files navigation

This is a repository containing the C sources used to build the native library that ships with OpenComputers, for anyone interested. As it is, it builds on Windows and Linux. I could/did not test it for MacOS. The gradle script is not necessarily "nice", but it works, which was good enough for me to push this repo. Improvements to it are very much welcome, in particular when it comes to make it work on different platforms out of the box.

Note that to compile the 64 bit version on Windows you'll probably need Visual Studio 2011. At least for me 2010 doesn't come with a 64 bit compiler.

To build the libraries, adjust the paths as necessary (in particular to your JDK), then run

gradlew x86ReleaseNativesSharedLibrary x64ReleaseNativesSharedLibrary

for the release libraries and

gradlew x86DebugNativesSharedLibrary x64DebugNativesSharedLibrary

for the debug libraries.

About

Native library used by OpenComputers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published