Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile abcm2ps using Visual Studio 2015 #4

Closed
ciacob opened this issue Jan 26, 2017 · 5 comments
Closed

Compile abcm2ps using Visual Studio 2015 #4

ciacob opened this issue Jan 26, 2017 · 5 comments
Assignees

Comments

@ciacob
Copy link

ciacob commented Jan 26, 2017

Hello,

Not exactly an issue, but I am trying to compile abcm2ps using Visual Studio 2015 (the free, Community Edition), and I receive hundreds of errors. Have you tried doing that? I don't even know where to start, to fix it.

Thanks,
Claudius

@lewdlime lewdlime self-assigned this Jan 26, 2017
@lewdlime
Copy link
Owner

You're receiving errors because abcm2ps is normally compiled through a Unix or Linux based OS, using the GNU GCC compiler. For you to compile abcm2ps on Windows, you'd either have to use Cygwin or MinGW, and compile using the Makefile from the command line.

Currently, Microsoft's C/C++ compiler toolset isn't usually able to handle UNIX/Linux based Makefile projects, at least not without adapting the source code or build system. On the other hand, lately they've begun to remedy this by beginning to make Windows incorporate UNIX/Linux tools & commands, including the Clang compiler. But for now, you're best off by using one of the 2 compiler suites I mentioned earlier.

If these don't work for you, there are Windows builds of the tools available from the ABC Plus project, as well as Windows builds of abcMIDI.

@ciacob
Copy link
Author

ciacob commented Jan 26, 2017

Thank you for your quick answer. Will the cross-compiled binaries run smoothly on any Windows version (in the range of WinXP - Win10)?

I know there are binaries available for download, but I want to alter the program (I want to use the ABC "Annotation" feature for setting the IDs of the generated SVG elements).

@lewdlime
Copy link
Owner

The binaries work on any Windows OS; I can confirm this having run the programs on Windows XP, 7, 8, 8.1, and 10.

@ciacob
Copy link
Author

ciacob commented Jan 26, 2017

Thanks for the info!

@lewdlime
Copy link
Owner

Don't mention it, anytime :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants