Thoughts and tutorials on programming

Tuesday, August 25, 2020

invention list/ideas thread

 See the comments for timestamped invention ideas for prior art/defensive publications, each one is a separate entity.

Friday, August 21, 2020

mingw cross compile ffmpeg woe

 ../include/cst_tokenstream.h:134:14: warning: inline function 'ts_utf8_sequence_length' declared but never defined
 __inline int ts_utf8_sequence_length(char c0);
              ^~~~~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc -mtune=generic -O3 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared     -o ../bin/flite_time.exe flite_time_main.o -L../build/x86_64-mingw32/lib -lflite_cmu_time_awb -lflite_usenglish -lflite_cmulex -L../build/x86_64-mingw32/lib -lflite   -lm   
make installing /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/win64/flite-2.1-release as $ PATH=/home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin:$PATH make install
Installing
mkdir -p /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/bin
mkdir -p /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib
mkdir -p /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/include/flite
/usr/bin/install -c -m 644 include/*.h /home/joshua/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/include/flite
/usr/bin/install: cannot stat '../bin/flite_cmu_us_kal.exe': No such file or directory
/usr/bin/install: cannot stat '../bin/flite_cmu_time_awb.exe': No such file or directory
/usr/bin/install: cannot stat '../bin/flite_cmu_us_kal16.exe': No such file or directory
/usr/bin/install: cannot stat '../bin/flite_cmu_us_awb.exe': No such file or directory
/usr/bin/install: cannot stat '../bin/flite_cmu_us_rms.exe': No such file or directory
/usr/bin/install: cannot stat '../bin/flite_cmu_us_slt.exe': No such file or directory
make[1]: *** [Makefile:137: install] Error 1
make: *** [Makefile:113: install] Error 2

meant "you need a newer gcc" (?) or possibly mingw-w64 headers

../build/x86_64-mingw32/lib/libflite.a(cst_error.o):cst_error.c:(.text+0x29): undefined reference to `__imp___acrt_iob_func'
../build/x86_64-mingw32/lib/libflite.a(cst_tokenstream.o):cst_tokenstream.c:(.text+0x89f): undefined reference to `__imp___acrt_iob_func'
../build/x86_64-mingw32/lib/libflite.a(cst_tokenstream.o):cst_tokenstream.c:(.text+0xbe5): undefined reference to `__imp___acrt_iob_func'
    
meant "nuke and try again" LOl


Contributors

Followers