Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » UPP2007.1 - RichEdit, Link Errors
UPP2007.1 - RichEdit, Link Errors [message #9139] Wed, 18 April 2007 19:42 Go to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
When I try to compile anything which has a RichEdit control, I get the following link errors:

/usr/bin/ld: Undefined symbols:
Upp::DropChoice::DataSelect(Upp::Ctrl&, Upp::DropChoice&, Upp::String const&)
Upp::DropChoice::Add(Upp::Value const&)
Upp::DropChoice::DoKey(unsigned int)
Upp::DropChoice::Serialize(Upp::Stream&)
Upp::DropChoice::DropChoice()
Upp::ToolButton::Image(Upp::Image const&)
Upp::ToolButton::ToolButton()
Upp::ToolButton::~ToolButton()
Upp::ColorButton::ColorButton()
Upp::ColorButton::~ColorButton()
Upp::ColorPusher::ColorPusher()
Upp::ColorPusher::~ColorPusher()
Upp::ToolBar::Set(Upp::Callback1<Upp::Bar&>)
Upp::ToolBar::ToolBar()
Upp::ToolBar::~ToolBar()
Upp::LNGCtrl::LNGCtrl()
Upp::LNGCtrl::~LNGCtrl()
Upp::DropChoice::AddHistory(Upp::Value const&, int)
collect2: ld returned 1 exit status


I am unsure where this error is comming from, or if it is specific to Mac OS. I have tried this on on a Windows XP box, I do not get the error. I have not yet had a chance to try this on my Linux box.

Does anyone have thoughts or ideas? I have skimmed through much of the (I think) relevant code... but no luck.

Robert

[Updated on: Mon, 14 May 2007 17:48]

Report message to a moderator

Re: UPP2007.1 - RichEdit, Link Errors [message #9143 is a reply to message #9139] Wed, 18 April 2007 22:16 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
kcabobert wrote on Wed, 18 April 2007 13:42

When I try to compile anything which has a RichEdit control, I get the following link errors:

/usr/bin/ld: Undefined symbols:
Upp::DropChoice::DataSelect(Upp::Ctrl&, Upp::DropChoice&, Upp::String const&)
Upp::DropChoice::Add(Upp::Value const&)
Upp::DropChoice::DoKey(unsigned int)
Upp::DropChoice::Serialize(Upp::Stream&)
Upp::DropChoice::DropChoice()
Upp::ToolButton::Image(Upp::Image const&)
Upp::ToolButton::ToolButton()
Upp::ToolButton::~ToolButton()
Upp::ColorButton::ColorButton()
Upp::ColorButton::~ColorButton()
Upp::ColorPusher::ColorPusher()
Upp::ColorPusher::~ColorPusher()
Upp::ToolBar::Set(Upp::Callback1<Upp::Bar&>)
Upp::ToolBar::ToolBar()
Upp::ToolBar::~ToolBar()
Upp::LNGCtrl::LNGCtrl()
Upp::LNGCtrl::~LNGCtrl()
Upp::DropChoice::AddHistory(Upp::Value const&, int)
collect2: ld returned 1 exit status


I am unsure where this error is comming from, or if it is specific to Mac OS. I have, and can, not try this on a different platform currently.

Does anyone have thoughts or ideas? I have skimmed through much of the (I think) relevant code... but no luck.

Robert


All I can say is that it seems to work OK for me....

Mirek
Re: UPP2007.1 - RichEdit, Link Errors [message #9144 is a reply to message #9139] Wed, 18 April 2007 22:16 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
PS.: Make sure you compile as "Shared".

Mirek
Re: UPP2007.1 - RichEdit, Link Errors [message #9151 is a reply to message #9139] Wed, 18 April 2007 23:23 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
I am compiling as 'Use shared libs'.

I having real issues tracking this problem down. I do not have compile warnings... but I do not see any flags that would prevent the functions in question from linking.
Re: UPP2007.1 - RichEdit, Link Errors [message #9527 is a reply to message #9139] Mon, 14 May 2007 17:00 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
After tinkering (adjust packages) and a rebuild-all it compiled cleanly.

[Updated on: Mon, 14 May 2007 17:56]

Report message to a moderator

Re: UPP2007.1 - RichEdit, Link Errors [message #9528 is a reply to message #9139] Mon, 14 May 2007 18:29 Go to previous message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
When I tried to compile the exact same app on a different Mac I get the previous error. I am very confused, I tried to adjust the package order in the same way as before (it matches the other machine exactly) to no avail.

If anyone has thoughts on this I would appreciate it very much.

Robert
Previous Topic: Page Break Key Stroke in UWORD and RTF conversion
Next Topic: view without pagebreaks?
Goto Forum:
  


Current Time: Thu Mar 28 17:45:46 CET 2024

Total time taken to generate the page: 0.01308 seconds