-
Notifications
You must be signed in to change notification settings - Fork 407
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
compile error on ubuntu 20.04 #686
Comments
The fix is pending in upstream pull request. |
o ...id is 679? it's too long time |
@xengine-qyt I guess @Biswa96 is talking about this. |
OK .thanks... |
I upgraded to ubuntu 22.04.2 LTS (windows bash) just for this error and it turns out it's not related to ubuntu. build_lensfun() {
build_glib
do_git_checkout https://github.com/lensfun/lensfun.git lensfun_git
cd lensfun_git
#MODIFY
#Patch to fix compile problem: https://github.com/lensfun/lensfun/issues/1998
apply_patch https://patch-diff.githubusercontent.com/raw/lensfun/lensfun/pull/1999.patch -p1
#MODIFY
export CMAKE_STATIC_LINKER_FLAGS='-lws2_32 -pthread'
do_cmake "-DBUILD_STATIC=on -DCMAKE_INSTALL_DATAROOTDIR=$mingw_w64_x86_64_prefix"
do_make
do_make_install
sed -i.bak 's/-llensfun/-llensfun -lstdc++/' "$PKG_CONFIG_PATH/lensfun.pc"
unset CMAKE_STATIC_LINKER_FLAGS
cd ..
}
|
ubuntu 20.04.5 lts x64.
build command:./cross_compile_ffmpeg.sh --build-ffmpeg-shared=y --build-ffmpeg-static=n --ffmpeg-git-checkout-version=n5.1.2
The text was updated successfully, but these errors were encountered: