Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make failed on ubuntu 16.04 #692

Closed
onzone opened this issue Jun 24, 2021 · 6 comments
Closed

make failed on ubuntu 16.04 #692

onzone opened this issue Jun 24, 2021 · 6 comments
Labels
stale This issue has not had any activity in 90 days :(

Comments

@onzone
Copy link

onzone commented Jun 24, 2021

I am getting this error while make in ubuntu..

[ 90%] Linking CXX executable openshot-player
../src/libopenshot.so.0.2.5: undefined reference to `avresample_alloc_context'
../src/libopenshot.so.0.2.5: undefined reference to `avresample_free'
../src/libopenshot.so.0.2.5: undefined reference to `avresample_close'
../src/libopenshot.so.0.2.5: undefined reference to `avresample_convert'
../src/libopenshot.so.0.2.5: undefined reference to `avresample_open'
collect2: error: ld returned 1 exit status
examples/CMakeFiles/openshot-player.dir/build.make:128: recipe for target 'examples/openshot-player' failed
make[2]: *** [examples/openshot-player] Error 1
CMakeFiles/Makefile2:983: recipe for target 'examples/CMakeFiles/openshot-player.dir/all' failed
make[1]: *** [examples/CMakeFiles/openshot-player.dir/all] Error 2
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2

Here is my CMake output:

-----------------------------------------------------------------
          Welcome to the OpenShot Build System!

CMake will now check libopenshot's build dependencies and inform
you of any missing files or other issues.

For more information, please visit <http://www.openshot.org/>.
-----------------------------------------------------------------

Generating build files for OpenShot with CMake 3.20.2
  Building libopenshot (version 0.2.5)
  SO/API/ABI Version: 19

-- Could NOT find ImageMagick (missing: ImageMagick_Magick++_LIBRARY ImageMagick_MagickCore_LIBRARY) (found version "6.8.9-9")
-- Looking for system jsoncpp
-- Could NOT find Resvg, using Qt SVG parsing instead (missing: Resvg_LIBRARIES Resvg_INCLUDE_DIRS) 
-- PYTHON_MODULE_PATH: /usr/local/lib/python3.6/dist-packages
-- Could NOT find Ruby (missing: Ruby_EXECUTABLE Ruby_INCLUDE_DIR Ruby_LIBRARY) (Required is at least version "1.8.0")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Build configuration:
-- The following OPTIONAL packages have been found:

 * PkgConfig
 * PythonInterp (required version >= 3)
 * PythonLibs (required version >= 3)

-- The following REQUIRED packages have been found:

 * OpenShotAudio (required version >= 0.2.0)
 * jsoncpp
 * Qt5Widgets
 * FFmpeg
 * OpenMP
 * ZeroMQ
 * Qt5Core (required version >= 5.5.1)
 * Qt5Gui
 * Qt5
 * SWIG (required version >= 3.0)

-- The following features have been disabled:

 * Coverage, analyze test coverage and generate report
 * IWYU (include-what-you-use), Scan all source files with 'iwyu'
 * OpenCV algorithms, Use OpenCV algorithms
 * Unit tests, Compile unit tests for library functions

-- The following OPTIONAL packages have not been found:

 * ImageMagick
 * cppzmq
 * Resvg
 * Ruby
 * Doxygen
 * Catch2

-- Configuring done
WARNING: Target "pyopenshot" requests linking to directory "/usr/lib/python3.6".  Targets may link only to libraries.  CMake is dropping the item.
-- Generating done
-- Build files have been written to: /home/onzone/libopenshot/build

Any help, please?

@JacksonRG
Copy link
Collaborator

Have you build libopenshot-audio already?

@onzone
Copy link
Author

onzone commented Jun 25, 2021

Yes..I have build libopenshot-audio..And it built fine..

@ferdnyc
Copy link
Contributor

ferdnyc commented Jun 26, 2021

Ubuntu 16.04 has entered what Ubuntu calls "Extended Security Maintenance" (as of April 2021), basically it's no longer supported except for paying customers with critical issues with the core components.

It's therefore no longer supported by OpenShot/libopenshot, sorry. (You could build on it, but you'd have to upgrade CMake and FFmpeg at a minimum. Possibly GCC as well.)

@ferdnyc
Copy link
Contributor

ferdnyc commented Jun 26, 2021

Oh! And Python. We've stopped supporting Python 3.4 and 3.5, which are both now end-of-life.

@ferdnyc
Copy link
Contributor

ferdnyc commented Jun 26, 2021

Ah, it looks like you have upgraded those things — that's good. The issue you were actually seeing was a boneheaded mistake I made in the FFmpeg linking, but it's now been fixed by #693 and #694. Try the latest develop code, it should do the right thing.

@stale
Copy link

stale bot commented Sep 25, 2021

Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention.

This issue will be closed, as it meets the following criteria:

  • No activity in the past 90 days
  • No one is assigned to this issue

We'd like to ask you to help us out and determine whether this issue should be reopened.

  • If this issue is reporting a bug, please can you attempt to reproduce on the latest daily build to help us to understand whether the bug still needs our attention.
  • If this issue is proposing a new feature, please can you verify whether the feature proposal is still relevant.

Thanks again for your help!

@stale stale bot added the stale This issue has not had any activity in 90 days :( label Sep 25, 2021
@ferdnyc ferdnyc closed this as completed Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue has not had any activity in 90 days :(
Projects
None yet
Development

No branches or pull requests

3 participants