building from trunk - xcode broken

Matt Connolly matt at soundevolution.com.au
Wed Jan 16 12:20:05 PST 2008


ok, so I found out that there are *loads* of source files in the  
repository missing from the xcode project. After doing a bit of  
searching, I found them and added them to the project and now the  
dynamic library builds.

Is it possible that some system can be implemented that whenever a  
file is added to the source tree it can automatically be added to the  
project (or at least flagged so someone can check if it needs to be  
added).

-matt


On 16/01/2008, at 12:03 PM, Matt Connolly wrote:

> Here is a list of the link errors from building the dynamic library  
> from WxWidgets.xcodeproj from svn trunk:
>
> Any ideas why there's so much stuff missing?
>
> -matt
>
>
>
> Undefined symbols:
>   "BreakFinder::Next()", referenced from:
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>   "PositionCache::Clear()", referenced from:
>       Editor::FormatRange(bool, RangeToFormat*)  in Editor.o
>       Editor::FormatRange(bool, RangeToFormat*)  in Editor.o
>       Editor::InvalidateStyleData()      in Editor.o
>   "typeinfo for wxGLCanvasBase", referenced from:
>       typeinfo for wxGLCanvasin glcanvas.o
>   "LineLayout::SetLineStart(int, int)", referenced from:
>       Editor::LayoutLine(int, Surface*, ViewStyle&, LineLayout*,  
> int)in Editor.o
>   "LineLayout::SetBracesHighlight(Range, int*, char, int)",  
> referenced from:
>       Editor::Paint(Surface*, PRectangle)     in Editor.o
>   "LineLayoutCache::LineLayoutCache()", referenced from:
>       Editor::Editor()in Editor.o
>   "LineLayoutCache::~LineLayoutCache()", referenced from:
>       Editor::Editor()in Editor.o
>       Editor::~Editor()in Editor.o
>       Editor::~Editor()in Editor.o
>       Editor::~Editor()in Editor.o
>       Editor::~Editor()in Editor.o
>   "DecorationList::AllOnFor(int)", referenced from:
>       Editor::NotifyIndicatorClick(bool, int, bool, bool, bool)in  
> Editor.o
>       Editor::WndProc(unsigned int, unsigned long, long)in Editor.o
>   "DecorationList::DecorationList()", referenced from:
>       Document::Document()in Document.o
>   "DecorationList::~DecorationList()", referenced from:
>       Document::~Document()in Document.o
>       Document::~Document()in Document.o
>       Document::~Document()in Document.o
>       Document::~Document()in Document.o
>   "wxIdManager::ReserveId(int)", referenced from:
>       wxWindowBase::NewControlId(int)    in menucmn.o
>       wxWindowBase::NewControlId(int)    in tbarbase.o
>       wxWindowBase::NewControlId(int)    in wincmn.o
>       wxWindowBase::NewControlId(int)    in checkbox.o
>       wxWindowBase::NewControlId(int)    in statbmp.o
>       wxWindowBase::NewControlId(int)    in toolbar.o
>       wxWindowBase::NewControlId(int)    in toplevel.o
>       wxWindowBase::NewControlId(int)    in mdi.o
>       wxWindowBase::NewControlId(int)    in xmlres.o
>       wxWindowBase::NewControlId(int)    in buttonbar.o
>   "LineLayoutCache::Deallocate()", referenced from:
>       Editor::SetDocPointer(Document*)      in Editor.o
>   "_lmD", referenced from:
>       _lmD$non_lazy_ptr in KeyWords.o
>   "_lmR", referenced from:
>       _lmR$non_lazy_ptr in KeyWords.o
>   "PositionCache::SetSize(unsigned long)", referenced from:
>       Editor::Editor()in Editor.o
>       Editor::WndProc(unsigned int, unsigned long, long)in Editor.o
>   "PositionCache::PositionCache()", referenced from:
>       Editor::Editor()in Editor.o
>   "PositionCache::~PositionCache()", referenced from:
>       Editor::Editor()in Editor.o
>       Editor::~Editor()in Editor.o
>       Editor::~Editor()in Editor.o
>       Editor::~Editor()in Editor.o
>       Editor::~Editor()in Editor.o
>   "LineLayout::LineLastVisible(int) const", referenced from:
>       Editor::PositionFromLineX(int, int)in Editor.o
>       Editor::PositionFromLocationClose(Point)      in Editor.o
>       Editor::PositionFromLocation(Point)      in Editor.o
>   "LineLayout::FindBefore(int, int, int) const", referenced from:
>       Editor::PositionFromLineX(int, int)in Editor.o
>       Editor::PositionFromLocationClose(Point)      in Editor.o
>       Editor::PositionFromLocation(Point)      in Editor.o
>   "RunStyles::DeleteRange(int, int)", referenced from:
>       ContractionState::DeleteLine(int)    in ContractionState.o
>       ContractionState::DeleteLine(int)    in ContractionState.o
>       ContractionState::DeleteLine(int)    in ContractionState.o
>   "LineLayoutCache::Retrieve(int, int, int, int, int, int)",  
> referenced from:
>       Editor::RetrieveLineLayout(int)   in Editor.o
>   "RunStyles::EndRun(int)", referenced from:
>       Editor::DrawIndicators(Surface*, ViewStyle&, int, int,  
> PRectangle, LineLayout*, int, int, bool)in Editor.o
>       Editor::DrawIndicators(Surface*, ViewStyle&, int, int,  
> PRectangle, LineLayout*, int, int, bool)in Editor.o
>       Editor::DrawIndicators(Surface*, ViewStyle&, int, int,  
> PRectangle, LineLayout*, int, int, bool)in Editor.o
>   "RunStyles::RunStyles()", referenced from:
>       ContractionState::EnsureData()       in ContractionState.o
>       ContractionState::EnsureData()       in ContractionState.o
>       ContractionState::EnsureData()       in ContractionState.o
>   "RunStyles::~RunStyles()", referenced from:
>       ContractionState::Clear()      in ContractionState.o
>       ContractionState::Clear()      in ContractionState.o
>       ContractionState::Clear()      in ContractionState.o
>   "RunStyles::InsertSpace(int, int)", referenced from:
>       ContractionState::InsertLine(int)    in ContractionState.o
>       ContractionState::InsertLine(int)    in ContractionState.o
>       ContractionState::InsertLine(int)    in ContractionState.o
>   "DecorationList::Start(int, int)", referenced from:
>       Editor::WndProc(unsigned int, unsigned long, long)in Editor.o
>   "DecorationList::FillRange(int&, int, int&)", referenced from:
>       Document::DecorationFillRange(int, int, int)in Document.o
>   "LineLayoutCache::Dispose(LineLayout*)", referenced from:
>       AutoLineLayout::~AutoLineLayout()in Editor.o
>       AutoLineLayout::Set(LineLayout*)       in Editor.o
>   "PositionCache::MeasureWidths(Surface*, ViewStyle&, unsigned int,  
> char const*, unsigned int, int*)", referenced from:
>       Editor::LayoutLine(int, Surface*, ViewStyle&, LineLayout*,  
> int)in Editor.o
>   "LineLayout::LineStart(int) const", referenced from:
>       Editor::LinesSplit(int)   in Editor.o
>       Editor::DisplayFromPosition(int)   in Editor.o
>       Editor::DrawIndicators(Surface*, ViewStyle&, int, int,  
> PRectangle, LineLayout*, int, int, bool)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawBlockCaret(Surface*, ViewStyle&, LineLayout*, int,  
> int, int, int, PRectangle)in Editor.o
>       Editor::DrawBlockCaret(Surface*, ViewStyle&, LineLayout*, int,  
> int, int, int, PRectangle)in Editor.o
>       Editor::DrawBlockCaret(Surface*, ViewStyle&, LineLayout*, int,  
> int, int, int, PRectangle)in Editor.o
>       Editor::DrawBlockCaret(Surface*, ViewStyle&, LineLayout*, int,  
> int, int, int, PRectangle)in Editor.o
>       Editor::FormatRange(bool, RangeToFormat*)  in Editor.o
>       Editor::FormatRange(bool, RangeToFormat*)  in Editor.o
>       Editor::FormatRange(bool, RangeToFormat*)  in Editor.o
>       Editor::FormatRange(bool, RangeToFormat*)  in Editor.o
>       Editor::FormatRange(bool, RangeToFormat*)  in Editor.o
>       Editor::PositionFromLineX(int, int)in Editor.o
>       Editor::Paint(Surface*, PRectangle)     in Editor.o
>       Editor::Paint(Surface*, PRectangle)     in Editor.o
>       Editor::Paint(Surface*, PRectangle)     in Editor.o
>       Editor::PositionFromLocationClose(Point)      in Editor.o
>       Editor::PositionFromLocation(Point)      in Editor.o
>       Editor::LocationFromPosition(int)   in Editor.o
>       Editor::LocationFromPosition(int)   in Editor.o
>       Editor::LocationFromPosition(int)   in Editor.o
>       Editor::LocationFromPosition(int)   in Editor.o
>       Editor::LocationFromPosition(int)   in Editor.o
>       Editor::LocationFromPosition(int)   in Editor.o
>       Editor::StartEndDisplayLine(int, bool)in Editor.o
>       Editor::StartEndDisplayLine(int, bool)in Editor.o
>       Editor::StartEndDisplayLine(int, bool)in Editor.o
>       Editor::StartEndDisplayLine(int, bool)in Editor.o
>       Editor::StartEndDisplayLine(int, bool)in Editor.o
>   "DecorationList::DeleteRange(int, int)", referenced from:
>       Document::NotifyModified(DocModification)       in Document.o
>   "_lmAbaqus", referenced from:
>       _lmAbaqus$non_lazy_ptr in KeyWords.o
>   "DecorationList::SetCurrentValue(int)", referenced from:
>       Editor::WndProc(unsigned int, unsigned long, long)in Editor.o
>   "LineLayout::LineLayout(int)", referenced from:
>       Editor::FormatRange(bool, RangeToFormat*)  in Editor.o
>   "LineLayout::~LineLayout()", referenced from:
>       Editor::FormatRange(bool, RangeToFormat*)  in Editor.o
>       Editor::FormatRange(bool, RangeToFormat*)  in Editor.o
>   "LineLayout::RestoreBracesHighlight(Range, int*)", referenced from:
>       Editor::Paint(Surface*, PRectangle)     in Editor.o
>   "DecorationList::InsertSpace(int, int)", referenced from:
>       Document::NotifyModified(DocModification)       in Document.o
>   "LineLayoutCache::Invalidate(LineLayout::validLevel)", referenced  
> from:
>       Editor::NeedWrapping(int, int)in Editor.o
>       Editor::InvalidateStyleData()      in Editor.o
>       Editor::CheckModificationForWrap(DocModification)       in  
> Editor.o
>       Editor::NotifyModified(Document*, DocModification, void*) in  
> Editor.o
>   "BreakFinder::First()", referenced from:
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>   "RunStyles::ValueAt(int)", referenced from:
>       ContractionState::GetVisible(int) constin ContractionState.o
>       ContractionState::GetExpanded(int) constin ContractionState.o
>       ContractionState::GetHeight(int) constin ContractionState.o
>       ContractionState::SetExpanded(int, bool)in ContractionState.o
>       ContractionState::SetVisible(int, int, bool)in  
> ContractionState.o
>       ContractionState::SetVisible(int, int, bool)in  
> ContractionState.o
>       ContractionState::DeleteLine(int)    in ContractionState.o
>       Editor::DrawIndicators(Surface*, ViewStyle&, int, int,  
> PRectangle, LineLayout*, int, int, bool)in Editor.o
>       Editor::DrawIndicators(Surface*, ViewStyle&, int, int,  
> PRectangle, LineLayout*, int, int, bool)in Editor.o
>   "LineLayout::InLine(int, int) const", referenced from:
>       Editor::Paint(Surface*, PRectangle)     in Editor.o
>   "BreakFinder::~BreakFinder()", referenced from:
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>   "_lmCmake", referenced from:
>       _lmCmake$non_lazy_ptr in KeyWords.o
>   "BreakFinder::BreakFinder(LineLayout*, int, int, int, bool, int)",  
> referenced from:
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>       Editor::DrawLine(Surface*, ViewStyle&, int, int, int,  
> PRectangle, LineLayout*, int)in Editor.o
>   "_lmProgress", referenced from:
>       _lmProgress$non_lazy_ptr in KeyWords.o
>   "RunStyles::Length()", referenced from:
>       ContractionState::GetVisible(int) constin ContractionState.o
>   "DecorationList::End(int, int)", referenced from:
>       Editor::WndProc(unsigned int, unsigned long, long)in Editor.o
>   "_lmASY", referenced from:
>       _lmASY$non_lazy_ptr in KeyWords.o
>   "_lmGAP", referenced from:
>       _lmGAP$non_lazy_ptr in KeyWords.o
>   "_lmPLM", referenced from:
>       _lmPLM$non_lazy_ptr in KeyWords.o
>   "vtable for wxConsoleAppTraits", referenced from:
>       __ZTV18wxConsoleAppTraits$non_lazy_ptr in utilsunx.o
>       __ZTV18wxConsoleAppTraits$non_lazy_ptr in appbase.o
>   "wxGLApp::GetClassInfo() const", referenced from:
>       vtable for wxGLAppin glcanvas.o
>   "DecorationList::ValueAt(int, int)", referenced from:
>       Editor::WndProc(unsigned int, unsigned long, long)in Editor.o
>   "LineLayoutCache::SetLevel(int)", referenced from:
>       Editor::Editor()in Editor.o
>       Editor::WndProc(unsigned int, unsigned long, long)in Editor.o
>   "DecorationList::SetCurrentIndicator(int)", referenced from:
>       DocumentAccessor::IndicatorFill(int, int, int, int)in  
> DocumentAccessor.o
>       Editor::WndProc(unsigned int, unsigned long, long)in Editor.o
>   "wxGLCanvasBase::wxGLCanvasBase()", referenced from:
>       wxGLCanvas::wxGLCanvas(wxWindow*, int, int const*, wxPoint  
> const&, wxSize const&, long, wxString const&, wxPalette const&)in  
> glcanvas.o
>       wxGLCanvas::wxGLCanvas(wxWindow*, wxGLCanvas const*, int,  
> wxPoint const&, wxSize const&, long, wxString const&, int const*,  
> wxPalette const&)in glcanvas.o
>       wxGLCanvas::wxGLCanvas(wxWindow*, wxGLContext const*, int,  
> wxPoint const&, wxSize const&, long, wxString const&, int const*,  
> wxPalette const&)in glcanvas.o
>       wxGLCanvas::wxGLCanvas(wxWindow*, int, wxPoint const&, wxSize  
> const&, long, wxString const&, int const*, wxPalette const&)in  
> glcanvas.o
>   "wxGLCanvasBase::~wxGLCanvasBase()", referenced from:
>       wxGLCanvas::wxGLCanvas(wxWindow*, int, int const*, wxPoint  
> const&, wxSize const&, long, wxString const&, wxPalette const&)in  
> glcanvas.o
>       wxGLCanvas::~wxGLCanvas()in glcanvas.o
>       wxGLCanvas::~wxGLCanvas()in glcanvas.o
>       wxGLCanvas::~wxGLCanvas()in glcanvas.o
>       wxGLCanvas::~wxGLCanvas()in glcanvas.o
>       wxGLCanvas::wxGLCanvas(wxWindow*, wxGLCanvas const*, int,  
> wxPoint const&, wxSize const&, long, wxString const&, int const*,  
> wxPalette const&)in glcanvas.o
>       wxGLCanvas::wxGLCanvas(wxWindow*, wxGLContext const*, int,  
> wxPoint const&, wxSize const&, long, wxString const&, int const*,  
> wxPalette const&)in glcanvas.o
>       wxGLCanvas::wxGLCanvas(wxWindow*, int, wxPoint const&, wxSize  
> const&, long, wxString const&, int const*, wxPalette const&)in  
> glcanvas.o
>   "RunStyles::SetValueAt(int, int)", referenced from:
>       ContractionState::InsertLine(int)    in ContractionState.o
>       ContractionState::InsertLine(int)    in ContractionState.o
>       ContractionState::InsertLine(int)    in ContractionState.o
>       ContractionState::SetHeight(int, int)in ContractionState.o
>       ContractionState::SetExpanded(int, bool)in ContractionState.o
>       ContractionState::SetVisible(int, int, bool)in  
> ContractionState.o
> ld: symbol(s) not found
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080116/07724be6/attachment.htm


More information about the wx-users mailing list