LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-29-2005, 12:43 AM   #1
breman
LQ Newbie
 
Registered: Aug 2003
Posts: 27

Rep: Reputation: 15
undefined reference to `wxMediaCtrl::wxMediaCtrl[in-charge]()'


anjuta ide
gentoo linux

app compiles fine but
error when trying to build app
undefined reference to `wxMediaCtrl::wxMediaCtrl[in-charge]()'

any help would be appreciated.
 
Old 08-30-2005, 10:54 AM   #2
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
My guess is that you are not linking to the wx libraries. I'm not familiar with that particular class, but it sounds like it is part of the wxWidgets library. I don't remember the name of those libraries offhand, but if I remember correctly, there is a config script you can use to get the proper compiler and linker flags.

Edit: Or perhaps you are linking other wx libraries, but not the one that contains wxMediaCtrl. Here's a list of all the wxWidget librares.

http://www.wxwidgets.org/manuals/2.6...#librarieslist

Last edited by deiussum; 08-30-2005 at 11:02 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefined reference, why? george_mercury Programming 4 05-07-2009 12:15 AM
KDevelop: undefined reference bastl Programming 2 09-05-2005 09:52 AM
Undefined Reference ChemicalBurn Programming 2 02-14-2005 03:01 AM
undefined reference mp4-10 Programming 3 01-25-2005 12:38 PM
Yet another 'undefined reference' problem faulpelz2 Linux - Software 3 04-04-2003 11:18 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration