Compiling on Ubuntu 16: undefined reference to VideoFrameTransform_new
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp, ubuntu
- Domain
- audio-video-rtc, build-system
Research direction
Start by reproducing the Ubuntu 16.04 build with the reported ffmpeg v3.3.1 configuration and inspect libavfilter/vf_transform360.c together with the Transform360 library build and link instructions. Verify how the VideoFrameTransform_* symbols are provided and linked. Done means the make step completes and ffmpeg_g links without undefined references.
Written by the indexing model from the issue text.
Description
One of our researchers has asked us to compile this but I've run into an issue.
$ make
[...]
LD ffmpeg_g
libavfilter/libavfilter.a(vf_transform360.o): In function `generate_map':
/local-scratch/swbuilder/Linux/Ubuntu/16.04/amd64/ffmpeg-3.3.1/libavfilter/vf_transform360.c:136: undefined reference to `VideoFrameTransform_new'
/local-scratch/swbuilder/Linux/Ubuntu/16.04/amd64/ffmpeg-3.3.1/libavfilter/vf_transform360.c:152: undefined reference to `VideoFrameTransform_generateMapForPlane'
libavfilter/libavfilter.a(vf_transform360.o): In function `filter_frame':
/local-scratch/swbuilder/Linux/Ubuntu/16.04/amd64/ffmpeg-3.3.1/libavfilter/vf_transform360.c:344: undefined reference to `VideoFrameTransform_transformFramePlane'
libavfilter/libavfilter.a(vf_transform360.o): In function `uninit':
/local-scratch/swbuilder/Linux/Ubuntu/16.04/amd64/ffmpeg-3.3.1/libavfilter/vf_transform360.c:295: undefined reference to `VideoFrameTransform_delete'
collect2: error: ld returned 1 exit status
Makefile:136: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1
Distro: Ubuntu 16.04.2 LTS (Xenial Xerus)
ffmpeg source: v3.3.1
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
transform360 itself compiles fine, but following the instructions at
https://github.com/facebook/transform360 yields the error above.
Troubleshooting steps I've tried:
-
vf_transform360.c: changing these two includes to absolute paths
#include "transform360/VideoFrameTransformHandler.h"
#include "transform360/VideoFrameTransformHelper.h" -
vf_transform360.c: #include "Transform360..." (capital T, as
suggested in https://github.com/facebook/transform360/issues/24) -
starting over with
export ELIBS='-lTransform360 -lstdc++'
export LDFLAGS='-L/usr/local/lib'
export CFLAGS='-I/usr/local/include/Transform360/Library'
./configure --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac
--enable-libfreetype --enable-libmp3lame --enable-libopus
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxvid --enable-libopencv
All of these yielded the same error. Any suggestions would be most welcome. Thank you!
- Dominant language
- C++
- Stars
- 1k
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from facebook/transform360
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
facebook/transform360#76 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
facebook/transform360#74 ·
-
gcc question Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
facebook/transform360#73 · 2 comments ·
-
License conflict Open
Difficulty 1/5 Under an hour Newbie friendliness 38/100
facebook/transform360#71 ·
-
Windows build Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
facebook/transform360#69 · 13 comments ·
All issues in facebook/transform360
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100