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

Build error with testqgisappclipboard #17320

Closed
qgib opened this issue Sep 5, 2013 · 5 comments
Closed

Build error with testqgisappclipboard #17320

qgib opened this issue Sep 5, 2013 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented Sep 5, 2013

Author Name: Larry Shaffer (Larry Shaffer)
Original Redmine Issue: 8577
Affected QGIS version: master

Assignee: Radim Blazek


Scanning dependencies of target qgis_qgisappclippboard
[100%] Building CXX object tests/src/app/CMakeFiles/qgis_qgisappclippboard.dir/testqgisappclipboard.cpp.o
Linking CXX executable ../../../output/bin/qgis_qgisappclippboard
Undefined symbols for architecture x86_64:
  "_GetCurrentProcess", referenced from:
      QgisApp::bringAllToFront() in libqgis_app.a(qgisapp.cpp.o)
  "_LSOpenCFURLRef", referenced from:
      QgisApp::openURL(QString, bool) in libqgis_app.a(qgisapp.cpp.o)
  "_SetFrontProcess", referenced from:
      QgisApp::bringAllToFront() in libqgis_app.a(qgisapp.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[2]: *** [output/bin/qgis_qgisappclippboard] Error 1
make[1]: *** [tests/src/app/CMakeFiles/qgis_qgisappclippboard.dir/all] Error 2

Commenting out the test in /tests/src/app/CMakeLists.txt, and the app builds:

ADD_QGIS_TEST(qgisappclippboard testqgisappclipboard.cpp)

@qgib
Copy link
Contributor Author

qgib commented Sep 5, 2013

Author Name: Radim Blazek (@blazek)


Fixed in changeset "9ebf1feea1c443cc34b3caf5a419e007f5a97923".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Sep 5, 2013

Author Name: Radim Blazek (@blazek)


Please try with 9ebf1fe, I added the same what is used for main app.


  • status_id was changed from Closed to Feedback

@qgib
Copy link
Contributor Author

qgib commented Sep 5, 2013

Author Name: Larry Shaffer (Larry Shaffer)


Hi Radim,

Yes, that compiled and the following passed:

ctest --verbose --tests-regex qgisappclippboard

All tests ran as well (13/74 failures, but that's not uncommon). Thanks!

@qgib
Copy link
Contributor Author

qgib commented Sep 5, 2013

Author Name: Larry Shaffer (Larry Shaffer)


  • resolution was changed from to fixed
  • status_id was changed from Feedback to Resolved

@qgib
Copy link
Contributor Author

qgib commented Sep 5, 2013

Author Name: Larry Shaffer (Larry Shaffer)


  • status_id was changed from Resolved to Closed

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant