Compiling HeeksCAD with Code::Blocks

It’s way too late and I should be in bed…. but this is way to0 fun…

Anyway… I downloaded the source for HeeksCAD has was able to get it to compile with the existing makefile.  (So… I know what I got is good)…
I copied the project over to another folder and deleted the object file and am working on trying to get to run in code::blocks.
I’m widdling away at the errors and learning a bunch in the process.

This is where I left off with the errors’

obj/Debug/interface/ObjList.o||In function ObjList::ReadBaseXML(TiXmlElement*)':|
/home/jonas/HeeksCAD/interface/ObjList.cpp|246|undefined reference to
TiXmlHandle::FirstChildElement() const’|
obj/Debug/interface/ObjList.o||In function TiXmlNode::NextSiblingElement()':|
/home/jonas/HeeksCAD/interface/../tinyxml/tinyxml.h|649|undefined reference to
TiXmlNode::NextSiblingElement() const’|
obj/Debug/interface/PropertyCheck.o||In function wxStringBase':|
/usr/include/wx-2.8/wx/string.h|351|undefined reference to
wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)’|
obj/Debug/src/Cone.o||In function CCone::SetFromXMLElement(TiXmlElement*)':|
/home/jonas/HeeksCAD/src/Cone.cpp|365|undefined reference to
TiXmlAttribute::DoubleValue() const’|
/home/jonas/HeeksCAD/src/Cone.cpp|366|undefined reference to TiXmlAttribute::DoubleValue() const'|
/home/jonas/HeeksCAD/src/Cone.cpp|367|undefined reference to
TiXmlAttribute::DoubleValue() const’|
/home/jonas/HeeksCAD/src/Cone.cpp|369|undefined reference to TiXmlAttribute::DoubleValue() const'|
/home/jonas/HeeksCAD/src/Cone.cpp|370|undefined reference to
TiXmlAttribute::DoubleValue() const’|
obj/Debug/src/Cone.o:/home/jonas/HeeksCAD/src/Cone.cpp|371|more undefined references to TiXmlAttribute::DoubleValue() const' follow|
obj/Debug/src/Cone.o||In function
CCone::SetXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/Cone.cpp|335|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
/home/jonas/HeeksCAD/src/Cone.cpp|336|undefined reference to
TiXmlElement::SetDoubleAttribute(char const*, double)’|
/home/jonas/HeeksCAD/src/Cone.cpp|337|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
/home/jonas/HeeksCAD/src/Cone.cpp|340|undefined reference to
TiXmlElement::SetDoubleAttribute(char const*, double)’|
/home/jonas/HeeksCAD/src/Cone.cpp|341|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
obj/Debug/src/Cone.o:/home/jonas/HeeksCAD/src/Cone.cpp|342|more undefined references to
TiXmlElement::SetDoubleAttribute(char const*, double)’ follow|
obj/Debug/src/Cone.o||In function TiXmlAttribute::Next()':|
/home/jonas/HeeksCAD/src/../tinyxml/tinyxml.h|854|undefined reference to
TiXmlAttribute::Next() const’|
obj/Debug/src/CoordinateSystem.o||In function CoordinateSystem::WriteXML(TiXmlNode*)':|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1298|undefined reference to
TiXmlElement::TiXmlElement(char const*)’|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1299|undefined reference to TiXmlNode::LinkEndChild(TiXmlNode*)'|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1300|undefined reference to
Ttc(wchar_t const*)’|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1300|undefined reference to TiXmlElement::SetAttribute(char const*, char const*)'|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1301|undefined reference to
TiXmlElement::SetDoubleAttribute(char const*, double)’|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1302|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1303|undefined reference to
TiXmlElement::SetDoubleAttribute(char const*, double)’|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1304|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1305|undefined reference to
TiXmlElement::SetDoubleAttribute(char const*, double)’|
obj/Debug/src/CoordinateSystem.o:/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1306|more undefined references to TiXmlElement::SetDoubleAttribute(char const*, double)' follow|
obj/Debug/src/CoordinateSystem.o||In function
CoordinateSystem::ReadFromXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1329|undefined reference to Ctt(char const*)'|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1330|undefined reference to
TiXmlAttribute::DoubleValue() const’|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1331|undefined reference to TiXmlAttribute::DoubleValue() const'|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1332|undefined reference to
TiXmlAttribute::DoubleValue() const’|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1333|undefined reference to TiXmlAttribute::DoubleValue() const'|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1334|undefined reference to
TiXmlAttribute::DoubleValue() const’|
obj/Debug/src/CoordinateSystem.o:/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1335|more undefined references to TiXmlAttribute::DoubleValue() const' follow|
obj/Debug/src/Cuboid.o||In function
CCuboid::SetXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/Cuboid.cpp|209|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
/home/jonas/HeeksCAD/src/Cuboid.cpp|210|undefined reference to
TiXmlElement::SetDoubleAttribute(char const*, double)’|
/home/jonas/HeeksCAD/src/Cuboid.cpp|211|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
/home/jonas/HeeksCAD/src/Cuboid.cpp|214|undefined reference to
TiXmlElement::SetDoubleAttribute(char const*, double)’|
/home/jonas/HeeksCAD/src/Cuboid.cpp|215|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
obj/Debug/src/Cuboid.o:/home/jonas/HeeksCAD/src/Cuboid.cpp|216|more undefined references to
TiXmlElement::SetDoubleAttribute(char const*, double)’ follow|
obj/Debug/src/Cylinder.o||In function CCylinder::SetFromXMLElement(TiXmlElement*)':|
/home/jonas/HeeksCAD/src/Cylinder.cpp|193|undefined reference to
TiXmlAttribute::DoubleValue() const’|
/home/jonas/HeeksCAD/src/Cylinder.cpp|194|undefined reference to TiXmlAttribute::DoubleValue() const'|
/home/jonas/HeeksCAD/src/Cylinder.cpp|195|undefined reference to
TiXmlAttribute::DoubleValue() const’|
/home/jonas/HeeksCAD/src/Cylinder.cpp|197|undefined reference to TiXmlAttribute::DoubleValue() const'|
/home/jonas/HeeksCAD/src/Cylinder.cpp|198|undefined reference to
TiXmlAttribute::DoubleValue() const’|
obj/Debug/src/Cylinder.o:/home/jonas/HeeksCAD/src/Cylinder.cpp|199|more undefined references to TiXmlAttribute::DoubleValue() const' follow|
obj/Debug/src/Cylinder.o||In function
CCylinder::SetXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/Cylinder.cpp|163|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
/home/jonas/HeeksCAD/src/Cylinder.cpp|164|undefined reference to
TiXmlElement::SetDoubleAttribute(char const*, double)’|
/home/jonas/HeeksCAD/src/Cylinder.cpp|165|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
/home/jonas/HeeksCAD/src/Cylinder.cpp|168|undefined reference to
TiXmlElement::SetDoubleAttribute(char const*, double)’|
/home/jonas/HeeksCAD/src/Cylinder.cpp|169|undefined reference to TiXmlElement::SetDoubleAttribute(char const*, double)'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|

I think I might need to add some stuff to the Code::Blocks project file.
I searched for tinyxml and this is what I came up with:

/home/jonas/HeeksCAD/tinyxml
/home/jonas/HeeksCAD/tinyxml/.svn
/home/jonas/HeeksCAD/tinyxml/tinystr.cpp
/home/jonas/HeeksCAD/tinyxml/tinystr.h
/home/jonas/HeeksCAD/tinyxml/tinyxml.cpp
/home/jonas/HeeksCAD/tinyxml/tinyxml.h
/home/jonas/HeeksCAD/tinyxml/tinyxmlerror.cpp
/home/jonas/HeeksCAD/tinyxml/tinyxmlparser.cpp
/home/jonas/HeeksCAD/tinyxml/.svn/all-wcprops
/home/jonas/HeeksCAD/tinyxml/.svn/entries
/home/jonas/HeeksCAD/tinyxml/.svn/format
/home/jonas/HeeksCAD/tinyxml/.svn/prop-base
/home/jonas/HeeksCAD/tinyxml/.svn/props
/home/jonas/HeeksCAD/tinyxml/.svn/text-base
/home/jonas/HeeksCAD/tinyxml/.svn/tmp
/home/jonas/HeeksCAD/tinyxml/.svn/prop-base/tinystr.cpp.svn-base
/home/jonas/HeeksCAD/tinyxml/.svn/prop-base/tinyxml.cpp.svn-base
/home/jonas/HeeksCAD/tinyxml/.svn/prop-base/tinyxmlerror.cpp.svn-base
/home/jonas/HeeksCAD/tinyxml/.svn/prop-base/tinyxmlparser.cpp.svn-base
/home/jonas/HeeksCAD/tinyxml/.svn/text-base/tinystr.cpp.svn-base
/home/jonas/HeeksCAD/tinyxml/.svn/text-base/tinystr.h.svn-base
/home/jonas/HeeksCAD/tinyxml/.svn/text-base/tinyxml.cpp.svn-base
/home/jonas/HeeksCAD/tinyxml/.svn/text-base/tinyxml.h.svn-base
/home/jonas/HeeksCAD/tinyxml/.svn/text-base/tinyxmlerror.cpp.svn-base
/home/jonas/HeeksCAD/tinyxml/.svn/text-base/tinyxmlparser.cpp.svn-base
/home/jonas/HeeksCAD/tinyxml/.svn/tmp/prop-base
/home/jonas/HeeksCAD/tinyxml/.svn/tmp/props
/home/jonas/HeeksCAD/tinyxml/.svn/tmp/text-base

Something to look at tommorow.
Ok... This might account for some of the issue... I need to study what's going on here.
http://sourceforge.net/scm/?type=cvs&group_id=13559

I took a look at the makefile it think what I need add is defined here.
OBJECTS=AboutBox.o advprops.o BezierCurve.o Cone.o ConversionTools.o CoordinateSystem.o Cuboid.o Cylinder.o DigitizedPoint.o DigitizeMode.o DimensionDrawing.o Drawing.o dxf.o svg.o Edge.o Face.o Geom.o glfont.o GLList.o GraphicsCanvas.o Grid.o Gripper.o GripperSelTransform.o Group.o HArc.o HCircle.o HDimension.o HeeksCAD.o HeeksFrame.o HeeksPrintout.o HILine.o HEllipse.o HImage.o History.o HLine.o HPoint.o HSpline.o HText.o HXml.o Images.o InputModeCanvas.o LineArcDrawing.o Loop.o MagDragWindow.o manager.o MarkedList.o ObjPropsCanvas.o odcombo.o OptionsCanvas.o Plugins.o PointDrawing.o PointOrWindow.o PropertiesCanvas.o PropertyTrsf.o PropertyVertex.o propgrid.o props.o RegularShapesDrawing.o RemoveOrAddTool.o RuledSurface.o Ruler.o SelectMode.o Shape.o ShapeData.o Sketch.o Solid.o Sphere.o StlSolid.o StretchTool.o TransformTool.o TransformTools.o TreeCanvas.o Vertex.o ViewPoint.o ViewRotating.o ViewZooming.o Window.o Wire.o wxImageLoader.o HeeksCADInterface.o HeeksColor.o HeeksObj.o LeftAndRight.o MarkedObject.o ObjList.o PropertyCheck.o PropertyChoice.o PropertyColor.o PropertyDouble.o PropertyLength.o PropertyInt.o PropertyList.o PropertyString.o strconv.o ToolImage.o ToolList.o tinyxml.o tinyxmlerror.o tinyxmlparser.o

tinyxml.o tinyxmlerror.o tinyxmlparser.o

/home/jonas/HeeksCAD/tinyxml/tinyxml.h
Need to add the directory tinyxml and add the appropriate header/ cpp files to the project.

Ok... That took care of that problem.... Recompiling here the next set.
This one seem to be a little more tricky..
||=== HeeksCAD, Debug ===|
obj/Debug/interface/PropertyCheck.o||In function
wxStringBase’:|
/usr/include/wx-2.8/wx/string.h|351|undefined reference to wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'|
obj/Debug/src/CoordinateSystem.o||In function
CoordinateSystem::WriteXML(TiXmlNode*)’:|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1300|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/CoordinateSystem.o||In function
CoordinateSystem::ReadFromXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1329|undefined reference to Ctt(char const*)'|
obj/Debug/src/HDimension.o||In function
HDimension::WriteXML(TiXmlNode*)’:|
/home/jonas/HeeksCAD/src/HDimension.cpp|167|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HDimension.o||In function
HDimension::ReadFromXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/HDimension.cpp|216|undefined reference to Ctt(char const*)'|
obj/Debug/src/HImage.o||In function
HImage::WriteXML(TiXmlNode*)’:|
/home/jonas/HeeksCAD/src/HImage.cpp|206|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HImage.o||In function
HImage::ReadFromXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/HImage.cpp|234|undefined reference to Ctt(char const*)'|
obj/Debug/src/HText.o||In function
HText::WriteXML(TiXmlNode*)’:|
/home/jonas/HeeksCAD/src/HText.cpp|141|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HText.o||In function
HText::ReadFromXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/HText.cpp|175|undefined reference to Ctt(char const*)'|
obj/Debug/src/HXml.o||In function
HXml::GetShortString() const’:|
/home/jonas/HeeksCAD/src/HXml.cpp|16|undefined reference to Ctt(char const*)'|
obj/Debug/src/HeeksCAD.o||In function
HeeksCADapp::create_font()’:|
/home/jonas/HeeksCAD/src/HeeksCAD.cpp|2833|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HeeksCAD.o||In function
HeeksCADapp::get_text_size(wchar_t const*, float*, float*)’:|
/home/jonas/HeeksCAD/src/HeeksCAD.cpp|2864|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HeeksCAD.o||In function
HeeksCADapp::render_text(wchar_t const*)’:|
/home/jonas/HeeksCAD/src/HeeksCAD.cpp|2851|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HeeksCAD.o||In function
HeeksCADapp::SaveXMLFile(std::list > const&, wchar_t const*, bool)’:|
/home/jonas/HeeksCAD/src/HeeksCAD.cpp|1000|undefined reference to Ttc(wchar_t const*)'|
/home/jonas/HeeksCAD/src/HeeksCAD.cpp|1033|undefined reference to
Ttc(wchar_t const*)’|
obj/Debug/src/HeeksCAD.o:/home/jonas/HeeksCAD/src/HeeksCAD.cpp|1053|more undefined references to Ttc(wchar_t const*)' follow|
obj/Debug/src/HeeksCAD.o||In function
HeeksCADapp::OpenXMLFile(wchar_t const*, bool, HeeksObj*)’:|
/home/jonas/HeeksCAD/src/HeeksCAD.cpp|631|undefined reference to Ctt(char const*)'|
obj/Debug/src/HeeksCAD.o||In function
HeeksCADapp::Paste(HeeksObj*)’:|
/home/jonas/HeeksCAD/src/HeeksCAD.cpp|2791|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HeeksCAD.o||In function
ReadSTEPFileFromXMLElement’:|
/home/jonas/HeeksCAD/src/HeeksCAD.cpp|482|undefined reference to Ctt(char const*)'|
/home/jonas/HeeksCAD/src/HeeksCAD.cpp|521|undefined reference to
Ttc(wchar_t const*)’|
/home/jonas/HeeksCAD/src/HeeksCAD.cpp|546|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HeeksCAD.o||In function
TiXmlString::operator=(char const*)’:|
/home/jonas/HeeksCAD/src/../tinyxml/tinystr.h|112|undefined reference to TiXmlString::assign(char const*, unsigned int)'|
obj/Debug/src/HeeksCAD.o||In function
TiXmlString::quit()’:|
/home/jonas/HeeksCAD/src/../tinyxml/tinystr.h|255|undefined reference to TiXmlString::nullrep_'|
obj/Debug/src/HeeksCAD.o:(.rodata._ZTV11HeeksCADapp[vtable for HeeksCADapp]+0x90)||undefined reference to
wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)’|
obj/Debug/src/HeeksCAD.o:(.rodata._ZTV11HeeksCADapp[vtable for HeeksCADapp]+0x94)||undefined reference to wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)'|
obj/Debug/src/HeeksFrame.o||In function
wxCloseEvent::Veto(bool)’:|
/usr/include/wx-2.8/wx/event.h|1409|undefined reference to wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'|
obj/Debug/src/HeeksFrame.o||In function
wxArrayString::Item(unsigned int) const’:|
/usr/include/wx-2.8/wx/arrstr.h|154|undefined reference to wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'|
obj/Debug/src/MarkedList.o||In function
MarkedList::CopySelectedItems()’:|
/home/jonas/HeeksCAD/src/MarkedList.cpp|394|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/Plugins.o||In function
wxStringBase::at(unsigned int)’:|
/usr/include/wx-2.8/wx/string.h|433|undefined reference to wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'|
obj/Debug/src/Shape.o||In function
CShape::ExportSolidsFile(std::list > const&, wchar_t const*, std::map, std::allocator > >*)’:|
/home/jonas/HeeksCAD/src/Shape.cpp|899|undefined reference to Ttc(wchar_t const*)'|
/home/jonas/HeeksCAD/src/Shape.cpp|919|undefined reference to
Ttc(wchar_t const*)’|
obj/Debug/src/Shape.o||In function CShape::ImportSolidsFile(wchar_t const*, bool, std::map, std::allocator > >*, HeeksObj*)':|
/home/jonas/HeeksCAD/src/Shape.cpp|770|undefined reference to
Ttc(wchar_t const*)’|
/home/jonas/HeeksCAD/src/Shape.cpp|817|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/Sketch.o||In function
CSketch::GetProperties(std::list
>*)’:|
/home/jonas/HeeksCAD/src/Sketch.cpp|137|undefined reference to Ctt(char const*)'|
obj/Debug/src/StlSolid.o||In function
CStlSolid::read_from_file(wchar_t const*)’:|
/home/jonas/HeeksCAD/src/StlSolid.cpp|44|undefined reference to Ttc(wchar_t const*)'|
/home/jonas/HeeksCAD/src/StlSolid.cpp|80|undefined reference to
Ctt(char const*)’|
obj/Debug/src/advprops.o||In function wxColourPropertyClass::GetColour(int)':|
/home/jonas/HeeksCAD/src/advprops.cpp|1164|undefined reference to
wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)’|
obj/Debug/src/advprops.o||In function wxPGConstructSpinCtrlEditorClass()':|
/home/jonas/HeeksCAD/src/advprops.cpp|177|undefined reference to
wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)’|
obj/Debug/src/advprops.o||In function wxMultiChoicePropertyClass::GenerateValueAsString()':|
/home/jonas/HeeksCAD/src/advprops.cpp|1571|undefined reference to
wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)’|
obj/Debug/src/advprops.o||In function wxColourPropertyClass::DoSetValue(wxPGVariant)':|
/home/jonas/HeeksCAD/src/advprops.cpp|1164|undefined reference to
wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)’|
obj/Debug/src/advprops.o||In function wxFontPropertyClass::ChildChanged(wxPGProperty*)':|
/home/jonas/HeeksCAD/src/advprops.cpp|617|undefined reference to
wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)’|
obj/Debug/src/advprops.o:/home/jonas/HeeksCAD/src/advprops.cpp|125|more undefined references to wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)' follow|
obj/Debug/src/dxf.o||In function
CDxfRead’:|
/home/jonas/HeeksCAD/src/dxf.cpp|160|undefined reference to Ttc(wchar_t const*)'|
/home/jonas/HeeksCAD/src/dxf.cpp|160|undefined reference to
Ttc(wchar_t const*)’|
obj/Debug/src/dxf.o||In function CDxfWrite':|
/home/jonas/HeeksCAD/src/dxf.cpp|23|undefined reference to
Ttc(wchar_t const*)’|
/home/jonas/HeeksCAD/src/dxf.cpp|23|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/manager.o||In function
wxPropertyGridManager::GetPageRoot(int) const’:|
/home/jonas/HeeksCAD/src/manager.cpp|946|undefined reference to wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'|
/home/jonas/HeeksCAD/src/manager.cpp|947|undefined reference to
wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)’|
obj/Debug/src/manager.o||In function wxPropertyGridManager::SetTargetPage(int)':|
/home/jonas/HeeksCAD/src/manager.cpp|737|undefined reference to
wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)’|
/home/jonas/HeeksCAD/src/manager.cpp|738|undefined reference to wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|

Ok... I found something here:
http://lists.wxwidgets.org/pipermail/wx-users/2007-July/101067.html

I guess I need to loose the __WXDEBUG__
I seems to recall putting that into the declaration string.. (I wonder why I was issue in the makefile compiling).. Lets see what happens when I remove -D__WXDEBUG__ from the compiler defines section in code blocks.

That seems to gotten rid of the next error.
Here is the next. Couple of errors:

obj/Debug/src/CoordinateSystem.o||In function CoordinateSystem::WriteXML(TiXmlNode*)’:|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1300|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/CoordinateSystem.o||In function
CoordinateSystem::ReadFromXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/CoordinateSystem.cpp|1329|undefined reference to Ctt(char const*)'|
obj/Debug/src/HDimension.o||In function
HDimension::WriteXML(TiXmlNode*)’:|
/home/jonas/HeeksCAD/src/HDimension.cpp|167|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HDimension.o||In function
HDimension::ReadFromXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/HDimension.cpp|216|undefined reference to Ctt(char const*)'|
obj/Debug/src/HImage.o||In function
HImage::WriteXML(TiXmlNode*)’:|
/home/jonas/HeeksCAD/src/HImage.cpp|206|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HImage.o||In function
HImage::ReadFromXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/HImage.cpp|234|undefined reference to Ctt(char const*)'|
obj/Debug/src/HText.o||In function
HText::WriteXML(TiXmlNode*)’:|
/home/jonas/HeeksCAD/src/HText.cpp|141|undefined reference to Ttc(wchar_t const*)'|
obj/Debug/src/HText.o||In function
HText::ReadFromXMLElement(TiXmlElement*)’:|
/home/jonas/HeeksCAD/src/HText.cpp|175|undefined reference to Ctt(char const*)'|
obj/Debug/src/HXml.o||In function
HXml::GetShortString() const’:|
/home/jonas/HeeksCAD/src/HXml.cpp|16|undefined reference to `Ctt(char const*)’|

I think I might have to compile some more tinyxml stuff…

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *