Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

libnggui.so compile error - Ubuntu 22.04

More
1 year 8 months ago - 1 year 8 months ago #4463 by christianb
Hello all,
I am trying to compile NGSolve on Ubuntu 22.04, but I get the following output for the make command. I guess libnggui.so is netgen specific as I can't find any search results.
What is the best way to define the undefined references?
Thanks,
Christian

[ 97%] Linking CXX executable netgen
/usr/bin/ld: ../libnggui.so: undefined reference to `avcodec_find_encoder'
/usr/bin/ld: ../libnggui.so: undefined reference to `avformat_write_header'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_frame_free'
/usr/bin/ld: ../libnggui.so: undefined reference to `avcodec_open2'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_interleaved_write_frame'
/usr/bin/ld: ../libnggui.so: undefined reference to `avformat_alloc_output_context2'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_frame_make_writable'
/usr/bin/ld: ../libnggui.so: undefined reference to `avcodec_send_frame'
/usr/bin/ld: ../libnggui.so: undefined reference to `sws_freeContext'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_init_packet'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_dict_free'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_packet_rescale_ts'
/usr/bin/ld: ../libnggui.so: undefined reference to `avcodec_get_name'
/usr/bin/ld: ../libnggui.so: undefined reference to `sws_scale'
/usr/bin/ld: ../libnggui.so: undefined reference to `avcodec_parameters_from_context'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_dump_format'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_write_trailer'
/usr/bin/ld: ../libnggui.so: undefined reference to `avformat_new_stream'
/usr/bin/ld: ../libnggui.so: undefined reference to `avcodec_receive_packet'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_frame_alloc'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_image_fill_arrays'
/usr/bin/ld: ../libnggui.so: undefined reference to `av_frame_get_buffer'
/usr/bin/ld: ../libnggui.so: undefined reference to `avcodec_alloc_context3'
/usr/bin/ld: ../libnggui.so: undefined reference to `avcodec_free_context'
/usr/bin/ld: ../libnggui.so: undefined reference to `sws_getContext'
/usr/bin/ld: ../libnggui.so: undefined reference to `avformat_free_context'
/usr/bin/ld: ../libnggui.so: undefined reference to `avio_closep'
/usr/bin/ld: ../libnggui.so: undefined reference to `avio_open'
collect2: error: ld returned 1 exit status

 
Last edit: 1 year 8 months ago by christianb.
Time to create page: 0.160 seconds