You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
-
stratotak
- Newbie
- Posts: 8
- Joined: Sat Feb 21, 2009 10:57 pm
Post
by stratotak » Sat Feb 21, 2009 11:02 pm
Im trying to compile Linuxsample or debian ..I have all the dep's installed but it keeps erroring out at make...
Code: Select all
InstrumentsDb.h:170: error: 'StringListPtr' does not name a type
InstrumentsDb.h:267: error: 'StringListPtr' does not name a type
InstrumentsDb.h:360: error: 'StringListPtr' does not name a type
InstrumentsDb.h:435: error: 'StringListPtr' does not name a type
InstrumentsDb.h:498: error: 'IntListPtr' does not name a type
InstrumentsDb.h:509: error: 'StringListPtr' does not name a type
InstrumentsDb.h:644: error: 'IntListPtr' does not name a type
InstrumentsDb.h:780: error: 'IntListPtr' does not name a type
InstrumentsDb.h:785: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp:186: error: 'IntListPtr' does not name a type
InstrumentsDb.cpp:194: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp:219: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp: In member function 'void LinuxSampler::InstrumentsDb::RemoveDirectoryContent(int, int)':
InstrumentsDb.cpp:363: error: 'IntListPtr' was not declared in this scope
InstrumentsDb.cpp:363: error: expected `;' before 'dirIds'
InstrumentsDb.cpp:365: error: 'dirIds' was not declared in this scope
InstrumentsDb.cpp: In member function 'void LinuxSampler::InstrumentsDb::RemoveAllDirectories(int)':
InstrumentsDb.cpp:387: error: 'IntListPtr' was not declared in this scope
InstrumentsDb.cpp:387: error: expected `;' before 'dirIds'
InstrumentsDb.cpp:389: error: 'dirIds' was not declared in this scope
InstrumentsDb.cpp: At global scope:
InstrumentsDb.cpp:790: error: 'IntListPtr' does not name a type
InstrumentsDb.cpp:797: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp: In member function 'void LinuxSampler::InstrumentsDb::DirectoryTreeWalk(LinuxSampler::DirectoryHandler*, String, int, int)':
InstrumentsDb.cpp:1286: error: 'StringListPtr' was not declared in this scope
InstrumentsDb.cpp:1286: error: expected `;' before 'pDirs'
InstrumentsDb.cpp:1287: error: 'pDirs' was not declared in this scope
InstrumentsDb.cpp: At global scope:
InstrumentsDb.cpp:1297: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp:1317: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp:1504: error: 'IntListPtr' does not name a type
InstrumentsDb.cpp:1530: error: 'StringListPtr' does not name a type
make[3]: *** [liblinuxsamplerdb_la-InstrumentsDb.lo] Error 1
make[3]: Leaving directory `/home/strat/linuxsampler-0.5.1/src/db'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/strat/linuxsampler-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/strat/linuxsampler-0.5.1'
make: *** [all] Error 2
strat@frostbite:~/linuxsampler-0.5.1$
any idea as what to do?
-
cuse
- Developer
- Posts: 366
- Joined: Wed Jan 23, 2008 10:07 pm
- Location: Germany
Post
by cuse » Sun Feb 22, 2009 9:22 am
What is the VERY FIRST error message you get?
-
stratotak
- Newbie
- Posts: 8
- Joined: Sat Feb 21, 2009 10:57 pm
Post
by stratotak » Mon Feb 23, 2009 8:54 am
Code: Select all
strat@frostbite:~/linuxsampler-0.5.1$ make
make all-recursive
make[1]: Entering directory `/home/strat/linuxsampler-0.5.1'
Making all in man
make[2]: Entering directory `/home/strat/linuxsampler-0.5.1/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/strat/linuxsampler-0.5.1/man'
Making all in src
make[2]: Entering directory `/home/strat/linuxsampler-0.5.1/src'
Making all in db
make[3]: Entering directory `/home/strat/linuxsampler-0.5.1/src/db'
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -pthread -msse -MT liblinuxsamplerdb_la-InstrumentsDb.lo -MD -MP -MF ".deps/liblinuxsamplerdb_la-InstrumentsDb.Tpo" -c -o liblinuxsamplerdb_la-InstrumentsDb.lo `test -f 'InstrumentsDb.cpp' || echo './'`InstrumentsDb.cpp; \
then mv -f ".deps/liblinuxsamplerdb_la-InstrumentsDb.Tpo" ".deps/liblinuxsamplerdb_la-InstrumentsDb.Plo"; else rm -f ".deps/liblinuxsamplerdb_la-InstrumentsDb.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -pthread -msse -MT liblinuxsamplerdb_la-InstrumentsDb.lo -MD -MP -MF .deps/liblinuxsamplerdb_la-InstrumentsDb.Tpo -c InstrumentsDb.cpp -fPIC -DPIC -o .libs/liblinuxsamplerdb_la-InstrumentsDb.o
In file included from InstrumentsDb.h:31,
from InstrumentsDb.cpp:21:
InstrumentsDbUtilities.h:105: error: expected initializer before '<' token
InstrumentsDbUtilities.h:106: error: expected initializer before '<' token
InstrumentsDbUtilities.h:164: error: 'StringListPtr' does not name a type
InstrumentsDbUtilities.h:171: error: 'StringListPtr' does not name a type
InstrumentsDbUtilities.h:178: error: 'StringListPtr' does not name a type
InstrumentsDbUtilities.h:185: error: 'StringListPtr' does not name a type
In file included from InstrumentsDb.cpp:21:
InstrumentsDb.h:170: error: 'StringListPtr' does not name a type
InstrumentsDb.h:267: error: 'StringListPtr' does not name a type
InstrumentsDb.h:360: error: 'StringListPtr' does not name a type
InstrumentsDb.h:435: error: 'StringListPtr' does not name a type
InstrumentsDb.h:498: error: 'IntListPtr' does not name a type
InstrumentsDb.h:509: error: 'StringListPtr' does not name a type
InstrumentsDb.h:644: error: 'IntListPtr' does not name a type
InstrumentsDb.h:780: error: 'IntListPtr' does not name a type
InstrumentsDb.h:785: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp:186: error: 'IntListPtr' does not name a type
InstrumentsDb.cpp:194: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp:219: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp: In member function 'void LinuxSampler::InstrumentsDb::RemoveDirectoryContent(int, int)':
InstrumentsDb.cpp:363: error: 'IntListPtr' was not declared in this scope
InstrumentsDb.cpp:363: error: expected `;' before 'dirIds'
InstrumentsDb.cpp:365: error: 'dirIds' was not declared in this scope
InstrumentsDb.cpp: In member function 'void LinuxSampler::InstrumentsDb::RemoveAllDirectories(int)':
InstrumentsDb.cpp:387: error: 'IntListPtr' was not declared in this scope
InstrumentsDb.cpp:387: error: expected `;' before 'dirIds'
InstrumentsDb.cpp:389: error: 'dirIds' was not declared in this scope
InstrumentsDb.cpp: At global scope:
InstrumentsDb.cpp:790: error: 'IntListPtr' does not name a type
InstrumentsDb.cpp:797: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp: In member function 'void LinuxSampler::InstrumentsDb::DirectoryTreeWalk(LinuxSampler::DirectoryHandler*, String, int, int)':
InstrumentsDb.cpp:1286: error: 'StringListPtr' was not declared in this scope
InstrumentsDb.cpp:1286: error: expected `;' before 'pDirs'
InstrumentsDb.cpp:1287: error: 'pDirs' was not declared in this scope
InstrumentsDb.cpp: At global scope:
InstrumentsDb.cpp:1297: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp:1317: error: 'StringListPtr' does not name a type
InstrumentsDb.cpp:1504: error: 'IntListPtr' does not name a type
InstrumentsDb.cpp:1530: error: 'StringListPtr' does not name a type
make[3]: *** [liblinuxsamplerdb_la-InstrumentsDb.lo] Error 1
make[3]: Leaving directory `/home/strat/linuxsampler-0.5.1/src/db'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/strat/linuxsampler-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/strat/linuxsampler-0.5.1'
make: *** [all] Error 2
strat@frostbite:~/linuxsampler-0.5.1$
-
stratotak
- Newbie
- Posts: 8
- Joined: Sat Feb 21, 2009 10:57 pm
Post
by stratotak » Mon Feb 23, 2009 10:05 am
I downloaded cvs version and copied files in that folder and pasted them into 0.5.1 sorce folder..Im assuming thats was right..as when I tried to run configure on cvs version it didnt find configure..It started to make and I thought that was it..Using CVS version fixed problem compiling..It compiled for a while then eroored out again.
Code: Select all
i486-linux-gnu-g++ -Wreturn-type -ffast-math -march=i486 -g -O2 -pthread -msse -o .libs/linuxsampler linuxsampler.o ../src/.libs/liblinuxsampler.so -luuid -Wl,--rpath -Wl,/usr/lib/linuxsampler
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::File::IsDirectory()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::MidiInputDeviceJack::ParameterName::Name()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::NoteOnVelocity(unsigned char)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::VirtualMidiDevice()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::NoteIsActive(unsigned char)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::Effect::InputChannel(unsigned int) const'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::SendNoteOnToDevice(unsigned char, unsigned char)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::File::WalkDirectoryTree(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, LinuxSampler::File::DirectoryWalker*)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::EffectChain::RenderAudio(unsigned int)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::MidiInputDeviceJack::Process(int)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::EffectChain::EffectCount() const'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::MidiInputDeviceJack::Description()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::EffectChain::GetEffect(int) const'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::NotesChanged()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::MidiInputDeviceJack::Version()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::MidiInputDeviceJack::ParameterName::DependsAsParameters()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::VirtualMidiDevice()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::File::GetFiles(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::EffectChain::EffectChain(LinuxSampler::AudioOutputDevice*)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::Effect::OutputChannel(unsigned int) const'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::MidiInputDeviceJack::ParameterName::ParameterName()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::SendNoteOffToDevice(unsigned char, unsigned char)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::File::GetErrorMsg()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::SendNoteOffToSampler(unsigned char, unsigned char)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::MidiInputDeviceJack::Name()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::File::Exist()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::File::IsFile()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::File::GetSize()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::EffectChain::ClearAllChannels()'
../src/.libs/liblinuxsampler.so: undefined reference to `typeinfo for LinuxSampler::VirtualMidiDevice'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::MidiInputDeviceJack::MidiInputDeviceJack(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, LinuxSampler::DeviceCreationParameter*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, LinuxSampler::DeviceCreationParameter*> > >, void*)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::NoteChanged(unsigned char)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::MidiInputDeviceJack::ParameterName::ParameterName(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::~VirtualMidiDevice()'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::File::DirSeparator'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::File::File(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::SendNoteOnToSampler(unsigned char, unsigned char)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::Effect::OutputChannelCount() const'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::NoteOffVelocity(unsigned char)'
../src/.libs/liblinuxsampler.so: undefined reference to `LinuxSampler::VirtualMidiDevice::GetMidiEventFromDevice(LinuxSampler::VirtualMidiDevice::event_t&)'
collect2: ld returned 1 exit status
make[3]: *** [linuxsampler] Error 1
make[3]: Leaving directory `/home/strat/linuxsampler-0.5.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/strat/linuxsampler-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/strat/linuxsampler-0.5.1'
make: *** [all] Error 2
strat@frostbite:~/linuxsampler-0.5.1$
-
ggoodesa
- Advanced User
- Posts: 116
- Joined: Thu Aug 14, 2008 6:48 pm
Post
by ggoodesa » Mon Feb 23, 2009 10:54 am
Hi,
You need to use the "make -f Makefile.cvs" command to create the Configure file for the CVS code. This information is within the Debian How-To, but hidden in the 'doing things the old fashoned way'. I too had trouble compiling the CVS the first time I attempted it, once I had worked out that I need to use 'make -f Makefile.cvs' I was able to do compile properly.
Hope this helps
GrahamG
-
dahnielson
- Moderator
- Posts: 632
- Joined: Wed Jan 23, 2008 11:25 pm
- Location: Linköping / Tranås, Sweden
-
Contact:
Post
by dahnielson » Mon Feb 23, 2009 11:15 am
Oh, and don't mix code from the CVS and the 0.5.1 release. Just stick with one of them, like the CVS version.
Anders Dahnielson
Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux
-
stratotak
- Newbie
- Posts: 8
- Joined: Sat Feb 21, 2009 10:57 pm
Post
by stratotak » Mon Feb 23, 2009 11:02 pm
Ok..got it compiled and running...only errors I had were because of not having bison and doxygen installed..At first I couldnt get gigedit to work.It kept saying I need to install it..but I had from debian repos..but buildin gthe cvs version fixed that...tested it with some kontakt samples I converted .Works pretty good.I tried to use jsampler but I cant get it to connect to server..I used same settings that qsampler used..localhost and port 8888 but it wont connect..anyhting special I need to do to get jsampler to work??thanks for help getting it compiled..
-
grishata
- Developer
- Posts: 138
- Joined: Thu Jan 24, 2008 7:21 pm
- Location: Bulgaria
-
Contact:
Post
by grishata » Mon Feb 23, 2009 11:25 pm
stratotak wrote:I tried to use jsampler but I cant get it to connect to server..I used same settings that qsampler used..localhost and port 8888 but it wont connect..anyhting special I need to do to get jsampler to work??
Which version of jsampler are you using? If you are not using version 0.8a-cvs6 you need to manually start linuxsampler before starting jsampler.
-
stratotak
- Newbie
- Posts: 8
- Joined: Sat Feb 21, 2009 10:57 pm
Post
by stratotak » Tue Feb 24, 2009 3:58 am
I had downloaded built java one..I downloaed the java source one and built it and it works now..Now I just got to igure out this data base error..everytime I start Jsampler I ger eroor about /var/lib/linuxsampler/instruments.db
I went ahead annd created the directory and made a instruments.db with touch /var/lib/linuxsampler/instruments.db..but that didnt help.I tried to add a directory of Kontakt drums I converted to gigs..but I cant figure out how to get it to add to database..I add the path to the giga files..but theres nothing to select as database directory..I typed in /var/lib/linuxsampler but it scaned and failed..
-
ggoodesa
- Advanced User
- Posts: 116
- Joined: Thu Aug 14, 2008 6:48 pm
Post
by ggoodesa » Tue Feb 24, 2009 8:54 am
Hi,
To create the db you need to use the linuxsampler command... i.e.
linuxsampler --create-instruments-db --instruments-db-location