Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Transform360 issues building for Windows

Open
#39 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cmake, cpp

Research direction

Start with libavfilter/vf_transform360.c, especially generate_map and the VideoFrameTransform_new reference, then inspect how the VS2015-built Transform360.lib is produced and passed through the configure command. Reproduce the Windows MSYS2 build and determine whether the library and FFmpeg toolchains are link-compatible; done means make completes without the undefined-reference error.

Written by the indexing model from the issue text.

Description

Hi,

As others seem to have had, I am getting issues building ffmpeg with Transform360. I am using MSYS2 and the CMake produces a VisualStudio2015 solution to build a Transform360.lib. I then use this via the configure command...

./configure --prefix=ffmpeg/ --extra-cflags=-I"/usr/local/include" --extra-ldflags='-L/usr/local/lib -static' --pkg-config-flags="--static" --enable-nonfree --enable-gpl --enable-static --disable-shared --enable-libx264 --enable-libx265 --enable-libfdk_aac --enable-nvenc --extra-libs='Transform360.lib'

The subsequent 'make' call then spits out the error...

libavfilter\libavfilter.a(vf_transform360.o): In function generate_map': C:\msys64\home\stebu\ffmpeg_nvidia_cubemap2/libavfilter/vf_transform360.c:140: undefined reference to VideoFrameTransform_new'
C:\msys64\home\stebu\ffmpeg_nvidia_cubemap2/libavfilter/vf_transform360.c:140:(.text+0x57f): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `VideoFrameTransform_new'

I am betting it is because the transform lib has been made with VS compiler, and ffmpeg is being compiled with gcc...

Can anyone offer any guidance?

Thanks!

Dominant language
C++
Stars
1k
Forks
242
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from facebook/transform360

All issues in facebook/transform360

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.