[Paraview] ParaView 5.4.0 Build Error

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Jul 24 11:30:15 EDT 2017


What if you try this:

> export
LD_LIBRARY_PATH=~/Qt5.6.2/5.6/gcc_64/lib/:~/ffmpeg_3.3.2/lib/:$LD_LIBRARY_PATH
> make

Does that work?

Utkarsh

On Sat, Jul 22, 2017 at 12:53 PM, Stoltz, Christopher <stoltz.c at pg.com>
wrote:

> Hi,
>
>
>
> I am trying to build ParaView 5.4.0 from source so I can use the
> Superquadric plugin and am running into a problem that appears to be
> related to Qt and ffmpeg.  At the end of the log output from ‘Make’, I see
> the following:
>
>
>
> [100%] Linking CXX executable ../bin/pvrenderserver
>
> /usr/bin/ld: warning: libicui18n.so.56, needed by ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5,
> not found (try using -rpath or -rpath-link)
>
> /usr/bin/ld: warning: libicuuc.so.56, needed by ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5,
> not found (try using -rpath or -rpath-link)
>
> /usr/bin/ld: warning: libicudata.so.56, needed by ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5,
> not found (try using -rpath or -rpath-link)
>
> /usr/bin/ld: warning: libswresample.so.2, needed by
> ~/ffmpeg_3.3.2/lib/libavcodec.so.57, not found (try using -rpath or
> -rpath-link)
>
> ~/ffmpeg_3.3.2/lib/libavcodec.so.57: undefined reference to
> `swr_alloc at LIBSWRESAMPLE_2'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_getAlias_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `uenum_next_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `u_strToUpper_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_fromUnicode_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `uenum_close_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucal_
> openTimeZoneIDEnumeration_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_getDSTSavings_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_setMillis_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucol_getSortKey_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_get_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_compareNames_56'
>
> ~/ffmpeg_3.3.2/lib/libavcodec.so.57: undefined reference to
> `swr_free at LIBSWRESAMPLE_2'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucol_setAttribute_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_open_56'
>
> ~/ffmpeg_3.3.2/lib/libavcodec.so.57: undefined reference to
> `swr_is_initialized at LIBSWRESAMPLE_2'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_openTimeZones_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_getAvailableName_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_close_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_getDefaultName_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_getDefaultTimeZone_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucol_strcoll_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_close_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_countAvailable_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `u_strToLower_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_getStandardName_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_getTimeZoneDisplayName_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_setSubstChars_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `u_errorName_56'
>
> ~/ffmpeg_3.3.2/lib/libavcodec.so.57: undefined reference to
> `swr_close at LIBSWRESAMPLE_2'
>
> ~/ffmpeg_3.3.2/lib/libavcodec.so.57: undefined reference to
> `swr_init at LIBSWRESAMPLE_2'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucol_close_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucol_open_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_clone_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_open_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_openCountryTimeZones_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_countAliases_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucal_inDaylightTime_56'
>
> ~/ffmpeg_3.3.2/lib/libavcodec.so.57: undefined reference to
> `swr_convert at LIBSWRESAMPLE_2'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_toUnicode_56'
>
> ~/Qt5.6.2/5.6/gcc_64/lib/libQt5Core.so.5: undefined reference to
> `ucnv_getMaxCharSize_56'
>
> collect2: error: ld returned 1 exit status
>
> make[2]: *** [bin/pvrenderserver] Error 1
>
> make[1]: *** [CommandLineExecutables/CMakeFiles/pvrenderserver.dir/all]
> Error 2
>
> make: *** [all] Error 2
>
>
>
>
>
> Both Qt and ffmpeg seemed to have installed correctly, and when I set up
> the configuration for ParaView, I didn’t see any issues related to either
> one.  Any thoughts on how I resolve this?  Apologies as I am not
> well-versed at building software in Linux.
>
>
>
> Thanks,
>
> Chris
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170724/12f2036d/attachment.html>


More information about the ParaView mailing list