Re: [proaudio] jost + vst + amd64 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [proaudio] jost + vst + amd64
- From: "Péter Pál Koszta" <djcosthezz@xxxxxxxxx>
- Date: Wed, 20 Jun 2007 18:26:29 +0200
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FdHcDcVC13MuxsFbP9fk0s/A4U77oXIUoIryYdeMAjb9bc3bcN71n4qMIMHsmK2NA5ru5b/T5X/Z9kRubPOxkDRlpD2qKD/CMChvpWMDtQ8waLfpqlxEa9wwPGtE6kdoI9OY0GhBxQ4aONb8r3khQO3LNBVxnbdGewEExvzMO1k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lvHTRQvJPKC0I69yBW/F/zkq6ghwP8xyrITrg2sFMGNoG09TxrB69cfs4Oc5+urbCuZKp6YPOaHkH/mwWMUQw0NL5w7xJlrwYCEX+IEKiAccgCrnwpZWPhhMDfTDZ8//AtyWQ0rPAZAtaCVayr+MsHitWGBPu0Z59+j5uAAXsus=
Hi!
I compile some vst loader app such as dssi-vst, lmms.
In dssi-vst adding the -m32 flag to winegcc solves the problem.
A 32bit process can communicate with a 64bit process via ipc,
pipe...
(so edit Makefile, add -m32 flag to winegcc)
In lmms I've tried the same but it did not work. So I have to
compile the whole app in 32bit with all dependencies which
aren't in emul-x86-linux ebuilds.
Adding it to an ebuild is the easiest way to compile things for 32bit:
use amd64 && multilib_toolchain_setup x86
2007/6/20, kRAkEn/gORe <kunitoki@xxxxxxxxx>:
yeah i've spotted this already. i will fixit asap, you only need to
change the cast from (int) to
(long) in that line. the only problem in compiling jost for 64bit is
that many plugins that comes in binary only (mda or jucetice ones for
example) cannot run at all cause they are compiled for 32bit...
On 6/20/07, Andrew Gaydenko <a@xxxxxxxxxxxx> wrote:
> With intention to try jost's vst support, I have replaced vst-sdk ebuild's
>
> SRC_URI="x86? ( vstsdk${PV}.zip )"
>
> string with this one:
>
> SRC_URI="amd64? ( vstsdk${PV}.zip )"
>
> and have emerged vst-sdk and few vst plugins. Then I have added 'vst' flag
> for jost and got the error shown below. Have I missed something?
> GCC 4.1.2 is in use.
>
> ---------------------------------
> ...
> VstPlugin.cpp
> Resources.cpp
> ../../src/model/plugins/VstPlugin.cpp: In member function 'virtual void VstPlugin::openEditor(void*, void*)':
> ../../src/model/plugins/VstPlugin.cpp:377: error: cast from 'void*' to 'int' loses precision
> make[1]: *** [../../../../bin/intermediate/JostRelease/VstPlugin.o] Error 1
> make: *** [jost] Error 2
>
>