Hallo all,
I had some time this weekend and did some muse stuff.
I use a OpenSuSE-12.2 x86 linux on a fujitsu laptop (32bit).
Last Time I tried to compile msue 2.1 I had some major problems (compiling
muse-2.1.tar.gz).
(compile_muse.sh was not working correct)
Now, I had no problems at all compiling muse-2.1.1.tar.gz
I had only 3 warnings while running cmake.
I got these warning:
-------------------------------------------------------------
/home/trillian/hafi/Dokumente/prj/MUSE/muse-2.1.1/muse/remote/pyapi.cpp:984:1:
warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
/home/trillian/hafi/Dokumente/prj/MUSE/muse-2.1.1/muse/song.cpp: In member
function ‘void MusECore::Song::update(MusECore::SongChangedFlags_t, bool)’:
/home/trillian/hafi/Dokumente/prj/MUSE/muse-2.1.1/muse/song.cpp:1379:108:
warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but
argument 2 has type ‘MusECore::SongChangedFlags_t {aka long long int}’
[-Wformat]
/home/trillian/hafi/Dokumente/prj/MUSE/muse-2.1.1/synti/s1/s1.cpp:230:14:
warning: unused parameter ‘projectPathPtr’ [-Wunused-parameter]
++++++++++++++++++++
I fixed these 3 issues(see below).++++
A call of:
diff -r muse-2.1.1 muse-2.1.1.original
gave this output
(despite to some unimportant differences in:
muse-2.1.1/build/CMakeFiles/CMakeError.log
----------------------------------
diff -r muse-2.1.1/muse/remote/pyapi.cpp
muse-2.1.1-original/muse/remote/pyapi.cpp
983,984c983
< //{NULL, NULL, NULL, NULL}
< {NULL, NULL, 0, NULL} // changed by willyfoobar
---
> {NULL, NULL, NULL, NULL}
diff -r muse-2.1.1/muse/song.cpp muse-2.1.1-original/muse/song.cpp
1377,1378c1377
< //printf("THIS SHOULD NEVER HAPPEN: unallowed recursion in
Song::update(%08lx), level %d!\n"
< printf("THIS SHOULD NEVER HAPPEN: unallowed recursion in
Song::update(%08llx), level %d!\n" // changed by willyfoobar
---
> printf("THIS SHOULD NEVER HAPPEN: unallowed recursion in
> Song::update(%08lx), level %d!\n"
diff -r muse-2.1.1/synti/s1/s1.cpp muse-2.1.1-original/synti/s1/s1.cpp
230,231c230
< //static Mess* instantiate(int sr, QWidget*, QString* projectPathPtr, const
char*)
< static Mess* instantiate(int sr, QWidget*, QString* /*projectPathPtr*/, const
char*) // changed by willyfoobar
---
> static Mess* instantiate(int sr, QWidget*, QString* projectPathPtr, const
> char*)
+++++++++++++++++++++++++++++++++++
I hope this helps.
I attach the relevant diff and the plain compiler warnings.
Greeting,
Willy
/home/trillian/hafi/Dokumente/prj/MUSE/muse-2.1.1/muse/remote/pyapi.cpp:984:1:
warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
/home/trillian/hafi/Dokumente/prj/MUSE/muse-2.1.1/muse/song.cpp: In member
function ‘void MusECore::Song::update(MusECore::SongChangedFlags_t, bool)’:
/home/trillian/hafi/Dokumente/prj/MUSE/muse-2.1.1/muse/song.cpp:1379:108:
warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but
argument 2 has type ‘MusECore::SongChangedFlags_t {aka long long int}’
[-Wformat]
/home/trillian/hafi/Dokumente/prj/MUSE/muse-2.1.1/synti/s1/s1.cpp:230:14:
warning: unused parameter ‘projectPathPtr’ [-Wunused-parameter]
+++++++++++++++++++++++++++++++++++++++++++++
diff -r muse-2.1.1/muse/remote/pyapi.cpp
muse-2.1.1-original/muse/remote/pyapi.cpp
983,984c983
< //{NULL, NULL, NULL, NULL}
< {NULL, NULL, 0, NULL} // chnaged by willyfoobar
---
> {NULL, NULL, NULL, NULL}
diff -r muse-2.1.1/muse/song.cpp muse-2.1.1-original/muse/song.cpp
1377,1378c1377
< //printf("THIS SHOULD NEVER HAPPEN: unallowed recursion in
Song::update(%08lx), level %d!\n"
< printf("THIS SHOULD NEVER HAPPEN: unallowed recursion in
Song::update(%08llx), level %d!\n" // changed by willyfoobar
---
> printf("THIS SHOULD NEVER HAPPEN: unallowed recursion in
> Song::update(%08lx), level %d!\n"
diff -r muse-2.1.1/synti/s1/s1.cpp muse-2.1.1-original/synti/s1/s1.cpp
230,231c230
< //static Mess* instantiate(int sr, QWidget*, QString* projectPathPtr, const
char*)
< static Mess* instantiate(int sr, QWidget*, QString* /*projectPathPtr*/, const
char*) // changed by willyfoobar
---
> static Mess* instantiate(int sr, QWidget*, QString* projectPathPtr, const
> char*)
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer