[Paraview] superbuild fails on OS X [solved]
Cory Quammen
cory.quammen at kitware.com
Tue Feb 2 10:30:25 EST 2016
Fabian,
This patch has been merged into master.
- Cory
On Mon, Jan 18, 2016 at 2:04 PM, Cory Quammen <cory.quammen at kitware.com> wrote:
>> While I understand that there is no gui without qt and that it makes sense to build paraview without gui, I suggest to make it
>> a little clearer:
>>
>> The help for ENABLE_qt* is just „Request to build project qt*“. Maybe an „Qt is necessary for the gui“ could be added. Also the error message from make install could be enriched with a check for Qt and a message.
>
> Hi Fabian,
>
> Per your suggestion, I made a patch for improved documentation for the
> Qt external projects (4 and 5) to the ParaView superbuild. You can
> find it here:
>
> https://gitlab.kitware.com/paraview/paraview-superbuild/merge_requests/86
>
> Thanks,
> Cory
>
>>
>> /Users/fwein/code/ParaViewSuperbuild/build/qt4/src/qt4/src/gui/painting/qpaintengine_mac.cpp:345:19: error: use of undeclared identifier 'CMGetProfileByAVID'
>> CMError err = CMGetProfileByAVID((CMDisplayIDType)displayID, &displayProfile);
>> ^
>> /Users/fwein/code/ParaViewSuperbuild/build/qt4/src/qt4/src/gui/painting/qpaintengine_mac.cpp:348:9: error: use of undeclared identifier 'CMCloseProfile'
>> CMCloseProfile(displayProfile);
>> ^
>> In file included from /Users/fwein/code/ParaViewSuperbuild/build/qt4/src/qt4/src/gui/painting/qpaintengine_mac.cpp:44:
>> In file included from ../../include/QtGui/private/qpaintengine_mac_p.h:1:
>> ../../include/QtGui/private/../../../../qt4/src/gui/painting/qpaintengine_mac_p.h:252:9: warning: private field 'mBytesPerLine' is not used [-Wunused-private-field]
>> int mBytesPerLine;
>> ^
>> 3 warnings and 2 errors generated.
>> make[5]: *** [.obj/release-shared/qpaintengine_mac.o] Error 1
>> make[4]: *** [release-install] Error 2
>> make[3]: *** [sub-gui-install_subtargets-ordered] Error 2
>> CMake Error at /Users/fwein/code/ParaViewSuperbuild/build/pv-qt4-build.cmake:33 (message):
>> Failed with exit code 2
>>
>>
>>
>>> Am 18.01.2016 um 10:25 schrieb Fabian Wein <fabian.wein at fau.de>:
>>>
>>> I have the latest OS X and qt4 and qt5 installed by brew.
>>>
>>> I use the current superbuild, which covers PV 4.4 (why not 5.0?) but build fails.
>>>
>>> I use the default setting in my build and just set
>>> CMAKE_INSTALL_PREFIX and ENABLE_paraview
>>>
>>> make
>>> …
>>> [100%] Built target paraview
>>>
>>> make install
>>> ….
>>> [100%] Built target paraview
>>> Install the project...
>>> -- Install configuration: ""
>>> CMake Error at cmake_install.cmake:39 (file):
>>> file INSTALL cannot find
>>> "/Users/fwein/code/ParaViewSuperbuild/build/install/Applications/paraview.app".
>>> make: *** [install] Error 1
>>>
>>> Any suggestion or hint where to look in the log files is appreciated.
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>
>
>
> --
> Cory Quammen
> R&D Engineer
> Kitware, Inc.
--
Cory Quammen
R&D Engineer
Kitware, Inc.
More information about the ParaView
mailing list