Csound Csound-dev Csound-tekno Search About

Re: mingw loris build fails

Date2005-11-21 01:50
FromMichael Gogins
SubjectRe: mingw loris build fails
Do not try to build Loris by itself.

1. Copy the latest Loris sources from Loris CVS into the csound5/Opcodes/Loris directory, preserving directory structure.

2. The lorisgens.C and lorisgens.h files from Loris are ignored.

3. The lorisgens5.C and lorisgens5.h files in csound5/opcodes/Loris (which come from Csound CVS, not Loris CVS) are built by Csound 5 SConstruct -- and most of the other Loris sources as well.

In other words, the Csound 5 build system builds as many Loris sources as it needs into the Loris opcode library. The Loris build system is broken on Windows, and the Loris csound opcodes are broken for Csound 5, so I replaced both.

The same pattern is followed for the STK opcodes.

Hope this helps,
Mike

-----Original Message-----
From: James Hearon 
Sent: Nov 20, 2005 6:57 PM
To: csound@lists.bath.ac.uk
Subject: [Csnd] mingw loris build fails



re:
CSconstruct contains instructions. Basically, copy Loris and STK sources 
into
the local directory. I do not link with libraries since there is no STK 
library
in the STK installer, and the Loris build system fails on Windows. So I 
compile
the sources myself.


I tried to unzip loris-1.3.0 srcs to a folder.  Also got fftw3winmingw and 
pointed custom.py to that.  Then I placed upzipped loris contents in 
csound5/Opcodes/Loris

but get tons of warnings and finally the errors start coming...

Opcodes\Loris\src\/lorisgens.h:39:23: csound/cs.h: No such file or directory
In file included from Opcodes\Loris\src\lorisgens.C:52:
Opcodes\Loris\src\/lorisgens.h:50: error: `OPDS' does not name a type
Opcodes\Loris\src\/lorisgens.h:66: error: `OPDS' does not name a type
Opcodes\Loris\src\/lorisgens.h:82: error: `OPDS' does not name a type
In file included from Opcodes\Loris\src\lorisgens.C:63:
Opcodes\Loris\src\/SdifFile.h:202: warning: ignoring #pragma mark
Opcodes\Loris\src\lorisgens.C:93: warning: ignoring #pragma mark
Opcodes\Loris\src\lorisgens.C:98: error: variable or field `setup_globals' 
decla red void

etc, etc,...

Opcodes\Loris\src\lorisgens.C:91: warning: 'Lorisgens_Ksamps' defined but 
not used
scons: *** [Opcodes\Loris\src\lorisgens.o] Error 1

------
from the loris-1.3.0\csound readme  ...

"Since the lorisgens code needs to include a header that is part
of the Csound source code, you must have the Csound source code,
and you must specify its location using the --with-csound flag
when configuring Loris. Otherwise, the lorisgens module is not
build."

You wrote loris build fails on windows, that you compile the sources 
yourself.  So I guess we need to know how to do that in order to get it to 
work?

Thanks.


-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk