LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-25-2009, 09:36 AM   #1
hardhat
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
error on make of TSE3 sequencer


I'm trying to install NoteEdit, which requires TSE3 to be installed. (I downloaded the source code from http://tse3.sourceforge.net/download.html.)

When I run make on the source code for TSE3 I get errors (excerpt of beginning of errors):

...
In file included from Phrase.cpp:17:
../../../src/tse3/cmd/Phrase.h:116: error: 'TSE3::PhraseEdit' has not been declared
../../../src/tse3/cmd/Phrase.h:141: error: ISO C++ forbids declaration of 'PhraseEdit' with no type
...

(of course, it snowballs with lots of "dependent errors" after this).

I'm assuming that other people are compiling this just fine, so I'm confused as to why I might be getting errors. Are there differences in the way g++ compiles on different systems that change the way header files are treated?

Looking at the way the header files are set up I can understand why it isn't working. (If I were g++ I wouldn't compile it either )

Has any one out there tried building TSE 0.3.1?

I'm using Ubuntu 9.04 and my g++ is updated.

(In the meantime, I'm going to try to build 0.3.0 and see if I can make that work.)
 
Old 07-25-2009, 12:39 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353
How about this :

sudo apt-get install libtse3-dev libtse3-0.3.1c2a

Other 'tse3' packages : 'tse3play'
" MIDI/TSE3MDL player/converter "
... So no need to compile anything " TSE 3 "
( http://packages.ubuntu.com/source/jaunty/tse3 )
.....
.....
apt-get install noteedit noteedit-data
provides version 2.8.1 .
.....

Last edited by knudfl; 07-25-2009 at 12:42 PM.
 
Old 02-17-2011, 03:11 AM   #3
KrishnaPG
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
How to link TSE3 as an external library to build a project?

How to link tse3? the -llibtse3-0.3.1 is not giving result. Even -L/usr/lib option is not working. I am able to see the library .so files in the /usr/lib though.

Code:
user@ubuntu:/mnt/shared/codebase/tse3-0.3.1/src/examples/midifile$  gcc midifile.cpp -llibtse3-0.3.1
/usr/bin/ld: cannot find -llibtse3.a
collect2: ld returned 1 exit status
This is happening while compiling the midi sample supplied with the code. Help to build the samples is appreciated.

Thank you,
Gopalakrishna Palem
 
Old 02-17-2011, 05:03 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353
Post #3 : libtse3.a

sudo apt-get install libtse3-dev : Will provide /usr/lib/libtse3.a
and /usr/lib/libtse3.so

If you are building tse3 : cd tse3-0.3.1/ && ./configure --enable-static
&& make : Some bugs, depending on which OS, you compile on and the source used.
Please try http://archive.ubuntu.com/ubuntu/poo....1.orig.tar.gz

-llibtse3.a : Looks suspicious, should be 'ltse3.a', but :
cd tse3-0.3.1/ && grep -nR ltse3.a ./* : No exact match.
and 'grep -nR llibtse3.a ./*' : Nothing.


Quote:
gcc midifile.cpp -llibtse3-0.3.1
You are not supposed to do the above.

tse3-0.3.1/src/examples/midifile/midifile.o : will be created,
when you run 'make' in the top directory.

..

Last edited by knudfl; 02-18-2011 at 06:29 AM.
 
Old 02-17-2011, 11:34 PM   #5
KrishnaPG
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
TSE Build errors

After making modifications to the code, I was able to get the compilation done. Typically the PhraseEdit header files are not included and OSS AWE pre-processor definitions are configured incorrectly and few headers were missing for 'Strncpy' etc...

I have corrected all these and now it compiles fine.

Thank you,
Gopalakrishna Palem
http://gpalem.web.officelive.com/CFugue.html
 
  


Reply

Tags
compile error


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RH9 make menuconfig error: make[1]: *** [lxdialog] Error 1 rrochele Linux - Kernel 3 02-07-2007 03:39 PM
How do I get /dev/sequencer mikieboy Debian 5 06-06-2006 10:58 AM
sequencer class angelo_maci Programming 0 05-07-2006 11:57 AM
No /dev/sequencer anilbh Linux - Software 6 03-07-2006 08:07 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM


All times are GMT -5. The time now is 06:52 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration