Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unresolved external Symbol Xran Xlen

Status
Not open for further replies.

Iceman2005

Programmer
May 6, 2005
22
US
hi i am porting a project from vc6 to vc7.
it compiles perfectly in vc6... (both debug/release)

and when i port to vc7 and compile...
it worked on debug....

but in release... i am getting unresolved external systrems for xlen/xran... can anyone help me get it to compile in vc7?

useapi error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xran(void)" (__imp_?_Xran@std@@YAXXZ)

.....



thanks
755

 
Check that the project import worked correctly?

On the face of it, it seems that the release build isn't seeing the additional libraries which the debug build is seeing.

Is Xran one of your functions, a function from someone else or a standard function?

--
 
You probably need to include <vector> somewhere in your source code.
 
If you are still getting the error check the order of your includes and what files your program is including. You can get a list of includes from Properties/Configuration Properties/C++/Advanced/Show Includes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top