-
Notifications
You must be signed in to change notification settings - Fork 414
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
build failed on colab!! #706
Comments
frei0r build error!! |
This is a new module added to frei0r. To avoid needing to use a threads support lib you can disable the module. |
...and me has a same error |
yes make the above change to the main helper script and it will work |
Another alternative, I made the following edit to the
|
This is due to the mingw cross-compiler you're building using the win32 thread model, not posix, and the win32 model doesn't support
I have in PR in for frei0r that detects this case and disables multithreading, |
OK see #707 for now |
A
!apt update
!apt install subversion ragel curl texinfo g++ ed bison flex cvs yasm automake libtool autoconf gcc cmake git make pkg-config zlib1g-dev unzip pax nasm gperf autogen bzip2 autoconf-archive p7zip-full meson clang python3-distutils python-is-python3 -y
!git clone https://github.com/rdp/ffmpeg-windows-build-helpers.git
B
!cd ffmpeg-windows-build-helpers && bash ./cross_compile_ffmpeg.sh
input 1, build x64 and Win32
when build frei0r
In file included from /content/ffmpeg-windows-build-helpers/sandbox/win32/frei0r_git/src/filter/kaleid0sc0pe/kaleid0sc0pe.cpp:28:
/content/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/c++/10.2.0/future:125:11: note: declaration of 'std::iterator_traits<std::future*>::value_type' {aka 'class std::future'}
125 | class future;
| ^~~~~~
make[2]: *** [src/filter/kaleid0sc0pe/CMakeFiles/kaleid0sc0pe.dir/build.make:92: src/filter/kaleid0sc0pe/CMakeFiles/kaleid0sc0pe.dir/kaleid0sc0pe.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:3441: src/filter/kaleid0sc0pe/CMakeFiles/kaleid0sc0pe.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 29%] Linking CXX shared module lightgraffiti.dll
[ 29%] Built target lightgraffiti
make: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered: