ср, 3 дек. 2025 г., 15:55 Andrew Randrianasulu <randrianasulu@gmail.com>:
ср, 3 дек. 2025 г., 13:16 Rob Prowel <rprowel@comcast.net>:
On 12/3/25 4:07 AM, Andrew Randrianasulu wrote:
truncates the function and causes a compilation failure. It should
be
moved to line 251.
Ah, thanks. Will fix and send fix to mail list.
there should be ./autogen.sh for this ...
I manually edited the file before sending last email, so if patch is valid then push it to git, but I still don't have a working build. additional issues are
1) libdxp is extremely obscure and I'm using system libraries so I manually installed it in /usr/local. However the cinelerra build system is having trouble with it when linked as a system lib. the class inheritance breaks at linking because it cannot find the InStream base class. I've since removed it from the build with --without-libdpx
Hopefully ffmpeg/libavcodec still can be used to read dpx files ...
Sorry, I am not really programmer so I doubt I can fix this (I may try at some point).
2) Im on plugins now and cuda doesn't seems to be well supported. It still refers to unsupported compute levels, and there are missing includes required to build the cuda plugins. I doubt anyone is using it so I'd suggest removal of cuda options until it is better debugged.
Well, it was working with specific version of CUDA, hopefully someone can recall exact version.
I prefer NOT to disable/remove things because putting them back together is also error-prone work.
---
OK so I can build but "make install" fails now with
test ! -f db/utils/new_db || cp -a db/utils/new_db "bin/cin_db" cd bin; /6TB/storage/programming/cingg/cinelerra-5.1/inst.sh "/sharebin/cingg2511/bin" \ zmpeg3{cc2txt,ifochk} cd bin; /6TB/storage/programming/cingg/cinelerra-5.1/inst.sh "/sharebin/cingg2511/lib/cin" \ hveg2enc mpeg2enc mplex mplexlo *** Error - inst.sh mpeg2enc in /sharebin/cingg2511/lib/cin failed. make: *** [Makefile:1081: zmp_install] Error 1
Sounds like "make install" having trouble installing into custom prefix ?
Do you have mjpegtools-dev installed? I think whole internal mpeg encoder depend on it ....
You can look at scripts in blds/ directory, they disable some things. I think DVB input depend on internal mpeg2 engine too, so if you disable that (for some reason ) then you probably want to disable some of v4l2 inputs. Sorry, not all of it is automated, a lot of options accumulated over time (and more to come, with Vulkan/HDR support) but usually build without thirdparty works because I build on *BSD VMs like that ...
Ah, checked on Termux (where I build without thirdparty, there is no system mjpegtools but libzmpeg still builds) and I think I made patch that should at least fix install part of the problem by taking different Makefile target if thirdparty build was not done (so no mjpegtools get build there and no mpeg2enc/mplex get build and installed in bin consequently) Runtime still might have problem if you attempt to use MPEG video (m2v) encoding setting, I wonder if making symlinks to where cingg install other progs might be needed? But for now can you test (apply with "git am", remove by using " git reset --hard prev_commit") attached patch for your scenario ?
rprowel@files:~/programming/cingg/cinelerra-5.1$ ll /usr/bin/mpeg2enc -rwxr-xr-x 1 root root 49744 Oct 29 2024 /usr/bin/mpeg2enc
I suppose this would be less of a problem if it were at the end of the installation procedure but considering the plugins aren't installed at that point, it is broken.