Skip to main content
gamedev.net
🔒 Locked

weird error

Started by BloodLust666 Jun 18, 2006 at 2:22 PM 5 replies 2k views
Original Post
BloodLust666
BloodLust666
i've seen an error like this before.. Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWFigure): (0x02000041). what does that mean? and how do i fix it?
-------------------------Unless specified otherwise, my questions pertain:Windows Platform (with the mindset to keep things multi-platform as possible)C++Visual Studio 2008OpenGL with SFML
Stani R
Stani R
Did you define Wrath2D.cWFigure twice in your code?
BloodLust666
BloodLust666
no, that's the weird thing. I have had this project for a long time and i just reinstalled windows and everything on my computer and when i tried to work with it again i get that error. btw, it's not a managed c++ project or anything so i don't know y it would be "wrath2d.cwfigure"
-------------------------Unless specified otherwise, my questions pertain:Windows Platform (with the mindset to keep things multi-platform as possible)C++Visual Studio 2008OpenGL with SFML
BloodLust666
BloodLust666
how do i restore the default configurations in the project properties? i was screwing around with the settings, because i don't know what i'm doing and can't find the answer, and now there's tons of errors...
-------------------------Unless specified otherwise, my questions pertain:Windows Platform (with the mindset to keep things multi-platform as possible)C++Visual Studio 2008OpenGL with SFML
BloodLust666
BloodLust666
I changed a LOT of things around to see if maybe it was a compiling error and now that i have all the errors back to none, i'm still getting those weird errors, even with all my objects.

Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (cWForce): (0x0200003d).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (cWForce): (0x0200003d).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWArc): (0x02000045).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWCamera): (0x02000055).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWCircle): (0x02000043).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWEllipse): (0x02000046).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWEmitter): (0x0200004a).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWEmitter): (0x02000052).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWEntity): (0x0200004b).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWFigure): (0x02000041).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWGraphics): (0x02000056).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWLine): (0x02000042).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWPolygon): (0x02000048).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWRectangle): (0x02000047).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWText): (0x0200004d).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWText): (0x02000050).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWTextureLayer): (0x02000050).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWTextureLayer): (0x02000054).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWTextureSprite): (0x0200004e).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.cWTextureSprite): (0x02000052).
Drawing error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (Wrath2D.sWEmitterDef): (0x02000049).

edit: well, not all of them, i have a lot more than those, but those are objects that are in headers that i need to include in more than one other header in my engine, i'm pretty sure that has somethign to do with it... anyway to get past that? also, at the beginning of every header i'm doing #ifndef __HEADERNAME__ so it only compiles once but i don't know why i'm gettin these errors.
-------------------------Unless specified otherwise, my questions pertain:Windows Platform (with the mindset to keep things multi-platform as possible)C++Visual Studio 2008OpenGL with SFML
BloodLust666
BloodLust666
??
-------------------------Unless specified otherwise, my questions pertain:Windows Platform (with the mindset to keep things multi-platform as possible)C++Visual Studio 2008OpenGL with SFML
BloodLust666
BloodLust666
is anyone familiar with this error?? and know how to fix it?
-------------------------Unless specified otherwise, my questions pertain:Windows Platform (with the mindset to keep things multi-platform as possible)C++Visual Studio 2008OpenGL with SFML

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.