Question about compiling Kdenlive on Windows: "File too big" error

ahiijny ahiijny at gmail.com
Tue Nov 24 03:02:01 GMT 2020


Hi, I hope this is the right place to ask about this.

I wanted to try compiling the Kdenlive project, so I followed the
instructions here:
https://community.kde.org/Kdenlive/Development/WindowsBuild#Compiling_on_Windows_using_Craft_.28Recommended_method.29

It seemed to go well for the most part, but then I got this compilation
error:

C:/CraftRoot/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/as.exe:
src/CMakeFiles/kdenliveLib.dir/timeline2/model/timelinemodel.cpp.obj: too
many sections (41199)
C:\Users\Username\AppData\Local\Temp\cc2ohnjx.s: Assembler messages:
C:\Users\Username\AppData\Local\Temp\cc2ohnjx.s: Fatal error: can't write
181 bytes to section .text of
src/CMakeFiles/kdenliveLib.dir/timeline2/model/timelinemodel.cpp.obj: 'File
too big'
C:/CraftRoot/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/as.exe:
src/CMakeFiles/kdenliveLib.dir/timeline2/model/timelinemodel.cpp.obj: too
many sections (41199)
C:\Users\Username\AppData\Local\Temp\cc2ohnjx.s: Fatal error: can't close
src/CMakeFiles/kdenliveLib.dir/timeline2/model/timelinemodel.cpp.obj: File
too big


I googled the error and I found a discussion thread that suggested adding
the "Wa,-mbig-obj"  option in the CXX_FLAGS:
https://github.com/include-what-you-use/include-what-you-use/issues/256

So, I wanted to try doing this, but I'm unfamiliar with the build system
(Cmake? Ninja? Makefiles?) so I'm not actually sure where I should insert
it so that it actually gets used in the build system 😅

Could anyone help me out with this?

Thanks,
Ahiijny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20201123/464885f6/attachment.htm>


More information about the kdenlive mailing list