[PlanetCCRMA] Noteedit on Fedora 9 Works
Nick Metrowsky
nmetro at scarletandgray.info
Tue Jul 1 11:59:51 PDT 2008
Hi Everyone,
With special thanks to those who got TSE3 to compile with the provided
patch; I was able to get Noteedit to build and run on Fedora 9. While
what I have may not be everything; it is a good start to getting the
software operational.
I had to make a couple minor code changes to get it to build and these
changes had to do with gcc 4.3 no longer using istream.h and iostream.h
as include files. I also had to change a parameter in one of of the ".h"
files because it was multiply declared (changed second occurrence of
"staff" to "staff2"). I also had to "cheat" configure so it could run
the test on tse3 (again, this had to do with iostream.h). The following
are the changes required:
configure:
31575c31575
< ${CXX} -W -Wall -ansi -pedantic -g tse3vtest.cc -I$inc_libtse3
-I$kde_includes -L$lib_libtse3 \
---
> ${CXX} -W -Wall -ansi -pedantic -g tse3vtest.cc -I$inc_libtse3
-I$kde_includes -I/usr/include/c++/3.4.6/backward -L$lib_lib
tse3 \
31583c31583
< echo " ${CXX} -W -Wall -ansi -pedantic -g tse3vtest.cc
-I$inc_libtse3 -I$kde_includes -L$lib_libtse3 -Wl,-rpat
h $lib_libtse3 -ltse3 -L$kde_libraries -Wl,-rpath $kde_libraries
-lpthread -o tse3vtest"
---
> echo " ${CXX} -W -Wall -ansi -pedantic -g tse3vtest.cc
-I$inc_libtse3 -I$kde_includes -I/usr/include/c++/3.4.6
/backward -L$lib_libtse3 -Wl,-rpath $lib_libtse3 -ltse3 -L$kde_libraries
-Wl,-rpath $kde_libraries -lpthread -o tse3vtest"
31596c31596
< echo " ${CXX} -W -Wall -ansi -pedantic -g tse3vtest.cc
-I$inc_libtse3 -I$kde_includes -L$lib_libtse3 -Wl,-rpat
h $lib_libtse3 -ltse3 -L$kde_libraries -Wl,-rpath $kde_libraries
-lpthread -o tse3vtest"
---
> echo " ${CXX} -W -Wall -ansi -pedantic -g tse3vtest.cc
-I$inc_libtse3 -I$kde_includes -I/usr/include/c++/3.4.6
/backward -L$lib_libtse3 -Wl,-rpath $lib_libtse3 -ltse3 -L$kde_libraries
-Wl,-rpath $kde_libraries -lpthread -o tse3vtest"
31633c31633
< TSE3INCLUDE="-I$inc_libtse3"
---
> TSE3INCLUDE="-I$inc_libtse3 -I/usr/include/c++/3.4.6/backward"
31677c31677
< ${CXX} -W -Wall -ansi -pedantic -g tse3vtest2.cc -I$inc_libtse3
-I$kde_includes -L$lib_libtse3 \
---
> ${CXX} -W -Wall -ansi -pedantic -g tse3vtest2.cc -I$inc_libtse3
-I$kde_includes -I/usr/include/c++/3.4.6/backward -
L$lib_libtse3 \
31682c31682
< echo "${CXX} -W -Wall -ansi -pedantic -g tse3vtest2.cc
-I$inc_libtse3 -I$kde_includes -L$lib_libtse3 \
---
> echo "${CXX} -W -Wall -ansi -pedantic -g tse3vtest2.cc
-I$inc_libtse3 -I$kde_includes -I/usr/include/c++/3.
4.6/backward -L$lib_libtse3 \
::::::::::::::
noteedit/keyoffs.cpp
::::::::::::::
25c25
< #include <iostream.h>
---
> #include <iostream>
::::::::::::::
noteedit/multistaffinfo.cpp
::::::::::::::
23c23
< #include <istream.h>
---
> #include <istream>
::::::::::::::
noteedit/musicxmlimport.h
::::::::::::::
129c129
< void handleVoiceDoStaff(int staff, int voice, NStaff * & staff, bool
& mapped);
---
> void handleVoiceDoStaff(int staff, int voice, NStaff * & staff2,
bool & mapped);
Best Regards,
Nick
--
========================================================================
Nick Metrowsky | http://www.scarletandgray.info
3624 Oakwood Drive | E-Mail: nmetro at scarletandgray.info
Longmont, CO 80503-7560 | Phone: (303)485-5696
========================================================================
More information about the PlanetCCRMA
mailing list