Skip to content

Building MUSCLE

Robert Edgar edited this page Aug 22, 2024 · 16 revisions

Where is the Makefile?

The Makefile is generated from the muscle.vcxproj Visual Studio project file using vcxproj_make.py.

Building under Linux and OSX

Change to the src/ directory and run ./build_linux.bash or ./build_osx.bash.

Building using a GitHub workflow

See .github/workflows directory of the repo for .yml files.

Building under Visual Studio on Windows

You can use the free edition of Visual Studio for C++. Open the muscle.sln solution file, select Release configuration for the x64 platform and run Build Solution (F7).

Building under Cygwin on Windows

I don't generally do this because the native Windows executable compiled by Visual Studio is compatible with Cygwin (though of course Cygwin paths are not interpreted, you must use native Windows paths). Using the native gcc package for Cygwin seems to produce a 32-bit exe which is limited to 2Gb RAM. You can probably compile a 64-bit exe using the mingw64-x86_64-gcc package; I haven't investigated this. Please let me know if you can provide a robust recipe for compiling a 64-bit exe with OpenMP under Cygwin.