[SOLVED] show new window
I'm trying to compile my project, i'm using qt, pcl and i'm compiling with cmake and make.
I've created a new dialog window and i've just added these lines to show a new window:
DialogSave *d = new DialogSave();
But i get this error:
Undefined symbols for architecture x86_64:
"DialogSave::DialogSave(QWidget*)", referenced from:
MainWindow::save() in mainwindow.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ium-qt] Error 1
make: *** [CMakeFiles/ium-qt.dir/all] Error 2
make: *** [all] Error 2
I use Mac OS Mavericks.
Do you know how to solve this problem?
I had to add the files: .cpp, .h and .ui to CMakeLists.txt