Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

wxMusik 0.4.1.0 does not compile

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
39 posts
  • 1
  • 2
  • Next
Author
Message
Wompatti
n00b
n00b
Posts: 16
Joined: Wed Feb 04, 2004 8:12 pm
Location: Helsinki, Finland, Earth
Contact:
Contact Wompatti
Website

wxMusik 0.4.1.0 does not compile

  • Quote

Post by Wompatti » Mon Feb 28, 2005 4:14 pm

I found that good looking program a few weeks ago, and now when 0.4.1.0 has arrived on linux too, I decided to test.
Unfortunately, I was unable to compile it.
Below are a few last lines of output before error, I can post more of it if you need.
Has someone else had this same problem? Or has someone perhaps got it running on linux?
Any help would be appreciated.

/usr/include/wx/gdicmn.h:36: error: previous declaration as `struct wxCursor'
/usr/include/wx/window.h:62: error: conflicting types for `struct wxDC'
/usr/include/wx/event.h:46: error: previous declaration as `struct wxDC'
/usr/include/wx/window.h:69: error: conflicting types for `struct wxWindowBase'
/usr/include/wx/event.h:49: error: previous declaration as `struct wxWindowBase
'
/usr/include/wx/window.h:70: error: conflicting types for `struct wxWindow'
/usr/include/wx/utils.h:53: error: previous declaration as `struct wxWindow'
/usr/include/wx/window.h:84: error: field `font' has incomplete type
/usr/include/wx/font.h:33: error: `struct wxDisplayChangedEvent::wxFont' is
inaccessible
/usr/include/wx/window.h:84: error: within this context
/usr/include/wx/window.h:87: error: field `colFg' has incomplete type
/usr/include/wx/window.h:91: error: field `colBg' has incomplete type
/usr/include/wx/window.h:113: confused by earlier errors, bailing out
make[3]: *** [MusikApp.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_src] Error 2
make: *** [default_target] Error 2
Top
PrakashP
Veteran
Veteran
User avatar
Posts: 1249
Joined: Mon Oct 27, 2003 4:10 pm
Location: C.C.A.A., Germania

  • Quote

Post by PrakashP » Mon Feb 28, 2005 8:46 pm

You need wxwidgets 2.5.3 or better cvs.

I have made a svn ebuild for wxMusik in the fluidportage thread.
Top
madbiker
Guru
Guru
User avatar
Posts: 439
Joined: Sun Oct 12, 2003 7:53 pm
Location: Victoria, BC, Canada

  • Quote

Post by madbiker » Tue Mar 01, 2005 2:35 am

PrakashP wrote:You need wxwidgets 2.5.3 or better cvs.

I have made a svn ebuild for wxMusik in the fluidportage thread.
I can't get it to work:

Code: Select all

>>> emerge (1 of 1) media-sound/wxMusik-20101010 to /
>>> Unpacking source...
 * Fetching CVS module Musik into /usr/portage/distfiles/cvs-src/wxMusik...
 * Copying Musik from /usr/portage/distfiles/cvs-src/wxMusik...
 * CVS module Musik is now in /var/tmp/portage/wxMusik-20101010/work
>>> Source unpacked.
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
CMake Error: Error in cmake code at
/var/tmp/portage/wxMusik-20101010/work/Musik/CMakeLists.txt:4:
SUBDIRS Incorrect SUBDIRS command. Directory: /var/tmp/portage/wxMusik-20101010/work/Musik/3rd-Party does not exists.
CMake Error: can not find file /var/tmp/portage/wxMusik-20101010/work/Musik/3rd-Party/Bitap/libbitap

Tried .c .C .c++ .cc .cpp .cxx .m .M .mm .h .h++ .hm .hpp .hxx .in .txx
CMake Error: can not find file /var/tmp/portage/wxMusik-20101010/work/Musik/3rd-Party/TagHelper/idtag.cpp

Tried .c .C .c++ .cc .cpp .cxx .m .M .mm .h .h++ .hm .hpp .hxx .in .txx
-- Configuring done

!!! ERROR: media-sound/wxMusik-20101010 failed.
!!! Function src_compile, Line 29, Exitcode 255
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Top
Wompatti
n00b
n00b
Posts: 16
Joined: Wed Feb 04, 2004 8:12 pm
Location: Helsinki, Finland, Earth
Contact:
Contact Wompatti
Website

  • Quote

Post by Wompatti » Tue Mar 01, 2005 6:36 am

I emerged the wxGTK-2.5.3 that's in portage, but it doesn't help, because it doesn't contain wx-config. I'm emerging fluidportage's cvs-versions of wxwidgets and wxMusik now, and report in a few hours if they work. I stabbed the wxMusik ebuild, because it wanted to download wxGTK-2.4.2, and I don't want it because I want to use the cvs-version.
Or is wxGTK-2.4.2 needed also?

I encountered too that same error what madbiker was having. When I put "mv 3rd\ Party 3rd-Party" before "cmake" in the ebuild, it doesn't hang there, but right after that with a different error.
Top
madbiker
Guru
Guru
User avatar
Posts: 439
Joined: Sun Oct 12, 2003 7:53 pm
Location: Victoria, BC, Canada

  • Quote

Post by madbiker » Tue Mar 01, 2005 7:19 am

Well the wxwidgets in fluidportage failed for me, and so I started on doing everything by hand from source as per the wxmusik site's instructions. I can't compile "Monkeys Audio (MAC)" though... ./configure works fine, the make fails though. I couldn't find it in portage either. I found libmusepack 1.0.3 (had to mask 1.1 because the site states it won't work) in portage and emerged it fine. I emerged sqlite and fmod without any problems either. However I can't get the libmac or wxmusik things to compile properly.
Top
Wompatti
n00b
n00b
Posts: 16
Joined: Wed Feb 04, 2004 8:12 pm
Location: Helsinki, Finland, Earth
Contact:
Contact Wompatti
Website

  • Quote

Post by Wompatti » Tue Mar 01, 2005 8:00 am

I made an ebuild for libmac.

http://www.saunalahti.fi/eautio/mac-3.99.ebuild

I got wxwidgets-cvs to compile nicely, but wxMusik-0.4.1.0 and the cvs-version both crash at compiling MusikApp.o.

I guess I gotta ask developer if he can compile it.
Top
madbiker
Guru
Guru
User avatar
Posts: 439
Joined: Sun Oct 12, 2003 7:53 pm
Location: Victoria, BC, Canada

  • Quote

Post by madbiker » Tue Mar 01, 2005 8:27 am

Thanks, I got it to compile though. It doesn't work with gcc3.4.3, only 3.3.3.

I'm just recompiling my wxGTK with unicode support, then hopefully all will be well. Here's hoping anyway.
Top
PrakashP
Veteran
Veteran
User avatar
Posts: 1249
Joined: Mon Oct 27, 2003 4:10 pm
Location: C.C.A.A., Germania

  • Quote

Post by PrakashP » Tue Mar 01, 2005 8:36 am

wxMusik compiles here with gcc-3.4.3-2005... I mae a monkey ebuild based on the bug by diffing to the original sdk. So the ebuild only loads a small patch from my web-site, but the sdk from official site.
Top
Wompatti
n00b
n00b
Posts: 16
Joined: Wed Feb 04, 2004 8:12 pm
Location: Helsinki, Finland, Earth
Contact:
Contact Wompatti
Website

  • Quote

Post by Wompatti » Tue Mar 01, 2005 8:43 am

PrakashP, can you post the ebuild you made?

I have gcc-3.3.5-r1, and it doesn't work. Any ideas how to get it working?
Top
PrakashP
Veteran
Veteran
User avatar
Posts: 1249
Joined: Mon Oct 27, 2003 4:10 pm
Location: C.C.A.A., Germania

  • Quote

Post by PrakashP » Tue Mar 01, 2005 8:48 am

search for fluidportage thread.
Top
Wompatti
n00b
n00b
Posts: 16
Joined: Wed Feb 04, 2004 8:12 pm
Location: Helsinki, Finland, Earth
Contact:
Contact Wompatti
Website

  • Quote

Post by Wompatti » Tue Mar 01, 2005 9:29 am

PrakashP, I tried the ebuild you made for wxMusik in that thread, but it errors with this.

Code: Select all

>>> Unpacking source...
 * subversion check out start -->
 *    checkout from: svn://svn.berlios.de/musik
svn: Can't connect to host 'svn.berlios.de': Connection refused

!!! ERROR: media-sound/wxMusik-201010101 failed.
!!! Function subversion_svn_fetch, Line 150, Exitcode 1
!!! subversion.eclass: can't fetch from svn://svn.berlios.de/musik.
!!! If you need support, post the topmost build error, NOT this status message.
Top
PrakashP
Veteran
Veteran
User avatar
Posts: 1249
Joined: Mon Oct 27, 2003 4:10 pm
Location: C.C.A.A., Germania

  • Quote

Post by PrakashP » Tue Mar 01, 2005 9:33 am

Yes, I currently also have the problem, I think this is server related and not our fault.
Top
Wompatti
n00b
n00b
Posts: 16
Joined: Wed Feb 04, 2004 8:12 pm
Location: Helsinki, Finland, Earth
Contact:
Contact Wompatti
Website

  • Quote

Post by Wompatti » Tue Mar 01, 2005 11:53 am

What versions of system packages do you have? eg. gcc, glibc, glib and others? My problem could be in one of them.
When I try to compile wxMusik manually, it prints errors saying something about assert.h and other system headers, that reside in /usrc/include.
Top
PrakashP
Veteran
Veteran
User avatar
Posts: 1249
Joined: Mon Oct 27, 2003 4:10 pm
Location: C.C.A.A., Germania

  • Quote

Post by PrakashP » Tue Mar 01, 2005 12:03 pm

"latest" ~x86 including linux-headers 2.6.10.
Top
madbiker
Guru
Guru
User avatar
Posts: 439
Joined: Sun Oct 12, 2003 7:53 pm
Location: Victoria, BC, Canada

  • Quote

Post by madbiker » Tue Mar 01, 2005 5:06 pm

Well wxwidgets hangs at copying indefinitely:

Code: Select all

>>> emerge (1 of 1) x11-libs/wxwidgets-20101010 to /
>>> Unpacking source...
 * Fetching CVS module wxWidgets into /usr/portage/distfiles/cvs-src/wxwidgets...
 * Copying wxWidgets from /usr/portage/distfiles/cvs-src/wxwidgets...
wxMusik still fails with the error I posted above.

I'm stuck :(.
Top
madbiker
Guru
Guru
User avatar
Posts: 439
Joined: Sun Oct 12, 2003 7:53 pm
Location: Victoria, BC, Canada

  • Quote

Post by madbiker » Wed Mar 02, 2005 12:55 am

Huzzah! I got it to compile by hand after jumping through endless hoops.

Now I have a really stupid problem: how do I add new libraries? I go to the library management screen, and there's nothing I can see that lets me add. I can update, purge, rebuild and clear the library, but not add! I can't right-click on to get a context menu and add from there either. I looked through the prefs too to no avail. What the...
Top
madbiker
Guru
Guru
User avatar
Posts: 439
Joined: Sun Oct 12, 2003 7:53 pm
Location: Victoria, BC, Canada

  • Quote

Post by madbiker » Wed Mar 02, 2005 1:00 am

Well I removed ~/.Musik* and started it up again, and got the little greeting message. Apparently I'm supposed to have a "Directory" menu in the library setup window, which I definitely don't. *sigh* So close. I'm going to try the cvs version of wxGTK and hope that's it.

[edit] CVS version didn't help anything. I don't know what's causing that dialog window to not have the menus it's supposed to.
Top
PrakashP
Veteran
Veteran
User avatar
Posts: 1249
Joined: Mon Oct 27, 2003 4:10 pm
Location: C.C.A.A., Germania

  • Quote

Post by PrakashP » Wed Mar 02, 2005 6:44 am

I already mailed the author: A bit stupid currently. Go over one of the buttons and press *right* mouse button. Then a context menu will appear...
Top
madbiker
Guru
Guru
User avatar
Posts: 439
Joined: Sun Oct 12, 2003 7:53 pm
Location: Victoria, BC, Canada

  • Quote

Post by madbiker » Wed Mar 02, 2005 7:19 am

PrakashP wrote:I already mailed the author: A bit stupid currently. Go over one of the buttons and press *right* mouse button. Then a context menu will appear...
Haha... no kidding a bit stupid. Now I get a segfault when it scans my files. I'm going to try going back to the 2.5.4 version of wxwidgets instead of the cvs and see if that fixes it. I feel like a circus performer with the number of hoops I'm jumping through here...

[edit]Success! Using wxwidgets 2.5.4 from the official site has me working just fine now. Excellent!
Top
PrakashP
Veteran
Veteran
User avatar
Posts: 1249
Joined: Mon Oct 27, 2003 4:10 pm
Location: C.C.A.A., Germania

  • Quote

Post by PrakashP » Wed Mar 02, 2005 7:44 am

I also have some trouble scanning my home. It just goes to 100% CPU and stays there. (I notified author.) But it scans my NTFS partitions w/o problems.
Top
madbiker
Guru
Guru
User avatar
Posts: 439
Joined: Sun Oct 12, 2003 7:53 pm
Location: Victoria, BC, Canada

  • Quote

Post by madbiker » Wed Mar 02, 2005 8:03 am

Which version of wxwidgets? The site mentioned some linux users having problems with certain versions, and something about screwy environment variables causing problems as well.

It's great... wxMusik has essentially every feature I've been wishing I had. There are a few things I'd like to add to the preferences, and a few of the preferences did different things than I was led to believe from their description, but other than that it seems to be pretty nice. I'll see how stable it is over the next few days. It almost makes me think it was worth the trouble. :)
Top
PrakashP
Veteran
Veteran
User avatar
Posts: 1249
Joined: Mon Oct 27, 2003 4:10 pm
Location: C.C.A.A., Germania

  • Quote

Post by PrakashP » Wed Mar 02, 2005 8:09 am

I use wxwidgets cvs.
Top
madbiker
Guru
Guru
User avatar
Posts: 439
Joined: Sun Oct 12, 2003 7:53 pm
Location: Victoria, BC, Canada

  • Quote

Post by madbiker » Wed Mar 02, 2005 8:14 am

PrakashP wrote:I use wxwidgets cvs.
I'd give that 2.5.4 version a try. It fixed my problems, and it seems to have helped others as well. Worth a try at least.
Top
PrakashP
Veteran
Veteran
User avatar
Posts: 1249
Joined: Mon Oct 27, 2003 4:10 pm
Location: C.C.A.A., Germania

  • Quote

Post by PrakashP » Wed Mar 02, 2005 8:27 am

The cvs version is not too advanced in comparion to 2.5.4, so I don't think it will help. cvs (currently) should be mostly 2.5.4 + fixes. (BTW, wxMusik author uses cvs, as well and advises to do so...)
Top
madbiker
Guru
Guru
User avatar
Posts: 439
Joined: Sun Oct 12, 2003 7:53 pm
Location: Victoria, BC, Canada

  • Quote

Post by madbiker » Wed Mar 02, 2005 8:44 am

PrakashP wrote:The cvs version is not too advanced in comparion to 2.5.4, so I don't think it will help. cvs (currently) should be mostly 2.5.4 + fixes. (BTW, wxMusik author uses cvs, as well and advises to do so...)
Yeah, all I'm saying is when I tried with the cvs (which I grabbed this afternoon), it crashed when I tried to load up files. I tried the 2.5.4 version without changing anything else, and all of a sudden I'm working flawlessly.
Top
Post Reply

39 posts
  • 1
  • 2
  • Next

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic