Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 2nd October 2018, 02:23   #1  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 540
seeking suggestions for cross-compiling lame_enc.dll

Hello. Using a derivative of DeadSix27's ffmpeg cross-compiling script https://github.com/DeadSix27/python_...compile_script , I tried to cross-compile lame 3.100 to end up with a "lame_enc.dll" to be used with Audacity, however to doesn't seem to produce a lame_enc.dll

I do see these in the bin folder
Code:
lame.exe
libmp3lame-0.dll
but no lame_enc.dll

This is the configure and make
Code:
autoreconf -fiv
./configure --build=x86_64-linux-gnu --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --without-libiconv-prefix --prefix=/home/u/Desktop/workdir/x86_64_products/lameENC_DLL-3.100.installed --enable-shared --disable-static --enable-nasm
make  -j 2
And I notice this in the log
Code:
Making all in Dll
make[2]: Entering directory '/home/u/Desktop/workdir/x86_64_products/lameENC_DLL_3.100/Dll'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/u/Desktop/workdir/x86_64_products/lameENC_DLL_3.100/Dll'
It does produce a libmp3lame-0.dll which I renamed to lame_enc.dll however Audacity doesn't like it.

Any suggestions for cross-compiling lame_enc.dll would be greatly appreciated.



PS here's the section I used to try to cross compile it as a product.
Code:
	'lameENC_DLL' : {
		# 'debug_downloadonly': True,
		'repo_type' : 'archive',
		'download_locations' : [
			{ "url" : "https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz", "hashes" : [ { "type" : "sha256", "sum" : "ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e" }, ], },
			{ "url" : "https://fossies.org/linux/misc/lame-3.100.tar.gz", "hashes" : [ { "type" : "sha256", "sum" : "ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e" }, ], },
		],
		'folder_name' : 'lameENC_DLL_3.100',
		'patches' : (
			('https://raw.githubusercontent.com/hydra3333/h3333_python_cross_compile_script/master/patches/lame-from-AlexPux/0002-07-field-width-fix.all.patch','-Np1'),
			('https://raw.githubusercontent.com/hydra3333/h3333_python_cross_compile_script/master/patches/lame-from-AlexPux/0005-no-gtk.all.patch','-Np1'),
			('https://raw.githubusercontent.com/hydra3333/h3333_python_cross_compile_script/master/patches/lame-from-AlexPux/0006-dont-use-outdated-symbol-list.patch','-Np1'),
			('https://raw.githubusercontent.com/hydra3333/h3333_python_cross_compile_script/master/patches/lame-from-AlexPux/0007-revert-posix-code.patch','-Np1'),
			# tgetent() crashes under mingw64, not sure why
			('https://raw.githubusercontent.com/hydra3333/h3333_python_cross_compile_script/master/patches/lame-from-AlexPux/0008-skip-termcap.patch','-Np1'),
		),
		'run_post_patch' : (
			'autoreconf -fiv',
		),
		'depends_on' : ['iconv'],
		# AlexPux has this: --build=${MINGW_CHOST} --host=${MINGW_CHOST} --target=${MINGW_CHOST} 
		# maybe need to run make in the DLL folder ?
		#'make_subdir' : 'Dll',
		'configure_options': '--build=x86_64-linux-gnu --host={target_host} --target={target_host} --without-libiconv-prefix --prefix={product_prefix}/lameENC_DLL-3.100.installed --enable-shared --disable-static --enable-nasm',
		'_info' : { 'version' : '3.100', 'fancy_name' : 'lameENC_DLL.3.100' },
	},
hydra3333 is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.