View previous topic :: View next topic |
Author |
Message |
brianahr Apprentice
Joined: 07 Oct 2004 Posts: 236 Location: USA
|
Posted: Sat Jul 16, 2005 10:37 am Post subject: success with Wired? (mostly solved) |
|
|
Has anyone had sucess with wired (http://bloodshed.net/wired) ? The only thread I could find on the subject was this:
https://forums.gentoo.org/viewtopic-t-17812-start-50-postdays-0-postorder-asc-highlight-wired+audio+editor.html
I also found an experimental ebuild:
https://bugs.gentoo.org/attachment.cgi?id=60140&action=view
However, I cant get that thing to build for the life of me. I keep getting compile errors to the effect of:
Code: |
HelpCtrl.cpp: In constructor `HelpCtrl::HelpCtrl(wxWindow*, int, wxString,
const wxPoint&, const wxSize&)':
HelpCtrl.cpp:5: error: `wxHW_NO_SELECTION' undeclared (first use this function)
HelpCtrl.cpp:5: error: (Each undeclared identifier is reported only once for
each function it appears in.)
|
I've also tried installing manually from here:
http://bloodshed.net/wired/files/INSTALL
All the deps seem to have installed without any problems, except for wxGTK. The ebuild says 1.6.0 can be used,
but I have not gotten this to compile with that. And I've read that 1.5.3 b0rkes up systems pretty bad, so I've
been avoiding it. (Probably one of the reasons this thing doesnt work)
But, this looks like a killer app, and would be awesome to try out. I'm curious if anyone has had any success or
can offer any suggestions for compiling this thing. Thanks!
Last edited by brianahr on Wed Mar 01, 2006 6:16 am; edited 2 times in total |
|
Back to top |
|
|
Bill Thompson Tux's lil' helper
Joined: 21 Jan 2005 Posts: 139
|
Posted: Sun Jul 17, 2005 8:57 pm Post subject: |
|
|
I have wired installed from the information in the mini-howto:
Quote: | Project: Wired
------------------------------------------------------------------------
Here's how i did it .
1) Alsa was allready compiled and setup, shouldn't give you any problems
2) Same for GTK 2
3) wxGTK-2.5.3
Now for the tricky part ...
first unmask it ..
echo"=x11-libs/wxGTK-2.5.3" >> /etc/portage/package.unmask
It's important to set the proper USE flags -> no_wxgtk1, otherwise
gentoo will compile wxGTK for gtk1 even if you've set the gtk2 use flag.
USE="gtk2 no_wxgtk1" emerge wxGTK
There's no wx-config installed, so i made a link to
/usr/lib/wx/config/gtk2-ansi-release-2.5
ln -s /usr/lib/wx/config/gtk2-ansi-release-2.5 /usr/bin/wx-config
4) PortAudio 1.9
Portaudio from the wired package didn't compile, complained about jack,
even tough i used the --with-alsa.
Downloaded package (pa_snapshot_v19.tar.gz)
tar zxvf pa_snapshot_v19.tar.gz
cd portaudio
./configure --prefix=/usr --with-alsa
make
su -c 'make install'
5) SoundTouch 1.2.1
Installed the version from the wired package..
6) libsndfile
emerge libsndfile
from the wired directory
./configure --prefix=/usr
make
su -c 'make install'
My setup
AMD Athlon(tm) XP 1700+
Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S Audio
Controller] (rev 2).
Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237
AC97 Audio Controller (rev 4.
Kernel 2.6.10-gentoo-r6
gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
gtk+-2.4.14
wxGTK-2.5.3
libsndfile-1.0.11
_____________________________________________________________________________
The current CVS will build in Gentoo without any hangups or
wizardry required (even with Jack support)
gcc 3.3.4
gtk+ 2.6.x
wxGTK-2.5.3
_____________________________________________________________________________
_____________________________________________________________________________
|
My comments added:
I emerged wxGTK-2.5.3 with the following use flags: gtk2 no_wxgtk1 -unicode
Details:
Using the identical file name found in /usr/portage/profiles/package.mask:
=x11-libs/wxFTK-2.5*
I placed the same in /etc/portage/package-unmask (=x11-libs/wxGTK-2.5*)
then added: >=x11-libs/wxGTK-2.5* ~x86
to /etc/portage/package.keywords
then
USE="gtk2 no_wxgtk1 -unicode" emerge =wxGTK-2.5.3
There are some error messages when wired opens, but they don't seem to affect the program.I do not yet have my akai sound cds, but will be able to use them with midi for real sounds which can be saved as wave files.
Looks nice. |
|
Back to top |
|
|
FishB8 l33t
Joined: 17 Mar 2003 Posts: 820
|
Posted: Sun Jul 17, 2005 8:57 pm Post subject: |
|
|
wxGTK is absolute hell to work with. I've managed to get wired compiled by building it against the wxGTK 2.5 series and THEN updating to wxGTK 2.6
"It works for me" (tm) but it may or may not for others. Needless to say, wired probably won't be officially supported until wxGTK gets it's act together and wired releases a much more stable version. _________________ "...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin |
|
Back to top |
|
|
alphonce Apprentice
Joined: 10 Oct 2004 Posts: 184 Location: Sweden
|
Posted: Mon Sep 26, 2005 3:56 pm Post subject: |
|
|
if you have wxGTK since before you have to remove the older one
alt. uninstalling it then install it again. _________________ no computer at the moment! |
|
Back to top |
|
|
brianahr Apprentice
Joined: 07 Oct 2004 Posts: 236 Location: USA
|
Posted: Tue Feb 28, 2006 7:14 am Post subject: |
|
|
Okay, I feel like I'm raising the dead here. But - to make a long story short, I figured out how to build Wired ( http://bloodshed.net/wired/ ) without needing wx2.5. I started out by wanting to change the source code, but when I looked ar the problems I was having during compile, I realized it was really the makefiles that needed changing. So, heres how I got it to work, in hopes it will be useful to someone else:
Code: | $ wget http://easynews.dl.sourceforge.net/sourceforge/wired/wired-0.11.tar.gz
$ tar -xzf wired-0.11.tar.gz
$ cd wired
$ sed -i -e "s/wx-config/wx-config-2.6/g" `find . -type f`
$ ./configure --prefix=/opt/wired
$ make
$ make install
# echo LDPATH=/opt/wired/lib > /etc/env.d/91wired
# env-update
$ /opt/wired/bin/wired
|
This compiled without _any_ further modification, using gcc 3.3.6 and wxGTK 2.6.1. Cheers! _________________ no matter how you legislate, information wants to be free. |
|
Back to top |
|
|
FishB8 l33t
Joined: 17 Mar 2003 Posts: 820
|
Posted: Tue Feb 28, 2006 4:31 pm Post subject: |
|
|
There's been a lot of changes since that release. Even if you get it to build, it's quite buggy and unstable. I would suggest pulling the latest from CVS. _________________ "...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin |
|
Back to top |
|
|
brianahr Apprentice
Joined: 07 Oct 2004 Posts: 236 Location: USA
|
Posted: Tue Feb 28, 2006 6:08 pm Post subject: |
|
|
So it looks like the CVS version will compile using a similar technique. Heres what I had to do to make it compile under wxGTK 2.6:
Code: | Grab Wired from CVS:
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wired login
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wired co wired
$ cd wired
Update Wired build scripts to use wxGTK 2.6
$ sed -i -e "s/wx-config/wx-config-2.6/g" `find . -type f`
Convert Source files to unix format (gcc is picky sometimes...)
for x in `find . -iname "*.c" -or -iname "*.cpp" -or -iname "*.h" -or -iname "*.cxx"`; do dos2unix $x; done
Configure wired
$ ./configure --prefix=/opt/wiredcvs
Fix libtool issues
$ libtoolize --copy --force
Fix source code problem (comment out body of MainApp::OnFatalException())
$ vim src/gui/MainApp.cpp
Usual Build procedure
$ make
$ make install
Update environment
# echo LDPATH=/opt/wired/lib > /etc/env.d/91wired
# env-update
Enjoy
$ /opt/wiredcvs/bin/wired |
This allows wired to build under 2.6.
However, I noticed that it segfaults on my machine while loading codecs. Further investigation shows that it loads _every_ library in /usr/local/lib, which is of course completely unnecessary. (See WiredCodec::WLoadLib() in src/codec/WiredCodec.cpp; _WiredSo contains all files found in CODEC_PATH, which is by default /usr/local/lib, as defined in WiredCodec.h) I recompiled with CODEC_PATH pointing to an empty folder, and the program runs, I can import wav files, and etc, but of course the video codecs dont work with this hack. As of this time I have no exact solution to that problem. _________________ no matter how you legislate, information wants to be free. |
|
Back to top |
|
|
FishB8 l33t
Joined: 17 Mar 2003 Posts: 820
|
Posted: Fri Mar 10, 2006 2:03 am Post subject: |
|
|
Quote: | I recompiled with CODEC_PATH pointing to an empty folder, and the program runs, I can import wav files, and etc, but of course the video codecs dont work with this hack. As of this time I have no exact solution to that problem. |
You could probably put soft links in that empty folder to any codec libs you want loaded to limit the number of libs loaded without totally eliminating codec capability. _________________ "...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|