Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling fails #72

Closed
jleclanche opened this issue Mar 21, 2012 · 2 comments
Closed

Compiling fails #72

jleclanche opened this issue Mar 21, 2012 · 2 comments
Labels
Milestone

Comments

@jleclanche
Copy link
Contributor

adys@azura ~/src/chromic/easypaint/build % make
Linking CXX executable easypaint
CMakeFiles/easypaint.dir/sources/mainwindow.cpp.o: In function MainWindow::settingsAct()': mainwindow.cpp:(.text+0x4f76): undefined reference toSettingsDialog::SettingsDialog(QWidget_)'
mainwindow.cpp:(.text+0x4f98): undefined reference to SettingsDialog::sendSettingToSingleton()' mainwindow.cpp:(.text+0x4fc0): undefined reference toSettingsDialog::~SettingsDialog()'
mainwindow.cpp:(.text+0x4fd9): undefined reference to SettingsDialog::~SettingsDialog()' CMakeFiles/easypaint.dir/sources/moc_settingsdialog.cxx.o: In functionSettingsDialog::qt_static_metacall(QObject_, QMetaObject::Call, int, void*_)':
moc_settingsdialog.cxx:(.text+0x42): undefined reference to SettingsDialog::itemSelectionChanged()' moc_settingsdialog.cxx:(.text+0x5e): undefined reference toSettingsDialog::textChanged(QString const&)'
moc_settingsdialog.cxx:(.text+0x6c): undefined reference to SettingsDialog::reset()' CMakeFiles/easypaint.dir/sources/moc_settingsdialog.cxx.o:(.rodata._ZTV14SettingsDialog[vtable for SettingsDialog]+0x28): undefined reference toSettingsDialog::~SettingsDialog()'
CMakeFiles/easypaint.dir/sources/moc_settingsdialog.cxx.o:(.rodata._ZTV14SettingsDialog[vtable for SettingsDialog]+0x30): undefined reference to SettingsDialog::~SettingsDialog()' CMakeFiles/easypaint.dir/sources/moc_settingsdialog.cxx.o:(.rodata._ZTV14SettingsDialog[vtable for SettingsDialog]+0x1e8): undefined reference tonon-virtual thunk to SettingsDialog::~SettingsDialog()'
CMakeFiles/easypaint.dir/sources/moc_settingsdialog.cxx.o:(.rodata.ZTV14SettingsDialog[vtable for SettingsDialog]+0x1f0): undefined reference to `non-virtual thunk to SettingsDialog::~SettingsDialog()'
collect2: ld returned 1 exit status
make[2]: *
* [easypaint] Error 1
make[1]: *** [CMakeFiles/easypaint.dir/all] Error 2
make: *** [all] Error 2

@Gr1N
Copy link
Owner

Gr1N commented Mar 21, 2012

Plz use now qmake, it's works good. I don't know why with cmake compiling fails.I'm looking for solution.

Gr1N added a commit that referenced this issue Mar 21, 2012
@Gr1N
Copy link
Owner

Gr1N commented Mar 21, 2012

@adys problem fixed.

@Gr1N Gr1N closed this as completed Mar 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants