Comments (6)
I met this error before and fixed it by changing the way to compile ffmpeg:
./configure --enable_shared
make
sudo make install
Best regards,
Ted Gao(高昌军)
Chengdu CK Science & Technology
MP : +86 15008464587
TEL: +86 028 68616921
Email: [email protected] mailto:[email protected]
发件人: [email protected] [mailto:[email protected]] 代表 VRabbitHole
发送时间: 2016年8月13日 1:59
收件人: facebook/Surround360
主题: [facebook/Surround360] Fatal Error on compiling CameraControl Software (#47)
Just went through the install procedure for the CameraControl software and in the final compile section get this Fatal Error Message .... any suggestions on where I might have gone wrong (I'm not a C++ or C guy):
fbvr22@FBVR22:/Surround360/surround360_camera_ctl$ make
[ 40%] Building CXX object CMakeFiles/CameraControl.dir/source/camera_control/CameraControl.cpp.o
/Surround360/surround360_camera_ctl/source/camera_control/CameraControl.cpp:49:32: fatal error: libavcodec/avcodec.h: No such file or directory
compilation terminated.
CMakeFiles/CameraControl.dir/build.make:86: recipe for target 'CMakeFiles/CameraControl.dir/source/camera_control/CameraControl.cpp.o' failed
make[2]: *** [CMakeFiles/CameraControl.dir/source/camera_control/CameraControl.cpp.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/CameraControl.dir/all' failed
make[1]: *** [CMakeFiles/CameraControl.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
fbvr22@FBVR22:/Surround360/surround360_camera_ctl$
Here's the ls -l output:
fbvr22@FBVR22:/Surround360/surround360_camera_ctl$ ls -l
total 68
drwxr-xr-x 2 root root 4096 Aug 12 10:28 bin
-rw-r--r-- 1 root root 10486 Aug 12 10:28 CMakeCache.txt
drwxr-xr-x 8 root root 4096 Aug 12 10:29 CMakeFiles
-rw-r--r-- 1 root root 1388 Aug 12 10:28 cmake_install.cmake
-rwxr-xr-x 1 root root 1377 Aug 12 09:20 CMakeLists.txt
drwxr-xr-x 2 root root 4096 Aug 12 09:20 configs
-rw-r--r-- 1 root root 1550 Aug 12 09:20 CONTRIBUTING.md
-rw-r--r-- 1 root root 1531 Aug 12 09:20 LICENSE_camera_ctl.md
-rw-r--r-- 1 root root 8692 Aug 12 10:28 Makefile
-rw-r--r-- 1 root root 4106 Aug 12 09:20 README.md
drwxr-xr-x 2 root root 4096 Aug 12 09:20 scripts
drwxr-xr-x 4 root root 4096 Aug 12 09:20 source
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #47 , or mute the thread https://github.com/notifications/unsubscribe-auth/AT9F4eZsBc2I-KIYgygGIcEhmkEzMS04ks5qfLRIgaJpZM4JjUJY . https://github.com/notifications/beacon/AT9F4UJ8Yfh4yK3IcjurW6uUS11UJCYDks5qfLRIgaJpZM4JjUJY.gif
from surround360.
Thanks Ted ... will give it a whirl.
Have you actually built the 360 camera rig or just testing the software?
from surround360.
I had built the code.
First, you need compile share lib ( .so files ) for ffmpeg.
In the guide ( https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu ), it only guide you to compile the static lib ( .a files ) , you need add --enable-shared in ffmpeg and libx265 and etc.
Second, if you install ffmpeg to your local path, you need add the include path and lib path in CMakeList.txt .
from surround360.
Second, if you install ffmpeg to your local path, you need add the include path and lib path in CMakeList.txt
Thank you, but could you please explain how exactly this is done?
from surround360.
@rezanvshield, assuming you have ffmpeg installed in <ffmpeg_path> you can do:
export LD_LIBRARY_PATH=<ffmpeg_path>/lib/
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:<ffmpeg_path>/lib/pkgconfig
export PKG_CONFIG_LIBDIR=$PKG_CONFIG_LIBDIR:<ffmpeg_path>/lib/
and run the cmake command again.
from surround360.
@rezanvshield closing this task for now. Please feel free to reopen it if the problem persists.
from surround360.
Related Issues (20)
- Folly and Gooey problem HOT 1
- Which color calibration algorithm? HOT 2
- Isn it should be I0.rows at errorFunction? HOT 5
- Can the rendered be used to stitch other systems such as a cube of GoPros?
- terminate called after throwing an instance of 'std::runtime_error' what(): json mValueType==ObjectVal required HOT 3
- The website is down HOT 5
- what's "grayscale chart "? HOT 1
- Issues running geometric calibration
- Unable to build surround360_render HOT 1
- usage of geometric calibration in NEW SCENE ?
- Unable to run run_all.py on the sample dataset http://surround360.hacktv.xyz/sample/sample_dataset.zip HOT 4
- Custom illuminants other than d65 HOT 1
- Running ./CameraControlUI error
- x24 camera? HOT 1
- The reference papers about the project
- Issue with folly when building surround360_render HOT 5
- Gooey problem
- Anyone ever got this error message "Isochronous transfer has not been started"?
- in generateNovelViewSimpleCvRemap,why imageL use flowRtoL?thanks! HOT 1
- optical flow computation method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surround360.