Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207'

Author
Message
Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 1st Jan 2010 12:06
I get this error when I try to compile any one of the samples that came with the DarkGDK version of Dark Physics. I've installed all the updates but no look so far. Any ideas?

I'm using VS C++ 2008 if thats any help.

OldPMan
TGC Store Seller
16
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 26th Jan 2010 20:10
I have the same problem........

fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207'
LINK : fatal error LNK1257: code generation failed

.....already beside..... for all
OldPMan
TGC Store Seller
16
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 31st Jan 2010 19:39
but what is it what it was all put all the updates what it was.
Well help please

.....already beside..... for all
david w
18
Years of Service
User Offline
Joined: 18th Dec 2005
Location: U.S.A. Michigan
Posted: 31st Jan 2010 23:58 Edited at: 1st Feb 2010 00:04
You need to install the service pack for visual studio.

http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en

EDIT: It all depends if the version of DGK was built with or without the service pack installed when they built the libs.

If you have VC++(+sp1), and they built GDK without sp1 then this message will be thrown. Additionally if they built GDK with VC++(+sp1) and your running just VC++, then this message will also be thrown.
OldPMan
TGC Store Seller
16
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 1st Feb 2010 09:03
this update is not installed on the product Express
I'm using Visual Studio 2008 express edition

.....already beside..... for all
david w
18
Years of Service
User Offline
Joined: 18th Dec 2005
Location: U.S.A. Michigan
Posted: 1st Feb 2010 11:28 Edited at: 1st Feb 2010 11:38
Maybe I am misunderstanding the error message, but from what I know I thought it had to do with libs being built with different versions of VC++ with a linker flag that was set differently. Maybe you can look at your linker flags and change the one that causes the error. I believe it is caused by mixing service pack componets when creating static libs and dll's.

You can try to take out the /GL switch and that might cure your problem.

You might have to un-install VC++ and re-install it. The download on Microsofts site might have been built with the latest fixes or code included.

p1 is pass1 and p2 is pass2 when it compiles, it is saying that there is a data version mismatch between the passes. Therefore it can't generate the compiled code.

Without knowing more about how TGC built GDK I can't really say.
OldPMan
TGC Store Seller
16
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 1st Feb 2010 12:13
I'm just a beginner in C + + and do not know what the / GL switch but the error messages I have seen this / GL switch will tell you I do not like it off.
Thanks for your reply

.....already beside..... for all
david w
18
Years of Service
User Offline
Joined: 18th Dec 2005
Location: U.S.A. Michigan
Posted: 1st Feb 2010 12:26
Did it compile with the /GL off? If not have you tried my other suggestions?

You should build with /GL its just that TGC probably made their .dll or static libs with the /GL switch also, and that is what is causing the problem. I doubt your's would build even if you swithed the /GL switch off. You need to either update if possible. Re-install/revert to the VC++ version that TGC built GDK with. Or try to download and install VC++ fresh.

You basically need to match your version of VC++ up with the version TGC build GDK with.
OldPMan
TGC Store Seller
16
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 1st Feb 2010 12:40
Thanks I learned.

.....already beside..... for all

Login to post a reply

Server time is: 2024-11-20 05:24:29
Your offset time is: 2024-11-20 05:24:29