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

cmake: missing: SWRESAMPLE_LIBRARIES || Ubuntu 13.04 || svn co #571

Closed
TheCycoONE opened this issue Dec 24, 2014 · 1 comment
Closed

cmake: missing: SWRESAMPLE_LIBRARIES || Ubuntu 13.04 || svn co #571

TheCycoONE opened this issue Dec 24, 2014 · 1 comment
Labels
bug issue type Googlecode Origin P3 Medium Priority

Comments

@TheCycoONE
Copy link
Member

From anton.se...@gmail.com on September 03, 2013 00:05:09

What steps will reproduce the problem? 1. Checkout source code
2. Run cmake inn same folder as checked out source (I used -D WITH_OPEGL=yes) What is the expected output? What do you see instead? I expected to have it to be configured successfully, instead:
Note: Using OpenGL as renderer
Note: SDL audio is enabled (default)
Note: FFMPEG video is enabled (default)
Note: FreeType2 is enabled (default)

Building CorsixTH
SDL found
Lua 5.1 found
SDL_mixer found
-- CMAKE_MODULE_PATH=/home/krack/src/corsix-th-svn-ro/CMake
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
Could NOT find FFmpeg (missing: SWRESAMPLE_LIBRARIES
SWRESAMPLE_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
CMake/FindFFmpeg.cmake:146 (find_package_handle_standard_args)
CorsixTH/CMakeLists.txt:136 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!

What version of CorsixTH are you using (e.g. "0.21", "SVN r123 ")?
$ svn info
Path: .
Working Copy Root Path: /home/krack/src/corsix-th-svn-ro
URL: http://corsix-th.googlecode.com/svn/trunk Repository Root: http://corsix-th.googlecode.com/svn Repository UUID: c39591fa-788f-11de-a72b-d90af8dea425
Revision: 2467
Node Kind: directory
Schedule: normal
Last Changed Author: edvin.linge@gmail.com
Last Changed Rev: 2467
Last Changed Date: 2013-09-02 01:38:24 -0400 (Mon, 02 Sep 2013) What operating system / compile settings are you using? Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring

What level was this on (e.g. "Demo level", "Full game level 12")?
Cannot configure to even compile yet. Please provide any additional information below. I found a thread that mentions the most likely culprit: http://stackoverflow.com/questions/12651816/libswresample-in-recent-ubuntu-version I'm sure the fix is relatively easy but I don't know cmake enough.
I tried changing one line in CMake/FindFFmpeg.cmake but it didnt help:
find_component(AVRESAMPLE libavresample avresample libavresample/avresample.h)
FROM:
find_component(SWRESAMPLE libswresample swresample libswresample/swresample.h)

Also, someone tried to build it himself/herself and failed: hrydgard/ppsspp#2322 (comment)

Original issue: http://code.google.com/p/corsix-th/issues/detail?id=1702

@TheCycoONE TheCycoONE added P3 Medium Priority Googlecode Origin bug issue type labels Dec 24, 2014
@TheCycoONE
Copy link
Member Author

From edvin.li...@gmail.com on September 03, 2013 10:02:59

Have you tried using the PPA at https://launchpad.net/~jon-severinsson/+archive/ffmpeg as described on the How-To-Compile wiki page? I haven't tried it recently but it worked a few months ago.

Status: Input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue type Googlecode Origin P3 Medium Priority
Projects
None yet
Development

No branches or pull requests

1 participant