Hello,
I've been trying to compile the RandomMusic.cpp sample with g++ 4.2.3 on Linux (Kubuntu 8.04) with the latest SVN (as of 8 August 2008).
Here are the compiler errors:
RandomMusic.cpp: In function ‘MusicXML::SScorePart scorepart()’:
RandomMusic.cpp:68: error: ‘newScorePart’ was not declared in this scope
RandomMusic.cpp:72: error: ‘newScoreInstrument’ was not declared in this scope
RandomMusic.cpp:77: error: ‘newMidiInstrument’ was not declared in this scope
RandomMusic.cpp: In function ‘void makeheader(MusicXML::SScoreHeader&)’:
RandomMusic.cpp:91: error: ‘newIdentification’ was not declared in this scope
RandomMusic.cpp:93: error: ‘newCreator’ was not declared in this scope
RandomMusic.cpp:98: error: ‘newEncoding’ was not declared in this scope
RandomMusic.cpp:105: error: ‘newPartList’ was not declared in this scope
RandomMusic.cpp: In function ‘void firstmeasure(MusicXML::SPWMeasure&)’:
RandomMusic.cpp:116: error: ‘newAttributes’ was not declared in this scope
RandomMusic.cpp:118: error: ‘newClef’ was not declared in this scope
RandomMusic.cpp:123: error: ‘newTimeSign’ was not declared in this scope
RandomMusic.cpp:133: error: ‘newDirection’ was not declared in this scope
RandomMusic.cpp:134: error: ‘newSound’ was not declared in this scope
RandomMusic.cpp:139: error: ‘newDirectionType’ was not declared in this scope
RandomMusic.cpp:140: error: ‘newMetronome’ was not declared in this scope
RandomMusic.cpp: In function ‘MusicXML::SPWMeasure makemeasure(long unsigned int)’:
RandomMusic.cpp:155: error: ‘newPWMeasure’ was not declared in this scope
RandomMusic.cpp:161: error: ‘newNote’ was not declared in this scope
RandomMusic.cpp:162: error: ‘newPitch’ was not declared in this scope
RandomMusic.cpp:167: error: ‘newGraphNote’ was not declared in this scope
RandomMusic.cpp: In function ‘MusicXML::SPWPart makepart(int)’:
RandomMusic.cpp:179: error: ‘newPWPart’ was not declared in this scope
RandomMusic.cpp: In function ‘void randomMusic(int)’:
RandomMusic.cpp:189: error: ‘newScorePartwise’ was not declared in this scope
RandomMusic.cpp:190: error: ‘newScoreHeader’ was not declared in this scope
I have verified that all header files are properly included with the correct relative path.
Regards,
opc
Anonymous
Logged In: YES
user_id=2174031
Originator: YES
The problem described in this bug report was a result of operator error.
Successfully installed preliminary release v2.0 without any trouble.
Sorry for any confusion.
-opc