ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ObjectARX 2007 unresolved external symbol _container_base

6 REPLIES 6
Reply
Message 1 of 7
fuochi
343 Views, 6 Replies

ObjectARX 2007 unresolved external symbol _container_base

hello,

I have an ARX project which I link with the ObjectArx 2007 beta 3.

when linking, the compiler VS.net 2005, send me the following errors messages :

I have tried to link with all the lib files, but I don't have any solution.

Thanks for your help.

Output debug window :

1>DocData.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) referenced in function "public: __thiscall std::_Tmap_traits,class std::allocator >,0>::~_Tmap_traits,class std::allocator >,0>(void)" (??1?$_Tmap_traits@PAVAcApDocument@@VCDocData@@U?$less@PAVAcApDocument@@@std@@V?$allocator@U?$pair@QAVAcApDocument@@VCDocData@@@std@@@4@$0A@@std@@QAE@XZ)

1>DocData.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (__imp_?_Debug_message@std@@YAXPB_W0I@Z) referenced in function "public: class std::_Tree,class std::allocator >,0> >::iterator __thiscall std::_Tree,class std::allocator >,0> >::erase(class std::_Tree,class std::allocator >,0> >::iterator)" (?erase@?$_Tree@V?$_Tmap_traits@PAVAcApDocument@@VCDocData@@U?$less@PAVAcApDocument@@@std@@V?$allocator@U?$pair@QAVAcApDocument@@VCDocData@@@std@@@4@$0A@@std@@@std@@QAE?AViterator@12@V312@@Z)
6 REPLIES 6
Message 2 of 7
Anonymous
in reply to: fuochi

Hi,

if it is a strait port from VS2002 to VS2005, make sure to recompile the
precompiled header. Best would be to clean the Debug/Release folders and all
temporary compiler files (.ncb, etc.. ) before migrating.

cheers
cyrille
Message 3 of 7
fuochi
in reply to: fuochi

Hi,

yes it's part of a migration to Unicode. The project build was totally clean, no debug or release folder. The stdafx was recompiled.

thanks for any help!

Cedric
Message 4 of 7
Arrowstick
in reply to: fuochi

If it's a Debug Build try to #undef _DEBUG before you include the standard headers.
I had a similar problem, which was solved in this way...
Message 5 of 7
fuochi
in reply to: fuochi

thanks for your reply, but I have already do it, I don't use _DEBUG preprocessor.

any other suggestions ?
Message 6 of 7
Anonymous
in reply to: fuochi

try this:

in your *.def file append the extension:

i.e. LIBRARY "CCNCBecadListenUI.arx"

set your preprocessor definition to:

for release (if you use MFC):

WIN32
_WINDOWS
NDEBUG
_BECADLISTENUI_ (your projectname)
_AFXEXT
_ACRXAPP (_DBXAPP if it is an DBX)

for debug (if you use MFC):

WIN32
_WINDOWS
_BECADLISTENUI_ (your projectname)
_AFXEXT
_ACRXAPP (_DBXAPP if it is an DBX)

Bernd

CAD Neubauer & Cuder OEG
www.cad-co.at
Message 7 of 7
fuochi
in reply to: fuochi

Found solution :
remove all libraries in the project properties under [Linker/Input/Ignore Specific Library] or modify the library's name that correspond to the unicode version of the library.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost