fundsopk.blogg.se

Linux to windows software wrapper
Linux to windows software wrapper









linux to windows software wrapper

Note if you’ve never used a terminal before, it’s just the application called “Terminal” on your Mac. Take this file and copy it to where your Matlab files are located (CEE 6200 students, it should already be in the right directory). The file libborg.so is the shared library that we’re looking for. Gcc -shared -o libborg.so borg.o mt19937ar.o Open a terminal and navigate to the directory where you put your Borg files. We really only need the gcc compiler, but it won’t hurt to install the whole package.Īfter installing XCode, we need to compile Borg as a shared library. If you don’t already have it, go install XCode, which is Apple’s software development kit. This is ok, because we need a compiler for the rest of the steps anyway. The Windows version comes with pre-compiled shared libraries, but the OSX version does not. Students in CEE 6200 will have received these files in a zip folder (be sure to grab the OSX folder rather than the Windows one). You will need the full source code ( borg.c, borg.h, mt19937.c, mt19937.h) for the serial version of Borg, as well as three additional files: borg.m, DTLZ2.m,and nativeborg.cpp. Windows users should refer to this post instead. This post will describe how to compile and use it on OSX (and, to a lesser extent, Linux) thanks to Joe, who figured all of this out. The Borg MOEA is written in C, but thanks to Dave, a Matlab wrapper is now available.











Linux to windows software wrapper