Registered Member
|
Hello Everyone
I have been attempting to compile K3B from extragear/multimedia for a few weeks now, and "make" fails as follows: [100%] Building CXX object src/CMakeFiles/k3b_bin.dir/rip/videodvd/k3bvideodvdtitlemodel.o Linking CXX executable k3b CMakeFiles/k3b_bin.dir/k3bapplication.o: In function `K3b::Application::processCmdLineArgs()': /home/steve/CVS/Assorted-CVS-Modules/k3b/src/k3bapplication.cpp:194: undefined reference to `K3b::MainWindow::slotNewMovixDoc()' CMakeFiles/k3b_bin.dir/k3b.o: In function `K3b::MainWindow::qt_metacall(QMetaObject::Call, int, void**)': /home/steve/CVS/Assorted-CVS-Modules/k3b/build/src/k3b.moc:169: undefined reference to `K3b::MainWindow::slotNewMovixDoc()' CMakeFiles/k3b_bin.dir/k3bprojectmanager.o: In function `K3b::ProjectManager::createEmptyProject(K3b::Doc::Type)': /home/steve/CVS/Assorted-CVS-Modules/k3b/src/k3bprojectmanager.cpp:215: undefined reference to `K3b::MovixDoc::MovixDoc(QObject*)' collect2: ld returned 1 exit status make[2]: *** [src/k3b] Error 1 make[1]: *** [src/CMakeFiles/k3b_bin.dir/all] Error 2 make: *** [all] Error 2 I always retry with a fresh build directory. If you need any further information, please ask... Steven P. Ulrick |
KDE Developer
|
Hi,
Where did you get the sources from? |
Registered Member
|
From "extragear/multimedia/k3b" in SVN. |
Registered Member
|
"svn checkout svn://anonsvn.kde.org/home/kde/trunk/ex ... imedia/k3b" to be precise. |
KDE Developer
|
Looks like functions responsible for handling Movix projects hasn't been compiled in for some strange reason. Please run:
and see if "K3b::MainWindow::slotNewMovixDoc()" is present on the symbol list. |
Registered Member
|
Here it is: 00000000000010b0 T K3b::MainWindow::slotNewMixedDoc() U K3b::MainWindow::slotNewMovixDoc() 0000000000000c50 T K3b::MainWindow::slotShowMenuBar() |
Registered Member
|
Hello Again,
I don't know why I couldn't find this before, but I ended up editing "k3b/libk3b/projects/CMakeLists.txt" to look like this: add_subdirectory( datacd ) add_subdirectory( audiocd ) add_subdirectory( mixedcd ) #add_subdirectory( movixcd ) add_subdirectory( videocd ) add_subdirectory( videodvd ) The obvious change being that I commented out the directory that seems to be involved in "make" bailing like it does. Unfortunately, I still get the same error message: [100%] Building CXX object src/CMakeFiles/k3b_bin.dir/rip/videodvd/k3bvideodvdtitlemodel.o Linking CXX executable k3b CMakeFiles/k3b_bin.dir/k3bapplication.o: In function `K3b::Application::processCmdLineArgs()': /home/steve/CVS/Assorted-CVS-Modules/k3b/src/k3bapplication.cpp:194: undefined reference to `K3b::MainWindow::slotNewMovixDoc()' CMakeFiles/k3b_bin.dir/k3b.o: In function `K3b::MainWindow::qt_metacall(QMetaObject::Call, int, void**)': /home/steve/CVS/Assorted-CVS-Modules/k3b/build/src/k3b.moc:169: undefined reference to `K3b::MainWindow::slotNewMovixDoc()' CMakeFiles/k3b_bin.dir/k3bprojectmanager.o: In function `K3b::ProjectManager::createEmptyProject(K3b::Doc::Type)': /home/steve/CVS/Assorted-CVS-Modules/k3b/src/k3bprojectmanager.cpp:215: undefined reference to `K3b::MovixDoc::MovixDoc(QObject*)' collect2: ld returned 1 exit status make[2]: *** [src/k3b] Error 1 make[1]: *** [src/CMakeFiles/k3b_bin.dir/all] Error 2 make: *** [all] Error 2 Like I said earlier in this thread, I always try with a new build directory. I just tried something that SHOULDN'T make any difference, since "k3b" is built in a build directory: I am now attempting to compile "k3b" from "extragear/multimedia" with a completely fresh download of the entire module: "svn checkout svn://anonsvn.kde.org/home/kde/trunk/ex ... imedia/k3b" Again, that shouldn't make any difference, but let's see what happens: OK. The result is that K3B now compiles perfectly... For some reason, just removing the "build" directory did not seem to be enough in my case... Thank you for your help Steven P. Ulrick |
KDE Developer
|
This is strange indeed. Anyway, it's good to hear it works now
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]