Csound Csound-dev Csound-tekno Search About

Re: csoundVST winbuild problems

Date2005-11-07 05:31
From"Michael Gogins"
SubjectRe: csoundVST winbuild problems
That's funny. I have gcc 3.4.2. You should upgrade.

I have my own problems though. It compiles, but it does not run any more --  
seems like global variables are getting created twice, which causes Csound 
to Die.

Best,
Mike

----- Original Message ----- 
From: "James Hearon" 
To: 
Sent: Sunday, November 06, 2005 9:17 PM
Subject: [Csnd] csoundVST winbuild problems


> gcc (GCC) 3.2.3 (mingw special 20030504-1)
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
> PURPOSE.
> -----------------------------------
>
> version of gcc is 3.2.3.  CVS ck out is only couple days old.  Having 
> trouble getting csoundVST or interfaces option to compile.
>
>
>
> scons: Reading SConscript files ...
>
> C S O U N D 5
>
> SCons build file for Csound 5:
> API library, plugin opcodes, utilities, and front ends.
>
> By Michael Gogins 
>
> For custom options, run 'scons -h'.
> For default options, run 'scons -H'.
> If headers or libraries are not found, edit 'custom.py'.
> For Linux, run in the standard shell
>    with standard Python and just run 'scons'.
> For MinGW, run in the MSys shell
>    and use www.python.org WIN32 Python to run scons.
>
> System platform is 'win32'.
> Build platform is 'mingw'.
> SCons tools on this platform:  ['default', 'mingw', 'gcc', 'g++', 
> 'gnulink', 'ar', 'gas', 'CVS', 'jar', 'javac', 'javah', 'm4', 'rmic', 
> 'swig', 'tar', 'zip']
> CONFIGURATION DECISION: Using single-precision floating point for audio 
> samples.
> Checking for C header file stdio.h... yes
> Checking for C header file sndfile.h... yes
> Checking for C header file portaudio.h... yes
> Checking for C header file portmidi.h... no
> Checking for C++ header file FL/Fl.H... yes
> Checking for C++ header file boost/any.hpp... yes
> Checking for C header file alsa/asoundlib.h... no
> Checking for C header file jack/jack.h... no
> Checking for C header file lo/lo.h... no
> Checking for C++ header file Opcodes/stk/include/Stk.h... no
> Checking for C header file m_pd.h... yes
> Checking for C header file tcl.h... yes
> Checking for C header file lua.h... yes
> Checking for SWIG... yes
> Checking for C header file Python.h... yes
> Checking for C++ header file jni.h... yes
> Checking for C header file io.h... yes
> Checking for C header file fcntl.h... yes
> Checking for C header file unistd.h... yes
> Checking for C header file stdint.h... yes
> Checking for C header file sys/time.h... yes
> Checking for C header file sys/types.h... yes
> Checking for C header file termios.h... no
> Checking for C header file dirent.h... yes
> Checking for C header file Opcodes/Loris/src/loris.h... no
> CONFIGURATION DECISION: Not building Loris Python extension and Csound 
> opcodes.
> CONFIGURATION DECISION: Building dynamic Csound library
> CONFIGURATION DECISION: Not building with PortMIDI.
> CONFIGURATION DECISION: Not building Csound interfaces library.
> CONFIGURATION DECISION: Not generating PDF documentation.
> CONFIGURATION DECISION: Building with FLTK graphs and widgets.
> CONFIGURATION DECISION: Not building CoreAudio plugin.
> CONFIGURATION DECISION: Not building ALSA plugin.
> CONFIGURATION DECISION: Building PortAudio module.
> CONFIGURATION DECISION: Not building JACK plugin.
> CONFIGURATION DECISION: Not building OSC plugin.
> Checking for C header file fluidsynth.h... yes
> CONFIGURATION DECISION: Building fluid opcodes.
>
>
> doesn't compile with csound VST option and/or interfaces option
>
> -Ifrontends\CsoundVST -Iinterfaces -c -o 
> frontends\CsoundVST\CsoundVST_wrap.o frontends\CsoundVST\CsoundVST_wrap.cc
> frontends/CsoundVST/CsoundVST_wrap.cc:2094: `traits' is not a template
> frontends/CsoundVST/CsoundVST_wrap.cc:2095: ISO C++ forbids declaration of 
> `
>   pointer_category' with no type
> frontends/CsoundVST/CsoundVST_wrap.cc:2095: confused by earlier errors, 
> bailing out
> scons: building terminated because of errors.
> scons: *** [frontends\CsoundVST\CsoundVST_wrap.o] Error 1
>
>
> -- 
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> 

Date2005-11-07 11:11
FromIstvan Varga
SubjectRe: csoundVST winbuild problems
Michael Gogins wrote:
> That's funny. I have gcc 3.4.2. You should upgrade.
> 
> I have my own problems though. It compiles, but it does not run any more 
> --  seems like global variables are getting created twice, which causes 
> Csound to Die.

Do you mean getting an error message like "ugnorman.c: error allocating
globals" ? This is fixed by removing old plugin libraries and then
rebuilding. Otherwise, if the problem is multiple copies of the Csound
library getting loaded into memory, then building with
dynamicCsoundLibrary=1 may fix the error.