Hi,
With the help of Andreas and Grigor I was able to implement
Instruments DB support on Windows I already commited the changes to
CVS.
To make it work on Windows you have to do the following:

install sqlite
go to: http://www.sqlite.org/download.html
download
sqlite-amalgamation-3.6.14.2.tar.gz (1.27 MiB)  

./configure ; make ; make install
it installs a .pc file so LinuxSampler's pkgconfig will automatically
recognize the presence of SQLite and compile in Instruments DB
support.

for some reason LinuxSampler's configure script does not honor the option
--enable-default-instruments-db-location=C:\mydir\instruments.db
despite the configure output showing the correct path
when doing make install
it tries to initialize the DB using the standard file location
/var/lib/linuxsampler/instuments.db
so for now you have to create the DB manually using linuxsampler.exe

linuxsampler.exe --create-instruments-db "C:\mydir\instruments.db"

and then launch linuxsampler with

linuxsampler.exe --instruments-db-location "C:\mydir\instruments.db"

if you load LS as VST plugin then it probably does not find the
Instruments DB as is it set to /var/lib/linuxsampler/instruments.db

In order to work correcty so that both the standalone and VST version
of LS use the same Instruments DB file it is necessary to add support
for relative paths
for the instruments DB file similar to what the editor plugin loader
does. This was implemented by Andreas so perhaps it would be nice if
Andreas could add this
to the instruments DB class too (or give some hints what's the best
way to add it to the Instruments DB class).

cheers,
Benno

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to