|
From: Marc G. <mar...@it...> - 2018-10-03 06:35:14
|
Hi Dan, short message from me. I increased the limit of the mailinglist so I think 1 MB. Bigger messages will be approved by one of the admins. The warnings are no problem. This is mainly because you use a rather new version of qt but an older cmake. the error is printed at the end of your mail. It seems that you indicated a folder and not a file path to the python library in cmake. However the linker wants so have a .so file and no directory. I think this is your major problem. cheers marc dan nessett via Itom-discussions <ito...@li...> schrieb am Di., 2. Okt. 2018 23:20: > Hi, > > Marc told me he will be out of contact for a while, so I am hoping someone > else will give me some hints. With his guidance I was able to get the > configure and generate steps to complete. However, there were some > warnings. Below, I have marked these with lines of '*" before and after to > make them stand out. > > When I attempt to use Qt Creator to build the application, it tells me > itom3.1.0-devel (the directory where I checked out the coreEditor branch) > is not configured. I ran Cmake with > "/usr/local/src/itom/sources/itom3.1.0-devel" as the source directory and > "/usr/local/src/itom/build_release" as the build directory. > > I have no experience with Qt Creator, so it is entirely possible I am > doing something wrong. I simply followed the instructions given at: > > > https://preshing.com/20170511/how-to-build-a-cmake-based-project/#running-cmake-gui > > in the Qt Creator section. > > I have a screenshot of the Qt Creator window, but it is 419KB and I know > these messages are limited to 40 KB. Is there a files section of this > discussion list to which I can download it? > > Thanks, > > Dan > > Here is the Cmake output: > > CMake >= 3.0 > OpenMP found and enabled for release compilation > OpenCV components: core > -- POST_BUILD: copy '$<TARGET_LINKER_FILE:dataobject>' to > '/usr/local/src/itom/build_release/SDK/lib/gnucxx_x64' > -- POST_BUILD: copy '$<TARGET_FILE:dataobject>' to > '/usr/local/src/itom/build_release' > CMake >= 3.0 > OpenMP found and enabled for release compilation > -- POST_BUILD: copy '$<TARGET_LINKER_FILE:itomCommonLib>' to > '/usr/local/src/itom/build_release/SDK/lib/gnucxx_x64' > -- POST_BUILD: copy '$<TARGET_FILE:itomCommonLib>' to > '/usr/local/src/itom/build_release' > CMake >= 3.0 > OpenMP found and enabled for release compilation > OpenCV components: core > -- POST_BUILD: copy > '/usr/local/src/itom/build_release/AddInManager/translation/addinmanager_de.qm' > to '/usr/local/src/itom/build_release/AddInManager/../translation' > -- POST_BUILD: copy '$<TARGET_LINKER_FILE:addinmanager>' to > '/usr/local/src/itom/build_release/SDK/lib/gnucxx_x64' > -- POST_BUILD: copy '$<TARGET_FILE:addinmanager>' to > '/usr/local/src/itom/build_release' > CMake >= 3.0 > OpenMP found and enabled for release compilation > OpenCV components: core;imgproc > Found OpenCV: /home/dnessett/opencv/build (found version "3.3.1") found > components: core imgproc > /usr/local/src/itom/build_release/shape > -- POST_BUILD: copy > '/usr/local/src/itom/build_release/shape/translation/itomShapeLib_de.qm' to > '/usr/local/src/itom/build_release/shape/../translation' > -- POST_BUILD: copy '$<TARGET_LINKER_FILE:itomShapeLib>' to > '/usr/local/src/itom/build_release/SDK/lib/gnucxx_x64' > -- POST_BUILD: copy '$<TARGET_FILE:itomShapeLib>' to > '/usr/local/src/itom/build_release' > CMake >= 3.0 > OpenMP found and enabled for release compilation > OpenCV components: core > Found OpenCV: /home/dnessett/opencv/build (found version "3.3.1") found > components: core > /usr/local/src/itom/build_release/commonQt > -- POST_BUILD: copy > '/usr/local/src/itom/build_release/commonQt/translation/itomCommonQtLib_de.qm' > to '/usr/local/src/itom/build_release/commonQt/../translation' > -- POST_BUILD: copy '$<TARGET_LINKER_FILE:itomCommonQtLib>' to > '/usr/local/src/itom/build_release/SDK/lib/gnucxx_x64' > -- POST_BUILD: copy '$<TARGET_FILE:itomCommonQtLib>' to > '/usr/local/src/itom/build_release' > CMake >= 3.0 > OpenMP found and enabled for release compilation > OpenCV components: core > -- POST_BUILD: copy '$<TARGET_LINKER_FILE:qpropertyeditor>' to > '/usr/local/src/itom/build_release/SDK/lib/gnucxx_x64' > -- POST_BUILD: copy '$<TARGET_FILE:qpropertyeditor>' to > '/usr/local/src/itom/build_release' > CMake >= 3.0 > OpenMP found and enabled for release compilation > OpenCV components: core > /usr/local/src/itom/build_release/plot > -- POST_BUILD: copy > '/usr/local/src/itom/build_release/plot/translation/itomCommonPlotLib_de.qm' > to '/usr/local/src/itom/build_release/plot/../translation' > -- POST_BUILD: copy '$<TARGET_LINKER_FILE:itomCommonPlotLib>' to > '/usr/local/src/itom/build_release/SDK/lib/gnucxx_x64' > -- POST_BUILD: copy '$<TARGET_FILE:itomCommonPlotLib>' to > '/usr/local/src/itom/build_release' > OpenCV components: core > CMake >= 3.0 > OpenMP found and enabled for release compilation > -- POST_BUILD: copy > '/usr/local/src/itom/build_release/itomWidgets/translation/itomWidgets_de.qm' > to '/usr/local/src/itom/build_release/itomWidgets/../translation' > -- POST_BUILD: copy '$<TARGET_LINKER_FILE:itomWidgets>' to > '/usr/local/src/itom/build_release/SDK/lib/gnucxx_x64' > -- POST_BUILD: copy '$<TARGET_FILE:itomWidgets>' to > '/usr/local/src/itom/build_release' > -- POST_BUILD: copy '$<TARGET_FILE:itomWidgets>' to > '/usr/local/src/itom/build_release/designer' > -- POST_BUILD: copy '$<TARGET_LINKER_FILE:itomWidgets>' to > '/usr/local/src/itom/build_release/designer' > CMake >= 3.0 > OpenMP found and enabled for release compilation > OpenCV components: core > 110411004 > Python include directory: /usr/include/python3.4m > Python executable: /usr/bin/python3.4 > Numpy include directory: > /usr/lib64/python3.4/site-packages/numpy/core/include > /usr/local/src/itom/build_release/Qitom > Using GIT as repository information > GNUCXX pipe flag enabled > > ************** > Fataldoes not exist > ************** > > -- POST_BUILD: copy '/usr/local/src/itom/build_release/Qitom/version.h' to > '/usr/local/src/itom/build_release/Qitom/../SDK/include' > CMake >= 3.0 > OpenMP found and enabled for release compilation > itom version is: 3.1.0. If wrong change it in global.h and reconfigure > CMake > > CMAKE_CURRENT_BINARY_DIR: /usr/local/src/itom/build_release > > CMake >= 3.0 > OpenMP found and enabled for release compilation > Configuring done > > **************** > > CMake Warning (dev) in QPropertyEditor/CMakeLists.txt: > Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED > files. > Run "cmake --help-policy CMP0071" for policy details. Use the > cmake_policy > command to set the policy and suppress this warning. > > For compatibility, CMake is excluding the GENERATED source file(s): > > > "/usr/local/src/itom/build_release/QPropertyEditor/ui_stringListDialog.h" > > from processing by AUTOMOC. If any of the files should be processed, set > CMP0071 to NEW. If any of the files should not be processed, explicitly > exclude them by setting the source file property SKIP_AUTOMOC: > > set_property(SOURCE file.h PROPERTY SKIP_AUTOMOC ON) > > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) in Qitom/CMakeLists.txt: > Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED > files. > Run "cmake --help-policy CMP0071" for policy details. Use the > cmake_policy > command to set the policy and suppress this warning. > > For compatibility, CMake is excluding the GENERATED source file(s): > > "/usr/local/src/itom/build_release/Qitom/ui_dialogAbout.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogCloseItom.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogEditBreakpoint.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogGoto.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogIconBrowser.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogLoadedPlugins.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogNewPluginInstance.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogOpenFileWithFilter.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogOpenNewGui.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogPipManager.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogPipManagerInstall.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogPluginPicker.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogReloadModule.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogReplace.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogSaveFileWithFilter.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogSelectUser.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogSnapshot.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogTimerManager.h" > "/usr/local/src/itom/build_release/Qitom/ui_dialogVariableDetail.h" > "/usr/local/src/itom/build_release/Qitom/ui_helpTreeDockWidget.h" > "/usr/local/src/itom/build_release/Qitom/ui_paramInputDialog.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetFindWord.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetInfoBox.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropConsoleGeneral.h" > > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropConsoleLastCommand.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropConsoleWrap.h" > > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropEditorAutoCompletion.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropEditorCalltips.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropEditorGeneral.h" > > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropEditorGotoAssignment.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropEditorScripts.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropEditorStyles.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropFigurePlugins.h" > > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropGeneralApplication.h" > > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropGeneralLanguage.h" > > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropGeneralPlotSettings.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropGeneralStyles.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropHelpDock.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropPalettes.h" > > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropPluginsAlgorithms.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropPythonGeneral.h" > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropPythonStartup.h" > > "/usr/local/src/itom/build_release/Qitom/ui_widgetPropWorkspaceUnpack.h" > "/usr/local/src/itom/build_release/Qitom/ui_uiDebugViewer.h" > "/usr/local/src/itom/build_release/Qitom/ui_uiMainWindow.h" > "/usr/local/src/itom/build_release/Qitom/ui_userManagement.h" > "/usr/local/src/itom/build_release/Qitom/ui_userManagementEdit.h" > "/usr/local/src/itom/build_release/Qitom/qrc_qitom.cpp" > > from processing by AUTOMOC. If any of the files should be processed, set > CMP0071 to NEW. If any of the files should not be processed, explicitly > exclude them by setting the source file property SKIP_AUTOMOC: > > set_property(SOURCE file.h PROPERTY SKIP_AUTOMOC ON) > > This warning is for project developers. Use -Wno-dev to suppress it. > > WARNING: Target "qitom" requests linking to directory > "/usr/lib/python3.4". Targets may link only to libraries. CMake is > dropping the item. > Generating done > > ******************** > _______________________________________________ > Itom-discussions mailing list > Ito...@li... > https://lists.sourceforge.net/lists/listinfo/itom-discussions > |