try:

./configure --without-ffmpeg && make


regards,
Jakob

2016-07-29 10:54 GMT+02:00 Sriram Badri <[email protected]>:

> hi,
>
> I'm trying to build sumo from source as i need the TraCI c++ client
> libraries in ubuntu 14.04 and I get the following error. I made sure I
> installed ffmpeg
> but still i get the same error.
>
> In file included from GUIViewTraffic.cpp:36:0:
> ../../src/utils/gui/div/GUIVideoEncoder.h: In constructor
> ‘GUIVideoEncoder::GUIVideoEncoder(const char*, int, int, double)’:
> ../../src/utils/gui/div/GUIVideoEncoder.h:114:36: error:
> ‘AV_CODEC_ID_HEVC’ was not declared in this scope
>          if (pCodecCtx->codec_id == AV_CODEC_ID_HEVC) {
>                                     ^
> ../../src/utils/gui/div/GUIVideoEncoder.h:130:34: error: ‘av_frame_alloc’
> was not declared in this scope
>          myFrame = av_frame_alloc();
>                                   ^
> ../../src/utils/gui/div/GUIVideoEncoder.h: In destructor
> ‘GUIVideoEncoder::~GUIVideoEncoder()’:
> ../../src/utils/gui/div/GUIVideoEncoder.h:160:31: error: ‘av_frame_free’
> was not declared in this scope
>              av_frame_free(NULL);
>                                ^
> ../../src/utils/gui/div/GUIVideoEncoder.h:180:39: error: ‘av_frame_free’
> was not declared in this scope
>                  av_frame_free(&myFrame);
>                                        ^
> make[4]: *** [GUIViewTraffic.o] Error 1
> make[4]: Leaving directory `/home/students/Ablage/sumo/src/gui'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/students/Ablage/sumo/src/gui'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/students/Ablage/sumo/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/students/Ablage/sumo/src'
> make: *** [all-recursive] Error 1
>
> Can someone please suggest how I can solve it? Thanks a lot.
>
> Regards
> Sriram
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to