Giter VIP home page Giter VIP logo

libmusicxml's People

Contributors

dfober avatar

Watchers

 avatar

libmusicxml's Issues

Visitor sends newline to wrong stream

Please provide any additional information below.

I believe the following function is in error:

void xmlvisitor::visitEnd ( Sxmlelement& elt ) 
{
        if (!elt->empty()) {
                if (elt->size()) {
                        fendl--;
                        cout << fendl;
                }
                fOut << "</" << elt->getName() << ">";
        }
}

The fend is sent to cout causing newlines to show on stdout rather than in my 
file when using the code to output to an ofstream.  Changing cout to fOut fixed 
my problem with this issue.

Original issue reported on code.google.com by [email protected] on 9 Mar 2015 at 2:42

Parameter of yyerror() is const char*?

Dear staff:

Your code raises several warnings in gcc 4.5.x

One of them is that yyerror() receives a "char*" parameter, but you give it a 
double-quotation enclosed C string. This implicit cast has been deprecated. 
Please let yyerror() have a "const char*" string and this warning will 
disappear. Thanks!

Original issue reported on code.google.com by [email protected] on 15 Aug 2013 at 4:26

Sources does't compile. Getting 2 errors

What steps will reproduce the problem?
1. Go to packages directory
2. type: make macos

What is the expected output? What do you see instead?

make exe DEST=libmusicxml-3.00-macosx TOOLS="../cmake/Release/xml2guido 
../cmake/Release/xmltranspose"
cp ../cmake/Release/xml2guido ../cmake/Release/xmltranspose 
libmusicxml-3.00-macosx
cp: ../cmake/Release/xml2guido: No such file or directory
cp: ../cmake/Release/xmltranspose: No such file or directory
make[1]: *** [exe] Error 1
make: *** [macos] Error 2

What version of the product are you using? On what operating system?
Last version. Mac OSX 10.8.2

Please provide any additional information below.
I need to add armv6 and armv7 architectures.

Original issue reported on code.google.com by [email protected] on 6 Mar 2013 at 8:31

xml2midi crashes when calling browser.browse()

What steps will reproduce the problem?
1. Attempt compiling the code attached below which closely resembles the 
xml2midi sample.
2. Provide the test file I have used (I have tried using other files though).


What is the expected output? What do you see instead?
Application crashing on browser.browse

What version of the product are you using? On what operating system?
Windows 7 32 Bit, libmusicxml-3.00-win32, QtCreator, MS VC Compiler

Please provide any additional information below.

-------
Thanks a lot for reading this! I´d really appreciate if you took the time to 
help me getting this work.

Original issue reported on code.google.com by [email protected] on 16 Jul 2013 at 12:34

Attachments:

Code does not compile on Linux

What steps will reproduce the problem?
1. Download the source code on Ubuntu
2. Enter packages/
3. Run "make linux"

I got compiling errors:

cd libmusicxml-3.00-ubuntu-x86_64/include && chmod 644 *.h
make[1]: Leaving directory `XXX/musicxml/libmusicxml/packages'
make exe DEST=libmusicxml-3.00-ubuntu-x86_64 TOOLS="../cmake/xml2guido 
../cmake/xmltranspose"
make[1]: Entering directory `XXX/musicxml/libmusicxml/packages'
cp ../cmake/xml2guido ../cmake/xmltranspose libmusicxml-3.00-ubuntu-x86_64
cp: cannot stat `../cmake/xml2guido': No such file or directory
cp: cannot stat `../cmake/xmltranspose': No such file or directory
make[1]: *** [exe] Error 1
make[1]: Leaving directory `XXX/musicxml/libmusicxml/packages'
make: *** [linux] Error 2

Original issue reported on code.google.com by [email protected] on 1 Jul 2014 at 11:32

Cannot link libmusicxml2 using MINGW g++.

Dear staff:

I want to use libmusicxml2 in my project, but there are a lot of linker errors.

My compiler is installed from mingw-get-inst-20120426.exe, and my directory 
(folder) contains "code.cpp, "include/", "libmusicxml2.dll", 
"libmusicxml2.lib". In the same folder, I put run.bat as a batch file 
containing the following commands:

set PATH=%PATH%;C:\MinGW\bin
C:\MinGW\bin\g++ -static -static-libgcc code.cpp -I include libmusicxml2.lib 
2>error.txt

I click run.bat, and error.txt reports the following errors:

C:\DOCUME~1\SPONGE~1\LOCALS~1\Temp\ccxF5Zgq.o:code.cpp:(.text$_ZN9MusicXML29xmlr
eaderC1Ev[MusicXML2::xmlreader::xmlreader()]+0x17): undefined 

reference to `_imp___ZTVN9MusicXML29xmlreaderE'
C:\DOCUME~1\SPONGE~1\LOCALS~1\Temp\ccxF5Zgq.o:code.cpp:(.text$_ZN9MusicXML29xmlr
eaderD1Ev[MusicXML2::xmlreader::~xmlreader()]+0xc): undefined 

reference to `_imp___ZTVN9MusicXML29xmlreaderE'
collect2: ld returned 1 exit status

I try another command:

set PATH=%PATH%;C:\MinGW\bin
C:\MinGW\bin\g++ -static -static-libgcc code.cpp -I include -L . -l 
libmusicxml2 2>error.txt

g++ still returns the same error message.

There is only one statement in code.cpp, main function:

#include "xmlreader.h"
using namespace MusicXML2;
int main(){
  xmlreader r;
}

Please tell me how to correctly link to musicxml2 library (by command line and 
g++). Thank you very much!

Original issue reported on code.google.com by [email protected] on 27 May 2013 at 5:43

Assertion error when using xmlread

What steps will reproduce the problem?
1. Include the framework in xcode5 correctly
2. read the xml file and print it out to test it is the correct file 
3. use the xmlreader r to read the file (r.read(filename))
4. assert the SXMLFile file but it is null. 

What is the expected output? What do you see instead?
I'm not sure why it isn't working! any help would be appreciated!

Original issue reported on code.google.com by [email protected] on 8 Jul 2014 at 7:31

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.