Re: [Kicad-developers] Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn

2010-08-11 Thread Dick Hollenbeck
On 08/11/2010 07:54 PM, Wayne Stambaugh wrote:
> On 8/11/2010 5:30 PM, Dick Hollenbeck wrote:
>   
>> 
>>> wxXmlProperty* GetAttributes() const
>>> {
>>> return GetProperties();
>>> }
>>>   
>>>   
>> Simplest is to use GetProperties() in xnode.cpp
>>
>> I think that solves the problem.
>> 
> At least until they deprecate GetProperties() for GetAttributes() in
> some future version.  Then it will have to be changed back.  Ah the joys
> of software development.
>
> Wayne
>   

Changed xnode.cpp to use wxXmlNode::GetProperties() instead of
GetAttributes().  Sorry to cause grief, but sometimes it takes several
folks who have different views of various versions and what not to
gather a consensus understanding of the common denominator.

Hopefully this will nail that problem.

Thanks for your help Wayne!  Go for the library version detection if you
still want it.  I'd suggest working from the stock CMake project
scripts, the newest in their repo as a starting point, and then giving
them back to them all shiny and better. 

Dick


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn

2010-08-11 Thread Wayne Stambaugh
On 8/11/2010 5:30 PM, Dick Hollenbeck wrote:
> 
>> wxXmlProperty* GetAttributes() const
>> {
>> return GetProperties();
>> }
>>   
> 
> Simplest is to use GetProperties() in xnode.cpp
> 
> I think that solves the problem.

At least until they deprecate GetProperties() for GetAttributes() in
some future version.  Then it will have to be changed back.  Ah the joys
of software development.

Wayne

> 
> Dick
> 
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn

2010-08-11 Thread Wayne Stambaugh


On 8/11/2010 5:21 PM, Dick Hollenbeck wrote:
> 
>> Jerry,
>>
>> After you ran configure, what did configure report for the expat library 
>> "sys"
>> or "builtin"?  On both Linux (Debian testing) and Windows (MinGW/MSYS) I'm
>> using the system libraries without any issues.  I don't know that this makes
>> any difference but it could.  Also, it may be the version of wxWidgets you 
>> are
>> using.  I had to update from 2.8.10 to 2.8.11 because
>> wxXmlNode::GetAttributes() does not exist prior to 2.8.11.  This may also 
>> apply
>> between the 2.9.0 and the 2.9.1 branch.  You can verify this by grepping
>>  for GetAttributes.
>>
>> I've been toying with the idea of adding a version check to FindwxWidgets so
>> CMake will choke if the correct version of wxWidgets is not available (ala
>> autoconf) rather than having to figure that out after a build failure.  
>> Library
>> version checking is one of the places most of the CMake find modules are a 
>> bit
>> weak.  If no one objects to this idea, I'll add it to my todo list and try to
>> knock it out in the not too distant future.
>>
>> Note to all developers: the current minimum version of wxWidgets to build the
>> testing branch of Kicad is 2.8.11.
>>
>> Wayne
>>   
> 
> Wayne,
> 
> 
> #if wxABI_VERSION >= 20811
> wxString GetAttribute(const wxString& attrName,
>  const wxString& defaultVal) const
> {
> return GetPropVal(attrName, defaultVal);
> }
> bool GetAttribute(const wxString& attrName, wxString *value) const
> {
> return GetPropVal(attrName, value);
> }
> void AddAttribute(const wxString& attrName, const wxString& value)
> {
> AddProperty(attrName, value);
> }
> wxXmlProperty* GetAttributes() const
> {
> return GetProperties();
> }
> #endif // wx >= 2.8.11
> 
> 
> The above is in the wx/xml.h Ubuntu header file.  So maybe the Ubuntu
> folks patched the stock wxwidgets at 2.8.10?

It's the same in Debian testing as I expected.  I was using a stock
2.8.10 on MinGW/MSYS which caused the build to fail.  Using 2.8.11
solved the problem.

> 
> None the less, the first thing I'd have to do to your CMakeLists.txt
> test with only a version check, is to change it back to 2.8.10,
> rendering the whole thing useless.

This certainly is an interesting dilemma.  Since the current version of
FindwxWidgets doesn't support version checking, I'll leave it as is for
now.  It still would be handy to have version checking of the wxWidgets
library.

> 
> Instead of testing for a minimum version, can you test for
> GetProperties() and GetAttributes().  If only the former, map the latter
> to the former.
> 
> I promise not to use any more functions in the library.  So let's find
> the minimally intrusive solution.

I think I could get CMake to run a compiler test for GetAttributes and
map it to GetProperties in config.h if it fails.  It may be a few days
before I can get to it.

Wayne

> 
> Dick
> 
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn

2010-08-11 Thread Dick Hollenbeck
On 08/11/2010 04:30 PM, Dick Hollenbeck wrote:
>   
>> wxXmlProperty* GetAttributes() const
>> {
>> return GetProperties();
>> }
>>   
>> 
> Simplest is to use GetProperties() in xnode.cpp
>
> I think that solves the problem.
>
> Dick
>   

Well, maybe you can add what you need to support the older library to
class XNODE.
I don't use class wxXmlNode directly anymore, its use is hidden under XNODE.

I don't want to get too dependent on wxXmlNode, since it does an
inadequate job reading XML files.

The wxXml author basically screwed up, got scolded when he was told that
XML files don't have properties, but rather attributes, then went back
and added the attribute methods.

That sort of tells the story.  The Attribute() is the future and present
of the API.

Dick




___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn

2010-08-11 Thread Dick Hollenbeck

> wxXmlProperty* GetAttributes() const
> {
> return GetProperties();
> }
>   

Simplest is to use GetProperties() in xnode.cpp

I think that solves the problem.

Dick


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn

2010-08-11 Thread Dick Hollenbeck

> Jerry,
>
> After you ran configure, what did configure report for the expat library "sys"
> or "builtin"?  On both Linux (Debian testing) and Windows (MinGW/MSYS) I'm
> using the system libraries without any issues.  I don't know that this makes
> any difference but it could.  Also, it may be the version of wxWidgets you are
> using.  I had to update from 2.8.10 to 2.8.11 because
> wxXmlNode::GetAttributes() does not exist prior to 2.8.11.  This may also 
> apply
> between the 2.9.0 and the 2.9.1 branch.  You can verify this by grepping
>  for GetAttributes.
>
> I've been toying with the idea of adding a version check to FindwxWidgets so
> CMake will choke if the correct version of wxWidgets is not available (ala
> autoconf) rather than having to figure that out after a build failure.  
> Library
> version checking is one of the places most of the CMake find modules are a bit
> weak.  If no one objects to this idea, I'll add it to my todo list and try to
> knock it out in the not too distant future.
>
> Note to all developers: the current minimum version of wxWidgets to build the
> testing branch of Kicad is 2.8.11.
>
> Wayne
>   

Wayne,


#if wxABI_VERSION >= 20811
wxString GetAttribute(const wxString& attrName,
 const wxString& defaultVal) const
{
return GetPropVal(attrName, defaultVal);
}
bool GetAttribute(const wxString& attrName, wxString *value) const
{
return GetPropVal(attrName, value);
}
void AddAttribute(const wxString& attrName, const wxString& value)
{
AddProperty(attrName, value);
}
wxXmlProperty* GetAttributes() const
{
return GetProperties();
}
#endif // wx >= 2.8.11


The above is in the wx/xml.h Ubuntu header file.  So maybe the Ubuntu
folks patched the stock wxwidgets at 2.8.10?

None the less, the first thing I'd have to do to your CMakeLists.txt
test with only a version check, is to change it back to 2.8.10,
rendering the whole thing useless.

Instead of testing for a minimum version, can you test for
GetProperties() and GetAttributes().  If only the former, map the latter
to the former.

I promise not to use any more functions in the library.  So let's find
the minimally intrusive solution.

Dick


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn

2010-08-11 Thread Dick Hollenbeck

> Note to all developers: the current minimum version of wxWidgets to build the
> testing branch of Kicad is 2.8.11.
>
> Wayne
>   


Careful, on Ubuntu Lucid, 2.8.10 seems to work Ok.

$ wx-config --version

2.8.10

/usr/lib/libwx_baseu_xml-2.8.so.0

is part of the package libwxbase2.8.0.   Had it not been, I would have
given more thought to using it.


Dick


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn

2010-08-11 Thread Wayne Stambaugh
On 8/11/2010 10:58 AM, Jerry Jacobs wrote:
> Dear all,
> 
> I tried compiling the latest revision of wxWidget and KiCad on my Macbook with
> Apple OS X and it failed on the XML library that Dick is using now. I
> recompiled again and the option to enable the XML library is the 
> --enable-expat
> but still it fails. The weird thing is that there are some function symbols in
> the static monolithic library in the wxXmlDocument class. So that means it is
> enabled. Below there is my wxWidgets configuration of configure and the error 
> I
> get during linking. Maybe some people have suggestions or ideas. The point is 
> I
> want to test the latest stuff and need to compile it myself then.
> 
> Kind regards,
> Jerry Jacobs
> - http://www.xor-gate.org
> 
> ./configure --enable-unicode=yes --enable-shared=no --enable-monolithic
> --with-opengl   --enable-universal_binary --enable-aui --enable-debug
> --with-osx_cocoa   --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk/
> --prefix=/opt/wxwidgets/rev-65251 --enable-expat

Jerry,

After you ran configure, what did configure report for the expat library "sys"
or "builtin"?  On both Linux (Debian testing) and Windows (MinGW/MSYS) I'm
using the system libraries without any issues.  I don't know that this makes
any difference but it could.  Also, it may be the version of wxWidgets you are
using.  I had to update from 2.8.10 to 2.8.11 because
wxXmlNode::GetAttributes() does not exist prior to 2.8.11.  This may also apply
between the 2.9.0 and the 2.9.1 branch.  You can verify this by grepping
 for GetAttributes.

I've been toying with the idea of adding a version check to FindwxWidgets so
CMake will choke if the correct version of wxWidgets is not available (ala
autoconf) rather than having to figure that out after a build failure.  Library
version checking is one of the places most of the CMake find modules are a bit
weak.  If no one objects to this idea, I'll add it to my todo list and try to
knock it out in the not too distant future.

Note to all developers: the current minimum version of wxWidgets to build the
testing branch of Kicad is 2.8.11.

Wayne

> 
> Linking CXX executable eeschema.app/Contents/MacOS/eeschema
> Undefined symbols:
>   "_XML_SetCharacterDataHandler", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_SetCommentHandler", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_SetCdataSectionHandler", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_SetUserData", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_ParserFree", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_ParserCreate", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_SetElementHandler", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_SetUnknownEncodingHandler", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_GetErrorCode", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_SetDefaultHandler", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_Parse", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_GetCurrentLineNumber", referenced from:
>   _StartCdataHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   _CommentHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   _TextHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   _StartElementHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
>   "_XML_ErrorString", referenced from:
>   wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [eeschema/eeschema.app/Contents/MacOS/eeschema] Error 1
> make[1]: *** [eeschema/CMakeFiles/eeschema.dir/all] Error 2
> make: *** [all] Error 2
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

_

Re: [Kicad-developers] Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn

2010-08-11 Thread Dick Hollenbeck
On 08/11/2010 09:58 AM, Jerry Jacobs wrote:
> Dear all,
>
> I tried compiling the latest revision of wxWidget and KiCad on my 
> Macbook with Apple OS X and it failed on the XML library that Dick is 
> using now. I recompiled again and the option to enable the XML library 
> is the --enable-expat but still it fails. The weird thing is that there 
> are some function symbols in the static monolithic library in the 
> wxXmlDocument class. So that means it is enabled. Below there is my 
> wxWidgets configuration of configure and the error I get during linking. 
> Maybe some people have suggestions or ideas. The point is I want to test 
> the latest stuff and need to compile it myself then.
>
> Kind regards,
> Jerry Jacobs
> - http://www.xor-gate.org
>
> ./configure --enable-unicode=yes --enable-shared=no --enable-monolithic 
> --with-opengl   --enable-universal_binary --enable-aui --enable-debug 
> --with-osx_cocoa   --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk/ 
> --prefix=/opt/wxwidgets/rev-65251 --enable-expat
>
> Linking CXX executable eeschema.app/Contents/MacOS/eeschema
> Undefined symbols:
>"_XML_SetCharacterDataHandler", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_SetCommentHandler", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_SetCdataSectionHandler", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_SetUserData", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_ParserFree", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_ParserCreate", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_SetElementHandler", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_SetUnknownEncodingHandler", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_GetErrorCode", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_SetDefaultHandler", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_Parse", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_GetCurrentLineNumber", referenced from:
>_StartCdataHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
>_CommentHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
>_TextHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
>_StartElementHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
>"_XML_ErrorString", referenced from:
>wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
> libwx_osx_cocoau-2.9.a(monolib_xml.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [eeschema/eeschema.app/Contents/MacOS/eeschema] Error 1
> make[1]: *** [eeschema/CMakeFiles/eeschema.dir/all] Error 2
> make: *** [all] Error 2
>   

http://www.xml.com/pub/a/1999/09/expat/index.html?page=3

suggests these are expat symbols that are missing. 

Theoretically:

expat would or could be used in 1) static or 2) dynamic form.  And if
used statically (1) it could be linked in either a) to the wxWidgets
library or to your b) application.

1)
  a)
  b)
2)



On my linux machine it is linked in dynamically,

$ ldd /usr/lib/libwx_baseu_xml-2.8.so.0.6.0
linux-vdso.so.1 =>  (0x7fff381ed000)
libz.so.1 => /lib/libz.so.1 (0x7fba8a1ee000)
libdl.so.2 => /lib/libdl.so.2 (0x7fba89fea000)
libwx_baseu-2.8.so.0 => /usr/lib/libwx_baseu-2.8.so.0
(0x7fba89c92000)
libexpat.so.1 => /lib/libexpat.so.1 (0x7fba89a69000)
libm.so.6 => /lib/libm.so.6 (0x7fba897e6000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7fba894d1000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7fba892ba000)
libpthread.so.0 => /lib/libpthread.so.0 (0x7fba8909d000)
libc.so.6 => /lib/libc.so.6 (0x7fba88d19000)
/lib64/ld-linux-x86-64.so.2 (0x7fba8a638000)

You can see the libexpat.so line.

and I have a package called expat installed:

$ dpkg -l | grep expat
ii  libexpat1 
2.0.1-7ubuntu1  XML parsing C library -
runtime library
ii  libexpat1-dev 
2.0.1-7ubuntu1  

[Kicad-developers] Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn

2010-08-11 Thread Jerry Jacobs

Dear all,

I tried compiling the latest revision of wxWidget and KiCad on my 
Macbook with Apple OS X and it failed on the XML library that Dick is 
using now. I recompiled again and the option to enable the XML library 
is the --enable-expat but still it fails. The weird thing is that there 
are some function symbols in the static monolithic library in the 
wxXmlDocument class. So that means it is enabled. Below there is my 
wxWidgets configuration of configure and the error I get during linking. 
Maybe some people have suggestions or ideas. The point is I want to test 
the latest stuff and need to compile it myself then.


Kind regards,
Jerry Jacobs
- http://www.xor-gate.org

./configure --enable-unicode=yes --enable-shared=no --enable-monolithic 
--with-opengl   --enable-universal_binary --enable-aui --enable-debug 
--with-osx_cocoa   --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk/ 
--prefix=/opt/wxwidgets/rev-65251 --enable-expat


Linking CXX executable eeschema.app/Contents/MacOS/eeschema
Undefined symbols:
  "_XML_SetCharacterDataHandler", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_SetCommentHandler", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_SetCdataSectionHandler", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_SetUserData", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_ParserFree", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_ParserCreate", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_SetElementHandler", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_SetUnknownEncodingHandler", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_GetErrorCode", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_SetDefaultHandler", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_Parse", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  "_XML_GetCurrentLineNumber", referenced from:
  _StartCdataHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

  _CommentHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
  _TextHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
  _StartElementHnd in libwx_osx_cocoau-2.9.a(monolib_xml.o)
  "_XML_ErrorString", referenced from:
  wxXmlDocument::Load(wxInputStream&, wxString const&, int)in 
libwx_osx_cocoau-2.9.a(monolib_xml.o)

ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [eeschema/eeschema.app/Contents/MacOS/eeschema] Error 1
make[1]: *** [eeschema/CMakeFiles/eeschema.dir/all] Error 2
make: *** [all] Error 2

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp