Jump to content

Compile client source on vs2012 error


Recommended Posts

  • Premium

hey all

i'd faced a strange error while compiling client source on vs 2012

this is the error

Spoiler

 error C1083: Cannot open include file: 'initializer_list': No such file or directory    E:\Beta3\Source\Client Source\Extern\include\boost\unordered\unordered_map.hpp    27

 

I can compile it on vs 2013 but on Win7 the only version of vs which is working is 2012 not 2013

so any idea how to fix ?

Link to comment
Share on other sites

  • Replies 12
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Premium

boost problem fixed but there is another error

 

Spoiler

Error    359    error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1700' in AffectFlagContainer.obj    D:\Client Source\Lite Source\Backup\Client\UserInterface\cryptlib-5.6.1MT.lib(cryptlib.obj)

 

 

Link to comment
Share on other sites

1 hour ago, Mano said:

boost problem fixed but there is another error

 

  Hide contents

Error    359    error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1700' in AffectFlagContainer.obj    D:\Client Source\Lite Source\Backup\Client\UserInterface\cryptlib-5.6.1MT.lib(cryptlib.obj)

 

 

Your boost libraries are built for another VS version. You can fix this error by replacing your current boost libraries with the ones compiled for your VS version.

Link to comment
Share on other sites

  • Premium
1 hour ago, Jodie said:

Just look at UserInterface.cpp and find 'python2.lib' with 'python27.lib' if you're using python 2.7. 'python22.lib' if you don't.

- Jodie

i tried what you said

i changed

Spoiler

#pragma comment( lib, "python2.lib" )

with

Spoiler

#pragma comment( lib, "python27.lib" )

and still have the same problem

Spoiler

Error    13    error LNK1104: cannot open file 'python2.lib'    D:\Client Source\Lite Source\Backup\Client\UserInterface\LINK

 

Link to comment
Share on other sites

  • Premium
On 11.07.2016 at 2:49 AM, Mano said:

boost problem fixed but there is another error

 

  Hide contents

Error    359    error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1700' in AffectFlagContainer.obj    D:\Client Source\Lite Source\Backup\Client\UserInterface\cryptlib-5.6.1MT.lib(cryptlib.obj)

 

 

You need to recompile cryptopp libraries(Released/Debug) with your Visual Studio version.

You can find cryptopp in Extern folder.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.