Crise

Compiling ApexDC++

183 posts in this topic

Getting the same errors here (except the fact that they're in english). Though I don't think they're related to version.h since mine was generated properly. Maybe some bad includes :-?

They aren't you need Windows 7 SDK for the time being to compile ApexDC++.

Anyone still having issue generating version.h, just put your code in an svn repository and you are all set... and there are countless of ways to get one.

Share this post


Link to post
Share on other sites

They aren't you need Windows 7 SDK for the time being to compile ApexDC++.

Thanks, all is good.

Share this post


Link to post
Share on other sites

May can I use the Visual Studio 2010 to Compile the ApexDC++?

There r a lot of mistakes during the making...

Share this post


Link to post
Share on other sites

Can someone help me?

Why wont compile ApexDC on x64 (Release) ?

The compiler/linker gives the following errors:

Warnung 1 warning C4702: Unerreichbarer Code g:\git.stlport\mainline\stlport\stl\_algobase.c 267 MakeDefs

Fehler 2 error LNK2001: Nicht aufgelöstes externes Symbol ""private: static void __cdecl stlp_std::__node_alloc::_M_deallocate(void *,unsigned __int64)" (?_M_deallocate@__node_alloc@stlp_std@@CAXPEAX_K@Z)". ADLSearchFrame.obj StrongDC

Fehler 3 error LNK2001: Nicht aufgelöstes externes Symbol ""void __cdecl stlp_std::__stl_throw_length_error(char const *)" (?__stl_throw_length_error@stlp_std@@YAXPEBD@Z)". ADLSearchFrame.obj StrongDC

Fehler 4 error LNK2001: Nicht aufgelöstes externes Symbol ""private: static void * __cdecl stlp_std::__node_alloc::_M_allocate(unsigned __int64 &)" (?_M_allocate@__node_alloc@stlp_std@@CAPEAXAEA_K@Z)". ADLSearchFrame.obj StrongDC

Fehler 5 error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual char const * __cdecl stlp_std::__Named_exception::what(void)const " (?what@__Named_exception@stlp_std@@UEBAPEBDXZ)". ADLSearchFrame.obj StrongDC

Fehler 6 error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual __cdecl stlp_std::__Named_exception::~__Named_exception(void)" (??1__Named_exception@stlp_std@@UEAA@XZ)". ADLSearchFrame.obj StrongDC

Fehler 7 error LNK2001: Nicht aufgelöstes externes Symbol ""public: __cdecl stlp_std::__Named_exception::__Named_exception(class stlp_std::basic_string<char,class stlp_std::char_traits<char>,class stlp_std::allocator<char> > const &)" (??0__Named_exception@stlp_std@@QEAA@AEBV?$basic_string@DV?$char_traits@D@stlp_std@@V?$allocator@D@2@@1@@Z)". ADLSearchFrame.obj StrongDC

Fehler 8 error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual __cdecl stlp_std::runtime_error::~runtime_error(void)" (??1runtime_error@stlp_std@@UEAA@XZ)". ADLSearchFrame.obj StrongDC

Fehler 9 error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual __cdecl stlp_std::logic_error::~logic_error(void)" (??1logic_error@stlp_std@@UEAA@XZ)". ADLSearchFrame.obj StrongDC

Fehler 10 error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual __cdecl stlp_std::out_of_range::~out_of_range(void)" (??1out_of_range@stlp_std@@UEAA@XZ)". ADLSearchFrame.obj StrongDC

Fehler 11 error LNK2001: Nicht aufgelöstes externes Symbol ""public: __cdecl stlp_std::__Named_exception::__Named_exception(class stlp_std::__Named_exception const &)" (??0__Named_exception@stlp_std@@QEAA@AEBV01@@Z)". ADLSearchFrame.obj StrongDC

Fehler 12 error LNK2001: Nicht aufgelöstes externes Symbol ""public: static unsigned __int64 __cdecl stlp_std::priv::_Stl_prime<bool>::_S_next_size(unsigned __int64)" (?_S_next_size@?$_Stl_prime@_N@priv@stlp_std@@SA_K_K@Z)". ADLSearchFrame.obj StrongDC

Fehler 13 error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual __cdecl stlp_std::invalid_argument::~invalid_argument(void)" (??1invalid_argument@stlp_std@@UEAA@XZ)". ADLSProperties.obj StrongDC

Fehler 14 error LNK2001: Nicht aufgelöstes externes Symbol ""void __cdecl stlp_std::__stl_throw_out_of_range(char const *)" (?__stl_throw_out_of_range@stlp_std@@YAXPEBD@Z)". ADLSProperties.obj StrongDC

Fehler 15 error LNK2001: Nicht aufgelöstes externes Symbol ""public: static void __cdecl stlp_std::priv::_Sl_global<bool>::__splice_after(struct stlp_std::priv::_Slist_node_base *,struct stlp_std::priv::_Slist_node_base *,struct stlp_std::priv::_Slist_node_base *)" (?__splice_after@?$_Sl_global@_N@priv@stlp_std@@SAXPEAU_Slist_node_base@23@00@Z)". ADLSProperties.obj StrongDC

Fehler 16 error LNK2001: Nicht aufgelöstes externes Symbol ""public: static struct stlp_std::priv::_Slist_node_base * __cdecl stlp_std::priv::_Sl_global<bool>::__previous(struct stlp_std::priv::_Slist_node_base *,struct stlp_std::priv::_Slist_node_base const *)" (?__previous@?$_Sl_global@_N@priv@stlp_std@@SAPEAU_Slist_node_base@23@PEAU423@PEBU423@@Z)". ADLSProperties.obj StrongDC

Fehler 17 error LNK2001: Nicht aufgelöstes externes Symbol ""public: static void __cdecl stlp_std::priv::_Sl_global<bool>::__splice_after(struct stlp_std::priv::_Slist_node_base *,struct stlp_std::priv::_Slist_node_base *)" (?__splice_after@?$_Sl_global@_N@priv@stlp_std@@SAXPEAU_Slist_node_base@23@0@Z)". ADLSProperties.obj StrongDC

Fehler 18 error LNK2001: Nicht aufgelöstes externes Symbol ""public: static struct stlp_std::priv::_Rb_tree_node_base * __cdecl stlp_std::priv::_Rb_global<bool>::_M_increment(struct stlp_std::priv::_Rb_tree_node_base *)" (?_M_increment@?$_Rb_global@_N@priv@stlp_std@@SAPEAU_Rb_tree_node_base@23@PEAU423@@Z)". DirectoryListingFrm.obj StrongDC

Fehler 19 error LNK2001: Nicht aufgelöstes externes Symbol ""public: static struct stlp_std::priv::_Rb_tree_node_base * __cdecl stlp_std::priv::_Rb_global<bool>::_Rebalance_for_erase(struct stlp_std::priv::_Rb_tree_node_base *,struct stlp_std::priv::_Rb_tree_node_base * &,struct stlp_std::priv::_Rb_tree_node_base * &,struct stlp_std::priv::_Rb_tree_node_base * &)" (?_Rebalance_for_erase@?$_Rb_global@_N@priv@stlp_std@@SAPEAU_Rb_tree_node_base@23@PEAU423@AEAPEAU423@11@Z)". DirectoryListingFrm.obj StrongDC

Fehler 20 error LNK2001: Nicht aufgelöstes externes Symbol ""public: static struct stlp_std::priv::_Rb_tree_node_base * __cdecl stlp_std::priv::_Rb_global<bool>::_M_decrement(struct stlp_std::priv::_Rb_tree_node_base *)" (?_M_decrement@?$_Rb_global@_N@priv@stlp_std@@SAPEAU_Rb_tree_node_base@23@PEAU423@@Z)". DirectoryListingFrm.obj StrongDC

Fehler 21 error LNK2001: Nicht aufgelöstes externes Symbol ""public: static void __cdecl stlp_std::priv::_Rb_global<bool>::_Rebalance(struct stlp_std::priv::_Rb_tree_node_base *,struct stlp_std::priv::_Rb_tree_node_base * &)" (?_Rebalance@?$_Rb_global@_N@priv@stlp_std@@SAXPEAU_Rb_tree_node_base@23@AEAPEAU423@@Z)". DirectoryListingFrm.obj StrongDC

Fehler 22 error LNK2001: Nicht aufgelöstes externes Symbol ""public: static void __cdecl stlp_std::priv::_List_global<bool>::_Transfer(struct stlp_std::priv::_List_node_base *,struct stlp_std::priv::_List_node_base *,struct stlp_std::priv::_List_node_base *)" (?_Transfer@?$_List_global@_N@priv@stlp_std@@SAXPEAU_List_node_base@23@00@Z)". boost.lib StrongDC

The x32 release works without any errors.

Any settings in Visual Studio or libs are needed ?

My config:

Win7 64 bit

VS2008

Win7 SDK

Thx for Replys

Share this post


Link to post
Share on other sites

Thanks, I finally made it work after hours of hacking.

I don't understand why the source code of ApexDC (and StrongDC and DC++ for that matter) isn't simply distributed WITH STLPort and WTL, instead of this nonsense that requires hours of downloading and building plus obscure hacks to make it compile. Each release of ApexDC requires specific versions of these libraries anyway.

Or perhaps it's just C++ that's a horrible mess...

that is exactly what i thought while reading this thread and getting several errors with VC2003, 2005 and now, 2008. Tried different versions of STLport, complied with msvc8 and 9, downloaded WTL and the whole stuff more then once a time, installed all the SDKs allegedly needed. Still getting errors. Can someone write something like an up to date howto? or upload working versions of stlport while the team does not?

Share this post


Link to post
Share on other sites

Hi everybody. Than it is now best of all to collect new versions? Visual Studio 2012 or only Visual Studio 2008?

Share this post


Link to post
Share on other sites

For all the recent replies: this topic has not been updated in ages, until now.

 

I attached a simple text file to the first post of the topic which outlines the current process someone besides us can use to compile ApexDC.

Share this post


Link to post
Share on other sites