Compiling Wired 0.6 on Ubuntu Feisty 7.04 and Kubuntu Gutsy 7.10 was successful, but when I try to start the program I obtain an error related to wired.xml coming from tmp/<something else> temp dir...
I've tried to compile on different machines, but result was the same...
What's up?
Bye
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Same for me, after compiling and running wired I get this ....
~$ wired
[MAINWIN][InitLocale] locale initialized to wxLANGUAGE_DEFAULT
[MAINWIN][Initlocale] wxstd catalog added
[MAINWIN][InitLocale] wired catalog added
[SETTINGS] Your configuration file is deprecated0
JACK tmpdir identified as [/dev/shm]
Enhanced3DNow! detected
SSE2 detected
[AUDIO] Portaudio initialized
[AUDIO] Host API Number 0 is OSS with 0 devices
[AUDIO] Host API Number 1 is ALSA with 3 devices
[AUDIO] Host API Number 2 is JACK Audio Connection Kit with 1 devices
[AUDIO] New device found #0 for host 1 : HDA NVidia: Conexant Digital (hw:0,1)
[AUDIO] New device found #1 for host 1 : iec958
[AUDIO] New device found #2 for host 1 : spdif
[AUDIO] New device found #3 for host 2 : alsa_pcm
[AUDIO] AudioEngine initialized
[MIXER] Mixer initialized
[MIXER] Mixer initialized
[SEQUENCER] Sequencer initialized !
[MIDITHREAD] ListDevices : numdev = 7
[Setting Window] Midi In list populated
[MAINWIN] Start creation of GUI objects. . . . Aborted (core dumped)
$
I'm running Ubuntu Studio 7.10 on a HP Pavillion dv9205 Laptop (AMD 64bit)
I'd be happy to supply more debugging information.
Many thanks,
Kev
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So you say the problem is related to wxGTK version... I've istalled 2.8 wx on a Gutsy and a Feisty with realtime kernel, (No Ubuntu Studio distros)...
My configuration is similar to the one used by Kevin --> a realtime kernel and wxGTK 2.8...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In fact, we don't support wx 2.8 (we are working on it but this is not our priority now).
We are working on gentoo and the 2.8 wx doesn't be released yet.
So Kev, you can try to make some symbolic links that can provide you the "portage".
Something like that on gentoo :
I think this could be the problem. I had to install the 2.6 versions of wxGTK to get Wired to compile...which it did without a problem (or so it seemed)....
I also had the default 2.8-0 installed, including runtime, dbg and dev packages.
I suspected the version of wxGTK to be the problem, so I removed the dbg and dev 2.8 packages but still had/have the base libwxgtk2.8-0 runtime installed, as removing it is problematic....for some reason the entire ubuntustudio-graphics meta package depends on libwxgtk2.8-0 and removing that really isn't an option for me (!).
I've tried recompiling Wired with this configuration (2.6-0 dbg and dev packages installed + 2.8.0 runtime package) and the compilation terminates with wxGTK errors. :( ....it will only compile with the 2.8 dbg and dev packages installed.
Is there some way to force Wired to link to the 2.6, as it appears it's finding the 2.8 runtime.
Ideas?
Kev
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After some reading about wx-config I found it's often the route through which libraries are located. So, I located the wx-config binary and found Ubuntu Studio has a bunch of virtual links stored in /etc/alternatives/ to this binary.
I found re-routing the link to the version 2.6 wx-config binary like so...
Sadly this didn't make a difference to the make command (same bunch of wxGTK errors causing termination), despite the compilation check acknowledging the 2.6 version of wxGTK......
Oh well....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I will try to test Wired with the same configuration as yours.
However, i think that you can find Wired binaries (AMD64) but i don't remember where ...
I'll post the link later :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
all goes according to plan up until $make which goes like this....
Making all in intl
make[1]: Entering directory `/home/kevin/wired/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/kevin/wired/intl'
Making all in po
make[1]: Entering directory `/home/kevin/wired/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/kevin/wired/po'
Making all in src/portaudio
make[1]: Entering directory `/home/kevin/wired/src/portaudio'
for dir in ; do make -C $dir all; done
make[1]: Leaving directory `/home/kevin/wired/src/portaudio'
Making all in src
make[1]: Entering directory `/home/kevin/wired/src'
Making all in save
make[2]: Entering directory `/home/kevin/wired/src/save'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kevin/wired/src/save'
Making all in gui
make[2]: Entering directory `/home/kevin/wired/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/base-unicode-release-2.6 -I/usr/include/wx-2.6 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../samplerate -I../xml -I../save -I../audio -I../libs/WiredAkai/include -I../plugins -I../fileloader -I/opt/gnome/include -I../sequencer -I../redist -I../engine -I../mixer -I../midi -I../midi/portmidi/pm_common -I../midi/portmidi/porttime -I../asm -I../editmidi -I../undo -I../libs/WiredWidgets/src -I../wiredvideo -I../codec -I../dssi `xml2-config --cflags ` -I../ -I../portaudio/include -Os -MT AudioPattern.o -MD -MP -MF .deps/AudioPattern.Tpo -c -o AudioPattern.o AudioPattern.cpp
Ruler.h:22: error: invalid use of undefined type ‘struct wxWindow’
/usr/include/wx-2.6/wx/utils.h:53: error: forward declaration of ‘struct wxWindow’
Ruler.h:23: error: ‘wxPaintEvent’ has not been declared
Ruler.h:24: error: ‘wxMouseEvent’ has not been declared
Ruler.h:33: error: expected ‘,’ or ‘...’ before ‘&’ token
Ruler.h:33: error: ISO C++ forbids declaration of ‘wxSize’ with no type
Cursor.h:29: error: invalid use of undefined type ‘struct wxWindow’
/usr/include/wx-2.6/wx/utils.h:53: error: forward declaration of ‘struct wxWindow’
Cursor.h:37: error: ‘wxMouseEvent’ has not been declared
Cursor.h:38: error: ‘wxMouseEvent’ has not been declared
Cursor.h:39: error: ‘wxMouseEvent’ has not been declared
Cursor.h:40: error: ‘wxPaintEvent’ has not been declared
ColoredBox.h:14: error: expected class-name before ‘{’ token
ColoredBox.h:15: error: field ‘Color’ has incomplete type
ColoredBox.h:16: error: field ‘BorderColor’ has incomplete type
ColoredBox.h:23: error: ‘wxPaintEvent’ has not been declared
ColoredBox.h:24: error: ‘wxMouseEvent’ has not been declared
ColoredBox.h: In member function ‘virtual void ColoredBox::SetColor(wxColour)’:
ColoredBox.h:25: error: ‘color’ has incomplete type
/usr/include/wx-2.6/wx/gdicmn.h:35: error: forward declaration of ‘struct wxColour’
ColoredBox.h:25: error: ‘Color’ was not declared in this scope
ColoredBox.h: In member function ‘virtual void ColoredBox::SetBorderColor(wxColour)’:
ColoredBox.h:26: error: ‘bordercolor’ has incomplete type
/usr/include/wx-2.6/wx/gdicmn.h:35: error: forward declaration of ‘struct wxColour’
ColoredBox.h:26: error: ‘BorderColor’ was not declared in this scope
ColoredBox.h: In member function ‘virtual wxColour ColoredBox::GetColor()’:
ColoredBox.h:28: error: return type ‘struct wxColour’ is incomplete
ColoredBox.h:28: error: ‘Color’ was not declared in this scope
ColoredBox.h: In member function ‘virtual wxColour ColoredBox::GetBorderColor()’:
ColoredBox.h:29: error: return type ‘struct wxColour’ is incomplete
ColoredBox.h:29: error: ‘BorderColor’ was not declared in this scope
./SeqTrack.h: At global scope:
./SeqTrack.h:34: error: expected class-name before ‘,’ token
./SeqTrack.h:47: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:48: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:51: error: ‘wxPaintEvent’ has not been declared
./SeqTrack.h:52: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:53: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:55: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:56: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:57: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:58: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:67: error: ‘wxCommandEvent’ has not been declared
....until it finally gives up. The weird part is that this does NOT happen when I have both 2.8 and 2.6 binaries/packages installed as previously described. Removing the 2.8 dev packages causes this to happen. muh?
...and yes /usr/lib/wx/include/base-unicode-release-2.6 and /usr/include/wx-2.6 both exist and have what looks to me like the correct files in them.
If there's anything specific you'd like me to do or try let me know, otherwise I'm stuck. I might try some hacks, like installing 2.8 dev packages, removing the includes manually and sym linking to 2.6....but I doubt that'd be very successful!! ;) ..lol
Damn....I so nearly went back to Gentoo recently, it's unusual for Gentoo not to be upto date, hmmm...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok, so I bit the bullet and removed ALL 2.8 packages, so now I only have 2.6 installed.
I did a make clean, then went through the usual recommended install process...at the make command, just as I was about to jump for joy, it bombed out.....grrr
Subsequent makes are as follows :
$ make
Making all in intl
make[1]: Entering directory `/home/kevin/wired/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/kevin/wired/intl'
Making all in po
make[1]: Entering directory `/home/kevin/wired/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/kevin/wired/po'
Making all in src/portaudio
make[1]: Entering directory `/home/kevin/wired/src/portaudio'
for dir in ; do make -C $dir all; done
make[1]: Leaving directory `/home/kevin/wired/src/portaudio'
Making all in src
make[1]: Entering directory `/home/kevin/wired/src'
Making all in save
make[2]: Entering directory `/home/kevin/wired/src/save'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kevin/wired/src/save'
Making all in gui
make[2]: Entering directory `/home/kevin/wired/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/base-unicode-release-2.6 -I/usr/include/wx-2.6 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../samplerate -I../xml -I../save -I../audio -I../libs/WiredAkai/include -I../plugins -I../fileloader -I/opt/gnome/include -I../sequencer -I../redist -I../engine -I../mixer -I../midi -I../midi/portmidi/pm_common -I../midi/portmidi/porttime -I../asm -I../editmidi -I../undo -I../libs/WiredWidgets/src -I../wiredvideo -I../codec -I../dssi `xml2-config --cflags ` -I../ -I../portaudio/include -Os -MT AudioPattern.o -MD -MP -MF .deps/AudioPattern.Tpo -c -o AudioPattern.o AudioPattern.cpp
Ruler.h:22: error: invalid use of undefined type ‘struct wxWindow’
/usr/include/wx-2.6/wx/utils.h:53: error: forward declaration of ‘struct wxWindow’
Ruler.h:23: error: ‘wxPaintEvent’ has not been declared
Ruler.h:24: error: ‘wxMouseEvent’ has not been declared
Ruler.h:33: error: expected ‘,’ or ‘...’ before ‘&’ token
Ruler.h:33: error: ISO C++ forbids declaration of ‘wxSize’ with no type
Cursor.h:29: error: invalid use of undefined type ‘struct wxWindow’
/usr/include/wx-2.6/wx/utils.h:53: error: forward declaration of ‘struct wxWindow’
Cursor.h:37: error: ‘wxMouseEvent’ has not been declared
Cursor.h:38: error: ‘wxMouseEvent’ has not been declared
Cursor.h:39: error: ‘wxMouseEvent’ has not been declared
Cursor.h:40: error: ‘wxPaintEvent’ has not been declared
ColoredBox.h:14: error: expected class-name before ‘{’ token
ColoredBox.h:15: error: field ‘Color’ has incomplete type
ColoredBox.h:16: error: field ‘BorderColor’ has incomplete type
ColoredBox.h:23: error: ‘wxPaintEvent’ has not been declared
ColoredBox.h:24: error: ‘wxMouseEvent’ has not been declared
ColoredBox.h: In member function ‘virtual void ColoredBox::SetColor(wxColour)’:
ColoredBox.h:25: error: ‘color’ has incomplete type
/usr/include/wx-2.6/wx/gdicmn.h:35: error: forward declaration of ‘struct wxColour’
ColoredBox.h:25: error: ‘Color’ was not declared in this scope
ColoredBox.h: In member function ‘virtual void ColoredBox::SetBorderColor(wxColour)’:
ColoredBox.h:26: error: ‘bordercolor’ has incomplete type
/usr/include/wx-2.6/wx/gdicmn.h:35: error: forward declaration of ‘struct wxColour’
ColoredBox.h:26: error: ‘BorderColor’ was not declared in this scope
ColoredBox.h: In member function ‘virtual wxColour ColoredBox::GetColor()’:
ColoredBox.h:28: error: return type ‘struct wxColour’ is incomplete
ColoredBox.h:28: error: ‘Color’ was not declared in this scope
ColoredBox.h: In member function ‘virtual wxColour ColoredBox::GetBorderColor()’:
ColoredBox.h:29: error: return type ‘struct wxColour’ is incomplete
ColoredBox.h:29: error: ‘BorderColor’ was not declared in this scope
./SeqTrack.h: At global scope:
./SeqTrack.h:34: error: expected class-name before ‘,’ token
./SeqTrack.h:47: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:48: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:51: error: ‘wxPaintEvent’ has not been declared
./SeqTrack.h:52: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:53: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:55: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:56: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:57: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:58: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:67: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:79: error: ISO C++ forbids declaration of ‘wxTextCtrl’ with no type
./SeqTrack.h:79: error: expected ‘;’ before ‘*’ token
./SeqTrack.h:89: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:92: error: ISO C++ forbids declaration of ‘wxMenu’ with no type
./SeqTrack.h:92: error: expected ‘;’ before ‘*’ token
./SeqTrack.h:95: error: ISO C++ forbids declaration of ‘wxChoice’ with no type
./SeqTrack.h:95: error: expected ‘;’ before ‘*’ token
./SeqTrack.h:101: error: ISO C++ forbids declaration of ‘wxStaticBitmap’ with no type
./SeqTrack.h:101: error: expected ‘;’ before ‘*’ token
...looks pretty much identical to the errors yesterday. wtf? I don't have ANY 2.8 packages installed and still it's not compiling. Is this some other issue with the packages? What's going on?
/usr/lib/wx/include/base-unicode-release-2.6/ contains a single directory "wx" inside which there's a setup.h
like so...
/usr/lib/wx/include/base-unicode-release-2.6/wx/setup.h
/usr/include/wx-2.6/ contains a single directory "wx" inside which there's all the .h files and directories you'd expect to see. (from aio.h ... zstream.h)
Well, that's me stumped.....until tomorrow! :D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The bad news is, I could only do this by removing all versions of wxwidget packages provided by ubuntu. ALL means all, 2.6 and 2.8, oh and all the apps which were dependent. (vlc, audacity etc)
these I linked to the new binary compiled in my ~/wxGTK2.6.4/ folder (it's called wx-config.in btw)
I then recompiled Wired, following the usual instructions (provided in the INSTALL)
...and it worked!!! omg!
I have no idea what impact all this will have on other wxwidget apps, I'm guessing I'll have to either force apt-get to fetch them without the wx-depends, or I'll have to compile those apps too! yikes :/
I also have no idea at what point my wxGTK install broke down. I guess I'd have to do a fresh install of Ubuntu Studio to get to the bottom of that. I found it odd that other wxwidget apps started behaving badly yesterday, but I've added /removed and messed around so much it's hardly surprising! lol :D
So thanks for the help, if anyone else has problems on UbuntuStudio which look similar to mine at least you know what you have to do. I can provide full instructions if it turns out to be a big issue, I'd be glad to help.
Many thanks,
Kev
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
...don't think is fine to remove and re-install all wx widgets and dependent apps (vlc, audacity) to use wired 0.6...but I've seen so many users removing a desktop to install an updated system library... anyway...I appreciate your willpower
Bye
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Compiling Wired 0.6 on Ubuntu Feisty 7.04 and Kubuntu Gutsy 7.10 was successful, but when I try to start the program I obtain an error related to wired.xml coming from tmp/<something else> temp dir...
I've tried to compile on different machines, but result was the same...
What's up?
Bye
Same for me, after compiling and running wired I get this ....
~$ wired
[MAINWIN][InitLocale] locale initialized to wxLANGUAGE_DEFAULT
[MAINWIN][Initlocale] wxstd catalog added
[MAINWIN][InitLocale] wired catalog added
[SETTINGS] Your configuration file is deprecated0
JACK tmpdir identified as [/dev/shm]
Enhanced3DNow! detected
SSE2 detected
[AUDIO] Portaudio initialized
[AUDIO] Host API Number 0 is OSS with 0 devices
[AUDIO] Host API Number 1 is ALSA with 3 devices
[AUDIO] Host API Number 2 is JACK Audio Connection Kit with 1 devices
[AUDIO] New device found #0 for host 1 : HDA NVidia: Conexant Digital (hw:0,1)
[AUDIO] New device found #1 for host 1 : iec958
[AUDIO] New device found #2 for host 1 : spdif
[AUDIO] New device found #3 for host 2 : alsa_pcm
[AUDIO] AudioEngine initialized
[MIXER] Mixer initialized
[MIXER] Mixer initialized
[SEQUENCER] Sequencer initialized !
[MIDITHREAD] ListDevices : numdev = 7
[Setting Window] Midi In list populated
[MAINWIN] Start creation of GUI objects. . . . Aborted (core dumped)
$
I'm running Ubuntu Studio 7.10 on a HP Pavillion dv9205 Laptop (AMD 64bit)
I'd be happy to supply more debugging information.
Many thanks,
Kev
Me again !
Just a question, what is your wxGTK version ?
Yoann
So you say the problem is related to wxGTK version... I've istalled 2.8 wx on a Gutsy and a Feisty with realtime kernel, (No Ubuntu Studio distros)...
My configuration is similar to the one used by Kevin --> a realtime kernel and wxGTK 2.8...
In fact, we don't support wx 2.8 (we are working on it but this is not our priority now).
We are working on gentoo and the 2.8 wx doesn't be released yet.
So Kev, you can try to make some symbolic links that can provide you the "portage".
Something like that on gentoo :
ln -s /usr/lib/wx/config/gtk2-unicode-release-2.6 /usr/bin/wx-config
Hello Lazenge,
You should try the svn revision 1514, I fixed this bug.
Good luck and stay in touch.
Hey Yoann,
I think this could be the problem. I had to install the 2.6 versions of wxGTK to get Wired to compile...which it did without a problem (or so it seemed)....
libwxgtk2.6-0 (runtime)
libwxgtk2.6-dbg
libwxgtk2.6-dev
I also had the default 2.8-0 installed, including runtime, dbg and dev packages.
I suspected the version of wxGTK to be the problem, so I removed the dbg and dev 2.8 packages but still had/have the base libwxgtk2.8-0 runtime installed, as removing it is problematic....for some reason the entire ubuntustudio-graphics meta package depends on libwxgtk2.8-0 and removing that really isn't an option for me (!).
I've tried recompiling Wired with this configuration (2.6-0 dbg and dev packages installed + 2.8.0 runtime package) and the compilation terminates with wxGTK errors. :( ....it will only compile with the 2.8 dbg and dev packages installed.
Is there some way to force Wired to link to the 2.6, as it appears it's finding the 2.8 runtime.
Ideas?
Kev
Further investigation.....
After some reading about wx-config I found it's often the route through which libraries are located. So, I located the wx-config binary and found Ubuntu Studio has a bunch of virtual links stored in /etc/alternatives/ to this binary.
I found re-routing the link to the version 2.6 wx-config binary like so...
$ ls -l /etc/alternatives/wx-config
lrwxrwxrwx 1 root root 43 2007-12-27 23:15 wx-config -> /usr/lib/wx/config/base-unicode-release-2.6
....made the default 2.6 instead of 2.8 when querying wx-config through the terminal....
$ wx-config --libs
-pthread -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6
Sadly this didn't make a difference to the make command (same bunch of wxGTK errors causing termination), despite the compilation check acknowledging the 2.6 version of wxGTK......
Oh well....
Oops, i didn't see this post ...
I will try to test Wired with the same configuration as yours.
However, i think that you can find Wired binaries (AMD64) but i don't remember where ...
I'll post the link later :)
Oh ... one thing !
Can you post compilation errors or core backtrack ...? That can be useful to find what the problem is.
all goes according to plan up until $make which goes like this....
Making all in intl
make[1]: Entering directory `/home/kevin/wired/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/kevin/wired/intl'
Making all in po
make[1]: Entering directory `/home/kevin/wired/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/kevin/wired/po'
Making all in src/portaudio
make[1]: Entering directory `/home/kevin/wired/src/portaudio'
for dir in ; do make -C $dir all; done
make[1]: Leaving directory `/home/kevin/wired/src/portaudio'
Making all in src
make[1]: Entering directory `/home/kevin/wired/src'
Making all in save
make[2]: Entering directory `/home/kevin/wired/src/save'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kevin/wired/src/save'
Making all in gui
make[2]: Entering directory `/home/kevin/wired/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/base-unicode-release-2.6 -I/usr/include/wx-2.6 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../samplerate -I../xml -I../save -I../audio -I../libs/WiredAkai/include -I../plugins -I../fileloader -I/opt/gnome/include -I../sequencer -I../redist -I../engine -I../mixer -I../midi -I../midi/portmidi/pm_common -I../midi/portmidi/porttime -I../asm -I../editmidi -I../undo -I../libs/WiredWidgets/src -I../wiredvideo -I../codec -I../dssi `xml2-config --cflags ` -I../ -I../portaudio/include -Os -MT AudioPattern.o -MD -MP -MF .deps/AudioPattern.Tpo -c -o AudioPattern.o AudioPattern.cpp
Ruler.h:22: error: invalid use of undefined type ‘struct wxWindow’
/usr/include/wx-2.6/wx/utils.h:53: error: forward declaration of ‘struct wxWindow’
Ruler.h:23: error: ‘wxPaintEvent’ has not been declared
Ruler.h:24: error: ‘wxMouseEvent’ has not been declared
Ruler.h:33: error: expected ‘,’ or ‘...’ before ‘&’ token
Ruler.h:33: error: ISO C++ forbids declaration of ‘wxSize’ with no type
Cursor.h:29: error: invalid use of undefined type ‘struct wxWindow’
/usr/include/wx-2.6/wx/utils.h:53: error: forward declaration of ‘struct wxWindow’
Cursor.h:37: error: ‘wxMouseEvent’ has not been declared
Cursor.h:38: error: ‘wxMouseEvent’ has not been declared
Cursor.h:39: error: ‘wxMouseEvent’ has not been declared
Cursor.h:40: error: ‘wxPaintEvent’ has not been declared
ColoredBox.h:14: error: expected class-name before ‘{’ token
ColoredBox.h:15: error: field ‘Color’ has incomplete type
ColoredBox.h:16: error: field ‘BorderColor’ has incomplete type
ColoredBox.h:23: error: ‘wxPaintEvent’ has not been declared
ColoredBox.h:24: error: ‘wxMouseEvent’ has not been declared
ColoredBox.h: In member function ‘virtual void ColoredBox::SetColor(wxColour)’:
ColoredBox.h:25: error: ‘color’ has incomplete type
/usr/include/wx-2.6/wx/gdicmn.h:35: error: forward declaration of ‘struct wxColour’
ColoredBox.h:25: error: ‘Color’ was not declared in this scope
ColoredBox.h: In member function ‘virtual void ColoredBox::SetBorderColor(wxColour)’:
ColoredBox.h:26: error: ‘bordercolor’ has incomplete type
/usr/include/wx-2.6/wx/gdicmn.h:35: error: forward declaration of ‘struct wxColour’
ColoredBox.h:26: error: ‘BorderColor’ was not declared in this scope
ColoredBox.h: In member function ‘virtual wxColour ColoredBox::GetColor()’:
ColoredBox.h:28: error: return type ‘struct wxColour’ is incomplete
ColoredBox.h:28: error: ‘Color’ was not declared in this scope
ColoredBox.h: In member function ‘virtual wxColour ColoredBox::GetBorderColor()’:
ColoredBox.h:29: error: return type ‘struct wxColour’ is incomplete
ColoredBox.h:29: error: ‘BorderColor’ was not declared in this scope
./SeqTrack.h: At global scope:
./SeqTrack.h:34: error: expected class-name before ‘,’ token
./SeqTrack.h:47: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:48: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:51: error: ‘wxPaintEvent’ has not been declared
./SeqTrack.h:52: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:53: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:55: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:56: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:57: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:58: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:67: error: ‘wxCommandEvent’ has not been declared
....until it finally gives up. The weird part is that this does NOT happen when I have both 2.8 and 2.6 binaries/packages installed as previously described. Removing the 2.8 dev packages causes this to happen. muh?
btw....
$ wx-config --cxxflags
-I/usr/lib/wx/include/base-unicode-release-2.6 -I/usr/include/wx-2.6 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA
...and yes /usr/lib/wx/include/base-unicode-release-2.6 and /usr/include/wx-2.6 both exist and have what looks to me like the correct files in them.
If there's anything specific you'd like me to do or try let me know, otherwise I'm stuck. I might try some hacks, like installing 2.8 dev packages, removing the includes manually and sym linking to 2.6....but I doubt that'd be very successful!! ;) ..lol
Damn....I so nearly went back to Gentoo recently, it's unusual for Gentoo not to be upto date, hmmm...
Day 4....
ok, so I bit the bullet and removed ALL 2.8 packages, so now I only have 2.6 installed.
I did a make clean, then went through the usual recommended install process...at the make command, just as I was about to jump for joy, it bombed out.....grrr
Subsequent makes are as follows :
$ make
Making all in intl
make[1]: Entering directory `/home/kevin/wired/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/kevin/wired/intl'
Making all in po
make[1]: Entering directory `/home/kevin/wired/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/kevin/wired/po'
Making all in src/portaudio
make[1]: Entering directory `/home/kevin/wired/src/portaudio'
for dir in ; do make -C $dir all; done
make[1]: Leaving directory `/home/kevin/wired/src/portaudio'
Making all in src
make[1]: Entering directory `/home/kevin/wired/src'
Making all in save
make[2]: Entering directory `/home/kevin/wired/src/save'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kevin/wired/src/save'
Making all in gui
make[2]: Entering directory `/home/kevin/wired/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/base-unicode-release-2.6 -I/usr/include/wx-2.6 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../samplerate -I../xml -I../save -I../audio -I../libs/WiredAkai/include -I../plugins -I../fileloader -I/opt/gnome/include -I../sequencer -I../redist -I../engine -I../mixer -I../midi -I../midi/portmidi/pm_common -I../midi/portmidi/porttime -I../asm -I../editmidi -I../undo -I../libs/WiredWidgets/src -I../wiredvideo -I../codec -I../dssi `xml2-config --cflags ` -I../ -I../portaudio/include -Os -MT AudioPattern.o -MD -MP -MF .deps/AudioPattern.Tpo -c -o AudioPattern.o AudioPattern.cpp
Ruler.h:22: error: invalid use of undefined type ‘struct wxWindow’
/usr/include/wx-2.6/wx/utils.h:53: error: forward declaration of ‘struct wxWindow’
Ruler.h:23: error: ‘wxPaintEvent’ has not been declared
Ruler.h:24: error: ‘wxMouseEvent’ has not been declared
Ruler.h:33: error: expected ‘,’ or ‘...’ before ‘&’ token
Ruler.h:33: error: ISO C++ forbids declaration of ‘wxSize’ with no type
Cursor.h:29: error: invalid use of undefined type ‘struct wxWindow’
/usr/include/wx-2.6/wx/utils.h:53: error: forward declaration of ‘struct wxWindow’
Cursor.h:37: error: ‘wxMouseEvent’ has not been declared
Cursor.h:38: error: ‘wxMouseEvent’ has not been declared
Cursor.h:39: error: ‘wxMouseEvent’ has not been declared
Cursor.h:40: error: ‘wxPaintEvent’ has not been declared
ColoredBox.h:14: error: expected class-name before ‘{’ token
ColoredBox.h:15: error: field ‘Color’ has incomplete type
ColoredBox.h:16: error: field ‘BorderColor’ has incomplete type
ColoredBox.h:23: error: ‘wxPaintEvent’ has not been declared
ColoredBox.h:24: error: ‘wxMouseEvent’ has not been declared
ColoredBox.h: In member function ‘virtual void ColoredBox::SetColor(wxColour)’:
ColoredBox.h:25: error: ‘color’ has incomplete type
/usr/include/wx-2.6/wx/gdicmn.h:35: error: forward declaration of ‘struct wxColour’
ColoredBox.h:25: error: ‘Color’ was not declared in this scope
ColoredBox.h: In member function ‘virtual void ColoredBox::SetBorderColor(wxColour)’:
ColoredBox.h:26: error: ‘bordercolor’ has incomplete type
/usr/include/wx-2.6/wx/gdicmn.h:35: error: forward declaration of ‘struct wxColour’
ColoredBox.h:26: error: ‘BorderColor’ was not declared in this scope
ColoredBox.h: In member function ‘virtual wxColour ColoredBox::GetColor()’:
ColoredBox.h:28: error: return type ‘struct wxColour’ is incomplete
ColoredBox.h:28: error: ‘Color’ was not declared in this scope
ColoredBox.h: In member function ‘virtual wxColour ColoredBox::GetBorderColor()’:
ColoredBox.h:29: error: return type ‘struct wxColour’ is incomplete
ColoredBox.h:29: error: ‘BorderColor’ was not declared in this scope
./SeqTrack.h: At global scope:
./SeqTrack.h:34: error: expected class-name before ‘,’ token
./SeqTrack.h:47: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:48: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:51: error: ‘wxPaintEvent’ has not been declared
./SeqTrack.h:52: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:53: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:55: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:56: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:57: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:58: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:67: error: ‘wxCommandEvent’ has not been declared
./SeqTrack.h:79: error: ISO C++ forbids declaration of ‘wxTextCtrl’ with no type
./SeqTrack.h:79: error: expected ‘;’ before ‘*’ token
./SeqTrack.h:89: error: ‘wxMouseEvent’ has not been declared
./SeqTrack.h:92: error: ISO C++ forbids declaration of ‘wxMenu’ with no type
./SeqTrack.h:92: error: expected ‘;’ before ‘*’ token
./SeqTrack.h:95: error: ISO C++ forbids declaration of ‘wxChoice’ with no type
./SeqTrack.h:95: error: expected ‘;’ before ‘*’ token
./SeqTrack.h:101: error: ISO C++ forbids declaration of ‘wxStaticBitmap’ with no type
./SeqTrack.h:101: error: expected ‘;’ before ‘*’ token
...looks pretty much identical to the errors yesterday. wtf? I don't have ANY 2.8 packages installed and still it's not compiling. Is this some other issue with the packages? What's going on?
/usr/lib/wx/include/base-unicode-release-2.6/ contains a single directory "wx" inside which there's a setup.h
like so...
/usr/lib/wx/include/base-unicode-release-2.6/wx/setup.h
/usr/include/wx-2.6/ contains a single directory "wx" inside which there's all the .h files and directories you'd expect to see. (from aio.h ... zstream.h)
Well, that's me stumped.....until tomorrow! :D
Great news!
I have Wired installed and running. :D
The bad news is, I could only do this by removing all versions of wxwidget packages provided by ubuntu. ALL means all, 2.6 and 2.8, oh and all the apps which were dependent. (vlc, audacity etc)
I downloaded the latest 2.6 wxGTK from http://www.wxwidgets.org/ (2.6.4)
I then compiled wxwidgets with unicode support and with gtk2.0 (no other options/flags)
I then had to fix the symlinks to wx-config the binary...
/etc/alternatives/wx-config (symlink)
/usr/bin/wx-config (symlink)
these I linked to the new binary compiled in my ~/wxGTK2.6.4/ folder (it's called wx-config.in btw)
I then recompiled Wired, following the usual instructions (provided in the INSTALL)
...and it worked!!! omg!
I have no idea what impact all this will have on other wxwidget apps, I'm guessing I'll have to either force apt-get to fetch them without the wx-depends, or I'll have to compile those apps too! yikes :/
I also have no idea at what point my wxGTK install broke down. I guess I'd have to do a fresh install of Ubuntu Studio to get to the bottom of that. I found it odd that other wxwidget apps started behaving badly yesterday, but I've added /removed and messed around so much it's hardly surprising! lol :D
So thanks for the help, if anyone else has problems on UbuntuStudio which look similar to mine at least you know what you have to do. I can provide full instructions if it turns out to be a big issue, I'd be glad to help.
Many thanks,
Kev
...don't think is fine to remove and re-install all wx widgets and dependent apps (vlc, audacity) to use wired 0.6...but I've seen so many users removing a desktop to install an updated system library... anyway...I appreciate your willpower
Bye