smoge / superfomus

SuperCollider bindings to Fomus Music Notation
GNU General Public License v3.0
24 stars 4 forks source link

Difficulty running FOMUS Class Examples #3

Open heretogo opened 4 years ago

heretogo commented 4 years ago

I'm unable to call f.ly, f.midi or f.xml. I see the problem is that the fomus executable is not present in my system's path. I am specifying the correct LilyPond and PDF viewer paths.

I am having difficulty installing fomus-0.1.18-alpha.pkg on Catalina. The package doesn't want to load. So... trying to build from source (using a staged custom built boostlib) and it's failing with:

octs.cc:125:72: error: no member named 'prior' in namespace 'boost'
        for (std::vector<scorenode>::const_iterator i(arr.begin()), ie(boost::prior(arr.end())); i != arr.end(); ++i) {
                                                                       ~~~~~~~^
octs.cc:129:40: error: no member named 'next' in namespace 'boost'; did you mean 'std::next'?
          mx += octchange(i, (i == ie ? n2 : *boost::next(i)->node), n2) * i->dist;
                                              ^~~~~~~~~~~
                                              std::next
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:620:1: note: 'std::next' declared here
next(_InputIter __x,
^
2 errors generated.

I can see that FOMUS is rather old and unmaintained. Pretty sure it's expecting a much older boostlib. Are you in touch with the FOMUS developers at all @smoge?

I notice a lot of older software is now broken with Catalina update. Would be happy to contribute a PR somewhere but somewhat blocked. Any help would be appreciated.

heretogo commented 4 years ago

Also... I wonder if we can convince the maintainers to move FOMUS out of Sourceforge and into GitHub.

madskjeldgaard commented 2 years ago

I'm unable to call f.ly, f.midi or f.xml. I see the problem is that the fomus executable is not present in my system's path. I am specifying the correct LilyPond and PDF viewer paths.

I am having difficulty installing fomus-0.1.18-alpha.pkg on Catalina. The package doesn't want to load. So... trying to build from source (using a staged custom built boostlib) and it's failing with:

octs.cc:125:72: error: no member named 'prior' in namespace 'boost'
        for (std::vector<scorenode>::const_iterator i(arr.begin()), ie(boost::prior(arr.end())); i != arr.end(); ++i) {
                                                                       ~~~~~~~^
octs.cc:129:40: error: no member named 'next' in namespace 'boost'; did you mean 'std::next'?
          mx += octchange(i, (i == ie ? n2 : *boost::next(i)->node), n2) * i->dist;
                                              ^~~~~~~~~~~
                                              std::next
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:620:1: note: 'std::next' declared here
next(_InputIter __x,
^
2 errors generated.

I can see that FOMUS is rather old and unmaintained. Pretty sure it's expecting a much older boostlib. Are you in touch with the FOMUS developers at all @smoge?

I notice a lot of older software is now broken with Catalina update. Would be happy to contribute a PR somewhere but somewhat blocked. Any help would be appreciated.

I tried this just now as well with latest boost (1.78) here and ran into the same issues.

heretogo commented 2 years ago

I'm unable to call f.ly, f.midi or f.xml. I see the problem is that the fomus executable is not present in my system's path. I am specifying the correct LilyPond and PDF viewer paths. I am having difficulty installing fomus-0.1.18-alpha.pkg on Catalina. The package doesn't want to load. So... trying to build from source (using a staged custom built boostlib) and it's failing with:

octs.cc:125:72: error: no member named 'prior' in namespace 'boost'
        for (std::vector<scorenode>::const_iterator i(arr.begin()), ie(boost::prior(arr.end())); i != arr.end(); ++i) {
                                                                       ~~~~~~~^
octs.cc:129:40: error: no member named 'next' in namespace 'boost'; did you mean 'std::next'?
          mx += octchange(i, (i == ie ? n2 : *boost::next(i)->node), n2) * i->dist;
                                              ^~~~~~~~~~~
                                              std::next
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:620:1: note: 'std::next' declared here
next(_InputIter __x,
^
2 errors generated.

I can see that FOMUS is rather old and unmaintained. Pretty sure it's expecting a much older boostlib. Are you in touch with the FOMUS developers at all @smoge? I notice a lot of older software is now broken with Catalina update. Would be happy to contribute a PR somewhere but somewhat blocked. Any help would be appreciated.

I tried this just now as well with latest boost (1.78) here and ran into the same issues.

Is there a modern alternative notation package in SuperCollider comparable to BACH? I see there's an XMLNote Class in CTK.

madskjeldgaard commented 2 years ago

Yeah this works quite well https://github.com/n-armstrong/fosc