Makedefs
Moderator: Moderators
-
joakim_tosteberg
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 07:38
- Location: Sweden, Linkoping
Makedefs
I have compiled dc++ 0.261 and it says that the makedefs is skipped in the selected solution, but it works without problem. So what is the makedefs project good for?
-
joakim_tosteberg
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 07:38
- Location: Sweden, Linkoping
And if I tries to compile it with makedefs selected I get errors in makedefs:
------ Rebuild All started: Project: MakeDefs, Configuration: Debug Win32 ------
Deleting intermediate files and output files for project 'MakeDefs', configuration 'Debug|Win32'.
Compiling...
Util.cpp
StringDefs.cpp
StdAfx.cpp
SimpleXML.cpp
c:\program files\dc - sources + include\dc++ source\dcplusplus-0.261-src\client\simplexml.cpp(83) : warning C4702: unreachable code
ResourceManager.cpp
MakeDefs.cpp
c:\Program Files\DC - sources + include\DC++ source\DCPlusPlus-0.261-src\MakeDefs\MakeDefs.cpp(85) : warning C4189: 'a' : local variable is initialized but not referenced
Linking...
MakeDefs.obj : error LNK2019: unresolved external symbol "public: __thiscall StringTokenizer::StringTokenizer(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &,char)" (??0StringTokenizer@@QAE@ABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@D@Z) referenced in function _main
..\vc7\Debug\MakeDefs/MakeDefs.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Program Files\DC - sources + include\DC++ source\DCPlusPlus-0.261-src\vc7\Debug\MakeDefs\BuildLog.htm"
MakeDefs - 2 error(s), 2 warning(s)
------ Rebuild All started: Project: MakeDefs, Configuration: Debug Win32 ------
Deleting intermediate files and output files for project 'MakeDefs', configuration 'Debug|Win32'.
Compiling...
Util.cpp
StringDefs.cpp
StdAfx.cpp
SimpleXML.cpp
c:\program files\dc - sources + include\dc++ source\dcplusplus-0.261-src\client\simplexml.cpp(83) : warning C4702: unreachable code
ResourceManager.cpp
MakeDefs.cpp
c:\Program Files\DC - sources + include\DC++ source\DCPlusPlus-0.261-src\MakeDefs\MakeDefs.cpp(85) : warning C4189: 'a' : local variable is initialized but not referenced
Linking...
MakeDefs.obj : error LNK2019: unresolved external symbol "public: __thiscall StringTokenizer::StringTokenizer(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &,char)" (??0StringTokenizer@@QAE@ABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@D@Z) referenced in function _main
..\vc7\Debug\MakeDefs/MakeDefs.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Program Files\DC - sources + include\DC++ source\DCPlusPlus-0.261-src\vc7\Debug\MakeDefs\BuildLog.htm"
MakeDefs - 2 error(s), 2 warning(s)
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Re: Makedefs
joakim_tosteberg wrote:So what is the makedefs project good for?
It's good for generating the Example.xml files that the language translators use as a basis for their translation.
To fix the problems, I think you just have to include StringTokenizer.cpp/h from the client\ directory in the makedefs project.
-
joakim_tosteberg
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 07:38
- Location: Sweden, Linkoping
Who is online
Users browsing this forum: Google [Bot] and 0 guests