[Ace-users] [ace-users] ACE 5.3 Linking problem in VS2008

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Fri Feb 8 07:01:59 CST 2008


Hi Nikola,

The version of ACE you are using is ANCIENT!  Please upgrade to
ACE+TAO+CIAO x.6.2 (i.e., ACE 5.6.2, TAO 1.6.2, and CIAO 0.6.2), which
you can download from

http://download.dre.vanderbilt.edu

under the heading: "Latest Beta Kit."

The DOC groups at Washington University, UC Irvine, and Vanderbilt
University only provide "best effort" support for non-sponsors for the
latest release, as described in

http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html

Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out

http://www.dre.vanderbilt.edu/support.html

for a list of companies that will provide you with ACE+TAO commercial
support.

Thanks,

        Doug


>I am porting some components to VS2008 (originally VS6). In VS6 the
>compiling and building went without any problems. However in VS2008 i
>have some linking problems (a lot of them):
>
>Error	3	error LNK2001: unresolved external symbol
>"__declspec(dllimport) public: __thiscall
>ACE_String_Base<char>::~ACE_String_Base<char>(void)" (__imp_??1?
>$ACE_String_Base at D@@QAE at XZ)	ID.obj	Data
>Error	4	error LNK2001: unresolved external symbol
>"__declspec(dllimport) public: __thiscall
>ACE_String_Base<char>::~ACE_String_Base<char>(void)" (__imp_??1?
>$ACE_String_Base at D@@QAE at XZ)	StringSet.obj	Data
>Error	5	error LNK2001: unresolved external symbol
>"__declspec(dllimport) public: __thiscall
>ACE_String_Base<char>::~ACE_String_Base<char>(void)" (__imp_??1?
>$ACE_String_Base at D@@QAE at XZ)	SystemException.obj	Data
>..................
>...(and so)...
>..................
>I cannot find what the problems are. One of my assumption is maybe
>that in the ACE interface there are some definitions of type
>  static ssize_t t_rcv (ACE_HANDLE handle,
>                        void *buf,
>                        size_t len,
>                        int *flags,
>                        const ACE_Time_Value *timeout = 0);
>
>and i have read that the default values of function parameters that
>are pointers are not allowed in the newer compilers (the one that
>VS2005 and later has)... However it is only my assumption.
>
>Anyone has a solution for this ?!?!?
>
>Thank you in advance,
>Nikola


-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list