User forums > Help

Error while make wxsfontproperty.cpp

(1/2) > >>

bugmenot:
i can't install codeblocks from svn because of this err:


--- Code: ---./wxsfontproperty.cpp: In member function ‘wxString wxsFontData::BuildFontCode(const wxString&, wxsCoderContext*)’:
./wxsfontproperty.cpp:235: error: call of overloaded ‘DoubleToString(double&)’ is ambiguous
/usr/include/wx-2.8/wx/utils.h:304: note: candidates are: wxChar* DoubleToString(double, const wxChar*)
./wxsfontproperty.cpp:37: note:                 wxString<unnamed>::DoubleToString(double)
./wxsfontproperty.cpp: In member function ‘virtual bool wxsFontProperty::XmlWrite(wxsPropertyContainer*, TiXmlElement*)’:
./wxsfontproperty.cpp:450: error: call of overloaded ‘DoubleToString(double&)’ is ambiguous
/usr/include/wx-2.8/wx/utils.h:304: note: candidates are: wxChar* DoubleToString(double, const wxChar*)
./wxsfontproperty.cpp:37: note:                 wxString<unnamed>::DoubleToString(double)
make[6]: *** [wxsfontproperty.lo] Error 1
make[6]: Leaving directory `/opt/codeblocks/src/plugins/contrib/wxSmith/wxwidgets/properties'
make[5]: *** [install-recursive] Error 1
make[5]: Leaving directory `/opt/codeblocks/src/plugins/contrib/wxSmith/wxwidgets'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/opt/codeblocks/src/plugins/contrib/wxSmith'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/opt/codeblocks/src/plugins/contrib'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/opt/codeblocks/src/plugins'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/opt/codeblocks/src'
make: *** [install-recursive] Error 1
--- End code ---

Can someone help me pls (:

PC: Fedora 10 (x86_64), wxGTK 2.8.9 (from repos.)

MortenMacFly:

--- Quote from: bugmenot on November 29, 2008, 05:36:25 pm ---i can't install codeblocks from svn because of this err:

--- End quote ---
Probably you have an wxPropertyGrid from the wx repos? This lib is included to wx for some time now. But it's not compatible with the one wxSmith uses. Please make sure you do not have a conflicting wxPropertyGrid in one of your include path's. Alternatively make sure that the C::B SVN wxPropertyGrid is the one used at first.

dannyyy:
Morten, unfortunately I'm having the same problem while building CodeBlocks SVN 5399, using the 32 bit version of Fedora 10.

I don't know if there is a wxPropertyGrid already installed on the system, but I believe not, because I can't find any reference about it...no includes, no libs, no RPMs, etc.

Can you (or someone else) give me a clue how to fix this ?

Thanks !

SharkCZ:
The problem is a conflict between DoubleToString from wxWidgets (with 2.4 compatibility enabled) and the C::B (or rather wxSmith) internal version. See https://developer.berlios.de/bugs/?func=detailbug&bug_id=15075&group_id=5358 for a fix.

dannyyy:
A big THANK YOU for SharkCZ and Biplab for fixing this problem ! Oh, I mean, I will start compiling it now and have not tested it yet, but I trust you guys...  :D

P.S.: Is MortenMacFly on vacation, or he just ignored my help request ?  :lol: (just kidding)

Navigation

[0] Message Index

[#] Next page

Go to full version