[omniORB] x86 and x64

Duncan Grisby duncan at grisby.org
Tue Feb 21 10:28:16 GMT 2017


On Tue, 2017-02-14 at 19:46 +0000, Olivier Thiboutot wrote:

> LINK : error LNK2001: unresolved external symbol _mainCRTStartup
> C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\LIB\amd64\MSVCRT.lib : warning LNK4272: library machine type
> 'x64' conflicts with target machine type 'X86'

It is trying to link code compiled for x86 with the x64 C runtime
library. That means all its paths are confused. If you ran the suitable
Visual Studio Command Prompt shortcut, I don't know why that would be.

Which command prompt did you run?  What are the environment variables
set in it?

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --




More information about the omniORB-list mailing list