-
Notifications
You must be signed in to change notification settings - Fork 240
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
Transform360 issues building for Windows #39
Comments
To answer my own question... Yes, it is the use of multiple compilers. I have made everything with make (gcc) and, with a little bit of fiddling, managed to build up ffmpeg with Transform360 for Windows under MSYS2. Case closed! |
I face the same problem when I use Cmake to generate the Translate360 in Win10/VS2017. |
hi!I still trapped by this problem. |
ffmpeg in windows:https://github.com/ShiftMediaProject |
I'm having the same issue when building using msys2 and cmake. What fiddling did you do? |
Just ran into this (all same compiler), I had to modify ffbuild/config.mak and "move" -lTransform360 to just before the opencv libraries (no idea how this ever worked before). See also https://stackoverflow.com/a/54209992/32453 |
to get this to build, see facebook/transform360#39 (comment)
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!
The text was updated successfully, but these errors were encountered: