MacOS & 0.70 compile

B.J. bj at koupps.net
Wed May 3 12:31:07 UTC 2017


I can compile/run without packaging, but there’re no images, so I guess the next step I can either (1) troubleshoot the package errors, which seem to relate to plugins, or (2) find out all I can about box2D so I can try to enable that?  Whatever we think is more practical/important—I’ll go with the first person from whom I hear back :) Here’s the verbose version—thanks for whatever feedback you have!  -bj


—


$ cmake -DQML_BOX2D_MODULE=disabled -DACTIVATION_MODE=internal ../gcompris-qt-0.70
~~~ all goes well, no errors ~~~
 
$ make
~~~ all goes well, no errors ~~~
 
$ open bin/gcompris-qt.app
~~~ it seems to be running but I can't see anything--white screen with clickable letters, maybe b/c box2D is needed?  but it does run successfully, though locally linked, so I continue to make the app bundle ~~~
 
$ make package
~~~ no errors until about here ~~~
[ 93%] Generate core RCC
[ 93%] Built target rcc_core
[100%] Built target gcompris-qt
Run CPack packaging tool...
CPack: Create package using DragNDrop
CPack: Install projects
CPack: - Run preinstall target for: gcompris-qt
CPack: - Install project: gcompris-qt
CMake Error at /Users/faculty/Desktop/src/build-gc/src/core/cmake_install.cmake:73 (file):
  file INSTALL cannot find
  "/Users/faculty/Qt/5.6/clang_64/lib/plugins/imageformats".
Call Stack (most recent call first):
  /Users/faculty/Desktop/src/build-gc/src/cmake_install.cmake:33 (include)
  /Users/faculty/Desktop/src/build-gc/cmake_install.cmake:36 (include)
~~~ several other plugins have pretty much the same error; this is about where my last report ended ~~~
 
$ ls /Users/faculty/Qt/5.6/clang_64/lib/plugins/imageformats
ls: /Users/faculty/Qt/5.6/clang_64/lib/plugins/imageformats: No such file or directory
~~~ is it odd that the cmake_install.cmake file pointed here? ~~~
 
$ ls /Users/faculty/Qt/5.6/clang_64/plugins/imageformats
libqdds.dylib libqico_debug.dylib libqtiff.dylib
libqdds.dylib.dSYM libqico_debug.dylib.dSYM libqtiff.dylib.dSYM
~~~ several other plugins listed; directory not empty ~~~
 
$ grep -r "clang_64/lib/plug" *
src/core/cmake_install.cmake:  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/gcompris-qt.app/Contents/plugins/" TYPE DIRECTORY FILES "/Users/faculty/Qt/5.6/clang_64/lib/plugins/imageformats")
src/core/cmake_install.cmake:  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/gcompris-qt.app/Contents/plugins/" TYPE DIRECTORY FILES "/Users/faculty/Qt/5.6/clang_64/lib/plugins/mediaservice")
src/core/cmake_install.cmake:  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/gcompris-qt.app/Contents/plugins/" TYPE DIRECTORY FILES "/Users/faculty/Qt/5.6/clang_64/lib/plugins/mediaservice")
src/core/cmake_install.cmake:  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/gcompris-qt.app/Contents/plugins/" TYPE DIRECTORY FILES "/Users/faculty/Qt/5.6/clang_64/lib/plugins/mediaservice")
 
~~~ these 4 lines are adjusted to point to the right directory (w/o the "lib" in the middle) ~~~
 
$ make package
~~~ no errors until about here ~~~
[ 93%] Generate core RCC
[ 93%] Built target rcc_core
[100%] Built target gcompris-qt
Run CPack packaging tool...
CPack: Create package using DragNDrop
CPack: Install projects
CPack: - Run preinstall target for: gcompris-qt
CPack: - Install project: gcompris-qt
CMake Error at /Users/faculty/Desktop/src/build-gc/src/core/cmake_install.cmake:105 (file):
  file INSTALL cannot find
  "/Users/faculty/Qt/5.6/clang_64/lib/qml/QtQuick/Window.2".
Call Stack (most recent call first):
  /Users/faculty/Desktop/src/build-gc/src/cmake_install.cmake:33 (include)
  /Users/faculty/Desktop/src/build-gc/cmake_install.cmake:36 (include)
 
SO - my questions is - should I keep changing the cmake_install.cmake file like so, should I be making symlinks in the Qt tree instead, OR is there a different problem someone notices?  Thanks for your feedback!
 
B.J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20170503/3c15017c/attachment.html>


More information about the GCompris-devel mailing list