{"action":"created","issue":{"url":"https://api.github.com/repos/rism-ch/verovio/issues/296","repository_url":"https://api.github.com/repos/rism-ch/verovio","labels_url":"https://api.github.com/repos/rism-ch/verovio/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/rism-ch/verovio/issues/296/comments","events_url":"https://api.github.com/repos/rism-ch/verovio/issues/296/events","html_url":"https://github.com/rism-ch/verovio/issues/296","id":178022765,"number":296,"title":"Windows compiling problems","user":{"login":"sonovice","id":8217108,"avatar_url":"https://avatars.githubusercontent.com/u/8217108?v=3","gravatar_id":"","url":"https://api.github.com/users/sonovice","html_url":"https://github.com/sonovice","followers_url":"https://api.github.com/users/sonovice/followers","following_url":"https://api.github.com/users/sonovice/following{/other_user}","gists_url":"https://api.github.com/users/sonovice/gists{/gist_id}","starred_url":"https://api.github.com/users/sonovice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonovice/subscriptions","organizations_url":"https://api.github.com/users/sonovice/orgs","repos_url":"https://api.github.com/users/sonovice/repos","events_url":"https://api.github.com/users/sonovice/events{/privacy}","received_events_url":"https://api.github.com/users/sonovice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-09-20T10:26:25Z","updated_at":"2016-09-22T00:27:03Z","closed_at":null,"body":"Sorry for always coming up with this, but ~~verovio is a real diva when it comes to Windows~~ Windows is a real diva when it comes to verovio.\r\nAfter I have already given up to use the python wrapper, I now wanted to simply compile the CLI tool with Visual Studio 2015.\r\n\r\nHere is what I did:\r\n\r\n```\r\ncd tools\r\ncmake . -DNO_PAE_SUPPORT=ON -DNO_HUMDRUM_SUPPORT=ON\r\n```\r\n\r\nThen I opened the generated solution `Verovio.sln` in VS 2015, selected \"Release Win32\" and hit \"Build\".\r\nThe compiler now seems to be caught in an endless loop, it just never finishes and the log messages repeat themselves.\r\nAmong the first few lines, this error comes up:\r\n```\r\n\\tools\\main.cpp(9): fatal error C1083: Cannot open include file: 'getopt.h': No such file or directory\r\n```\r\n\r\nIs there any way to improve the general Windows compatibility of this project? Maybe automated tests in a VM? I would be really glad to help, but I don't know where to start."},"comment":{"url":"https://api.github.com/repos/rism-ch/verovio/issues/comments/248780937","html_url":"https://github.com/rism-ch/verovio/issues/296#issuecomment-248780937","issue_url":"https://api.github.com/repos/rism-ch/verovio/issues/296","id":248780937,"user":{"login":"craigsapp","id":3487289,"avatar_url":"https://avatars.githubusercontent.com/u/3487289?v=3","gravatar_id":"","url":"https://api.github.com/users/craigsapp","html_url":"https://github.com/craigsapp","followers_url":"https://api.github.com/users/craigsapp/followers","following_url":"https://api.github.com/users/craigsapp/following{/other_user}","gists_url":"https://api.github.com/users/craigsapp/gists{/gist_id}","starred_url":"https://api.github.com/users/craigsapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigsapp/subscriptions","organizations_url":"https://api.github.com/users/craigsapp/orgs","repos_url":"https://api.github.com/users/craigsapp/repos","events_url":"https://api.github.com/users/craigsapp/events{/privacy}","received_events_url":"https://api.github.com/users/craigsapp/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T00:27:02Z","updated_at":"2016-09-22T00:27:02Z","body":"If you define` _NO_HUMDRUM_SUPPORT_` the following warnings should disappear.   You could add the line:\r\n```\r\n    #define _NO_HUMDRUM_SUPPORT_ \r\n```\r\nat the top of `src/iohumdrum.cpp` to force suppression of the code (but maybe that will not suppress compiling humlib.cpp, in which case you can remove it for compiling in AppVeyor or in setup.py).  I will try out AppVeyor and see how to fix or suppress the warnings:\r\n\r\n```\r\nC:\\projects\\verovio\\src\\hum\\humlib.cpp(1837): warning C4311: 'type cast': pointer truncation from 'void *' to 'hum::TEMP64BITFIX' [C:\\projects\\verovio\\tools\\verovio.vcxproj]\r\nC:\\projects\\verovio\\src\\hum\\humlib.cpp(1837): warning C4302: 'type cast': truncation from 'void *' to 'hum::TEMP64BITFIX' [C:\\projects\\verovio\\tools\\verovio.vcxproj]\r\nC:\\projects\\verovio\\src\\hum\\humlib.cpp(1837): warning C4311: 'type cast': pointer truncation from 'hum::_HumInstrument *' to 'hum::TEMP64BITFIX' [C:\\projects\\verovio\\tools\\verovio.vcxproj]\r\nC:\\projects\\verovio\\src\\hum\\humlib.cpp(1837): warning C4302: 'type cast': truncation from 'hum::_HumInstrument *' to 'hum::TEMP64BITFIX' [C:\\projects\\verovio\\tools\\verovio.vcxproj]\r\nC:\\projects\\verovio\\src\\hum\\humlib.cpp(11355): warning C4503: 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Insert_hint': decorated name length exceeded, name was truncated [C:\\projects\\verovio\\tools\\verovio.vcxproj]\r\n          with\r\n          [\r\n              _Kty=std::string,\r\n              _Ty=std::map<std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>,std::less<std::string>,std::allocator<std::pair<const std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>>>>,\r\n              _Pr=std::less<std::string>,\r\n              _Alloc=std::allocator<std::pair<const std::string,std::map<std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>,std::less<std::string>,std::allocator<std::pair<const std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>>>>>>\r\n          ]\r\nC:\\projects\\verovio\\src\\hum\\humlib.cpp(11355): warning C4503: 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Insert_at': decorated name length exceeded, name was truncated [C:\\projects\\verovio\\tools\\verovio.vcxproj]\r\n          with\r\n          [\r\n              _Kty=std::string,\r\n              _Ty=std::map<std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>,std::less<std::string>,std::allocator<std::pair<const std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>>>>,\r\n              _Pr=std::less<std::string>,\r\n              _Alloc=std::allocator<std::pair<const std::string,std::map<std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>,std::less<std::string>,std::allocator<std::pair<const std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>>>>>>\r\n          ]\r\nC:\\projects\\verovio\\src\\hum\\humlib.cpp(11355): warning C4503: 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Insert_nohint': decorated name length exceeded, name was truncated [C:\\projects\\verovio\\tools\\verovio.vcxproj]\r\n          with\r\n          [\r\n              _Kty=std::string,\r\n              _Ty=std::map<std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>,std::less<std::string>,std::allocator<std::pair<const std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>>>>,\r\n              _Pr=std::less<std::string>,\r\n              _Alloc=std::allocator<std::pair<const std::string,std::map<std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>,std::less<std::string>,std::allocator<std::pair<const std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>>>>>>\r\n          ]\r\nC:\\projects\\verovio\\src\\hum\\humlib.cpp(11355): warning C4503: 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Buynode_if_nil': decorated name length exceeded, name was truncated [C:\\projects\\verovio\\tools\\verovio.vcxproj]\r\n          with\r\n          [\r\n              _Kty=std::string,\r\n              _Ty=std::map<std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>,std::less<std::string>,std::allocator<std::pair<const std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>>>>,\r\n              _Pr=std::less<std::string>,\r\n              _Alloc=std::allocator<std::pair<const std::string,std::map<std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>,std::less<std::string>,std::allocator<std::pair<const std::string,std::map<std::string,hum::HumParameter,std::less<std::string>,std::allocator<std::pair<const std::string,hum::HumParameter>>>>>>>>\r\n```"}}
{"actor":{"display_login":"craigsapp"}}