performous / composer

Song editor for Performous and other singing games
Other
39 stars 23 forks source link

Linker error with current git-version #8

Closed ap0calypse closed 10 years ago

ap0calypse commented 11 years ago

hi, just wanted to inform you that i get this error from the linker after the compiling process:

/home/ap0calypse/composer/build/src/moc_synth.cpp:206: multiple definition of BufferPlayer::qt_metacast(char const*)' CMakeFiles/composer.dir/moc_synth.cpp.o:/home/ap0calypse/composer/build/src/moc_synth.cpp:206: first defined here CMakeFiles/composer.dir/composer_automoc.cpp.o: In functionBufferPlayer::qt_metacall(QMetaObject::Call, int, void)': /home/ap0calypse/composer/build/src/moc_synth.cpp:214: multiple definition of `BufferPlayer::qt_metacall(QMetaObject::Call, int, void)' CMakeFiles/composer.dir/moc_synth.cpp.o:/home/ap0calypse/composer/build/src/moc_synth.cpp:214: first defined here collect2: error: ld returned 1 exit status make[2]: * [composer] Error 1 make[1]: * [src/CMakeFiles/composer.dir/all] Error 2 make: *\ [all] Error 2

This is just a short version of the garbage i see running down the screen ;)

is there a problem with qt5?

tapio commented 11 years ago

Branch master works for me. Please post the whole log. Usually the first error appearing is the most useful, though the more information the better.

As wild guesses, I can suggest a) checking that cmake detected qt5 instead of qt4 (build/CMakeCache.txt), b) deleting build dir and starting from scratch as there might be conflicting left-overs.