CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2015
    Posts
    2

    x264 undefined reference

    I am working on a project that involves FFMPEG and x264. I am using MinGW-w64 as my host environment with CLion IDE. When I try to build my project, it throws an error of 'undefined reference to x264_encoder_open_142'. I researched this error a bit and it might be related to multiple version issues. Some others said try building x264 with the '--disable-lavf'. I tried the latter and the same issue still shows up. I also removed '--enable-libx264' from the FFMPEG options, and still the same issue. Could there be conflicts between the '.dll' and the '.a'? Conflicts between the 'libx264.lib' and the 'libx264.a'? Are there any other suggestions?

    Any help would be much appreciated.

  2. #2
    Join Date
    Dec 2015
    Posts
    2

    Re: x264 undefined reference

    I just wanted to let everybody know that I was able to solve this. It turns out that I was pointing to an older header file. Once I pointed to the correct one it compiled and ran successfully.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured