Re: [Faudiostream-devel] Generating standalone Windows application on Linux

2016-05-31 Thread Jingjie Zhang

Hello, Kjetil!


Thank you for your advice!


I have installed the MXE on my Ubuntu today, and I am going to take a look at 
the Jack-qt solution.


However, I still have some doubts:
I use "faust2jaqt/faust2jack" to generate Linux binaries, but it seems that MXE 
needs the whole qt/gtk program files to do cross-compiling.
Where can I find these intermediate files that generated by 
"faust2jaqt/faust2jack"?


Thank you again for your kindness!




Best regards,
Jingjie Zhang

-原始邮件-
发件人:"Kjetil Matheussen" 
发送时间:2016-05-31 03:01:50 (星期二)
收件人: "Jingjie Zhang" 
抄送: "faudiostream-devel@lists.sourceforge.net" 

主题: Re: [Faudiostream-devel] Generating standalone Windows application on Linux






On Mon, May 30, 2016 at 5:42 PM, Jingjie Zhang  
wrote:

Dear Sirs,


This is my first post, and call me JJ if you like.
I am having trouble compiling a Faust program with a C++ foreign function into 
a standalone application so that I can hear and debug.

I have FaustLive and JACK on Windows, but FaustLive cannot compile the foreign 
function part.
So I managed to set up a virtual Ubuntu with VMware, and successfully built a 
JACK-GTK standalone application.

However, I found that I cannot achieve an acceptable latency with JACK on this 
virtual Ubuntu.
But on the other hand, JACK works really well on my Windows host.
So I wonder if there is any way with Faust on Linux to generate a standalone 
Windows application?

I have read some of the previous emails in this list, and it seems that there 
is a way using mingw and gtk-for-windows.
Thus, did anyone succeed in doing this? I need more details.




Yes, you can cross compile on Linux. MXE is an easy to set up and easy to use 
environment for
creating windows binaries on linux;  http://mxe.cc/

When I cross compiled a gtk program last time, there were some inconveniences 
with font handling
though, so maybe you want to look at compiling jack-qt programs instead, if the 
font handling

inconveniences are still there. (don't remember the details right now)








--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel


Re: [Faudiostream-devel] Generating standalone Windows application on Linux

2016-05-31 Thread Kjetil Matheussen
Hi, I don't remember exactly how faust2jack/etc. works, but I don't think
they create more than
one file...(?) Perhaps you just need to add a
"-I/wherefaustisinstalled/architecture/faust/" option
when compiling?



On Tue, May 31, 2016 at 6:07 PM, Jingjie Zhang 
wrote:

>
> Hello, Kjetil!
>
>
> Thank you for your advice!
>
> I have installed the MXE on my Ubuntu today, and I am going to take a look
> at the Jack-qt solution.
>
> However, I still have some doubts:
> I use "faust2jaqt/faust2jack" to generate Linux binaries, but it seems
> that MXE needs the whole qt/gtk program files to do cross-compiling.
> Where can I find these intermediate files that generated by
> "faust2jaqt/faust2jack"?
>
> Thank you again for your kindness!
>
>
> Best regards,
> Jingjie Zhang
>
> -原始邮件-
> *发件人:*"Kjetil Matheussen" 
> *发送时间:*2016-05-31 03:01:50 (星期二)
> *收件人:* "Jingjie Zhang" 
> *抄送:* "faudiostream-devel@lists.sourceforge.net" <
> faudiostream-devel@lists.sourceforge.net>
> *主题:* Re: [Faudiostream-devel] Generating standalone Windows application
> on Linux
>
>
>
>
> On Mon, May 30, 2016 at 5:42 PM, Jingjie Zhang <
> jingjiezhan...@fudan.edu.cn> wrote:
>
>>
>> Dear Sirs,
>>
>>
>> This is my first post, and call me JJ if you like.
>> I am having trouble compiling a Faust program with a C++ foreign function
>> into a standalone application so that I can hear and debug.
>>
>> I have FaustLive and JACK on Windows, but FaustLive cannot compile the
>> foreign function part.
>> So I managed to set up a virtual Ubuntu with VMware, and successfully
>> built a JACK-GTK standalone application.
>>
>> However, I found that I cannot achieve an acceptable latency with JACK on
>> this virtual Ubuntu.
>> But on the other hand, JACK works really well on my Windows host.
>> So I wonder if there is any way with Faust on Linux to generate a
>> standalone Windows application?
>>
>> I have read some of the previous emails in this list, and it seems that
>> there is a way using mingw and gtk-for-windows.
>> Thus, did anyone succeed in doing this? I need more details.
>>
>
>
> Yes, you can cross compile on Linux. MXE is an easy to set up and easy to
> use environment for
> creating windows binaries on linux;  http://mxe.cc/
> When I cross compiled a gtk program last time, there were some
> inconveniences with font handling
> though, so maybe you want to look at compiling jack-qt programs instead,
> if the font handling
> inconveniences are still there. (don't remember the details right now)
>
>
>
>
>
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel


Re: [Faudiostream-devel] Generating standalone Windows application on Linux

2016-05-31 Thread Jingjie Zhang

Hi, Kjetil!




Thanks for quick reply!


I tried it on an old version of Faust.(There is no faust2jack command in this 
version)
It seems that the Faust command does not have "-I" option.


Tomorrow I will try it on a newer version of Faust.



Best regards,
Jingjie Zhang

-原始邮件-
发件人:"Kjetil Matheussen" 
发送时间:2016-06-01 00:16:28 (星期三)
收件人: "Jingjie Zhang" 
抄送: "faudiostream-devel@lists.sourceforge.net" 

主题: Re: [Faudiostream-devel] Generating standalone Windows application on Linux


Hi, I don't remember exactly how faust2jack/etc. works, but I don't think they 
create more than
one file...(?) Perhaps you just need to add a 
"-I/wherefaustisinstalled/architecture/faust/" option
when compiling?



On Tue, May 31, 2016 at 6:07 PM, Jingjie Zhang  
wrote:

Hello, Kjetil!


Thank you for your advice!


I have installed the MXE on my Ubuntu today, and I am going to take a look at 
the Jack-qt solution.


However, I still have some doubts:
I use "faust2jaqt/faust2jack" to generate Linux binaries, but it seems that MXE 
needs the whole qt/gtk program files to do cross-compiling.
Where can I find these intermediate files that generated by 
"faust2jaqt/faust2jack"?


Thank you again for your kindness!




Best regards,
Jingjie Zhang

-原始邮件-
发件人:"Kjetil Matheussen" 
发送时间:2016-05-31 03:01:50 (星期二)
收件人: "Jingjie Zhang" 
抄送: "faudiostream-devel@lists.sourceforge.net" 

主题: Re: [Faudiostream-devel] Generating standalone Windows application on Linux


On Mon, May 30, 2016 at 5:42 PM, Jingjie Zhang  
wrote:

Dear Sirs,


This is my first post, and call me JJ if you like.
I am having trouble compiling a Faust program with a C++ foreign function into 
a standalone application so that I can hear and debug.

I have FaustLive and JACK on Windows, but FaustLive cannot compile the foreign 
function part.
So I managed to set up a virtual Ubuntu with VMware, and successfully built a 
JACK-GTK standalone application.

However, I found that I cannot achieve an acceptable latency with JACK on this 
virtual Ubuntu.
But on the other hand, JACK works really well on my Windows host.
So I wonder if there is any way with Faust on Linux to generate a standalone 
Windows application?

I have read some of the previous emails in this list, and it seems that there 
is a way using mingw and gtk-for-windows.
Thus, did anyone succeed in doing this? I need more details.




Yes, you can cross compile on Linux. MXE is an easy to set up and easy to use 
environment for
creating windows binaries on linux;  http://mxe.cc/

When I cross compiled a gtk program last time, there were some inconveniences 
with font handling
though, so maybe you want to look at compiling jack-qt programs instead, if the 
font handling

inconveniences are still there. (don't remember the details right now)








--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel