| I will commit my new sources, but nothing else; then do a fresh checkout.
Original Message:
-----------------
From: stevenyi stevenyi@csounds.com
Date: Tue, 30 Mar 2004 09:02:04 -0800
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:4420] Re: fluid
Hi Michael,
I added your changes and committed them. I only tested here on linux
and the changes worked out fine. I can't test on windows as I didn't
see your src for the opcodes in the cvs. Work is unfortunately very
demanding this week so won't be able to do much with the -mno-cygwin
stuff for a few days.
Thanks,
steven
On Mon, 2004-03-29 at 19:35, Michael Gogins wrote:
> I found that both Steven Yi's, and my, fluidsynth based opodes can be
> compiled and linked with Cygwin if the -mno-cygwin option is not passed to
> the compiler, but only to the linker. The resulting fluid.dll (my opode)
> runs and can even be restarted in CsoundVST.
>
> I will commit the changed SConstruct file after I back out some
unnecessary
> changes I made to other files. Or Steven could fix up his version of
> SConstruct and commit it. My rules follow.
>
> I am still having problems getting -mno-cygwin to compile C++ files such
as
> widgets.cpp.
>
> I had to use Google rather a lot to figure this out. Perhaps more Googling
> will help with the -mno-cygwin compilation.
>
>
> # Plugins with External Dependencies
>
> # FLUIDSYNTH OPCODES
>
> if configure.CheckHeader("fluidsynth.h", language = "C"):
> vstEnvironment.Append(CCFLAGS = ['-DFLUIDSYNTH_NOT_A_DLL',
'-DMAKEDLL',
> '-DBUILDING_DLL'])
> fluidEnvironment = vstEnvironment.Copy()
> fluidEnvironment.Append(LIBS = ['fluidsynth', 'stdc++', 'pthread'])
> if sys.platform == 'cygwin' or sys.platform == 'mingw' or
> sys.platform[:3] == 'win':
> fluidEnvironment.Append(LINKFLAGS = ['-mno-cygwin'])
> fluidEnvironment.Append(LIBS = Split('''
> winmm
> dsound
> '''))
> fluidEnvironment.SharedLibrary('fluidOpcodes',
> ['Opcodes/fluidOpcodes/fluidOpcodes.cpp'])
>
> fluidEnvironment.SharedLibrary('fluid', Split('''
> Opcodes/fluid/AudioEffect.cpp
> Opcodes/fluid/audioeffectx.cpp
> Opcodes/fluid/Soundfonts.cpp
> Opcodes/fluid/SoundfontsMain.cpp
> Opcodes/fluid/FluidsynthOpcode.cpp
> '''))
>
>
> ============================================
> Michael Gogins
> gogins at pipeline period com
> Irreducible Productions
> CsoundVST, an extended version of Csound for programming music and sound
> Available at http://sourceforge.net/projects/csound/
> ============================================
>
>
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ . |