|
From: | Liu, Cheng |
Subject: | [Help-glpk] glpk in VC7 |
Date: | Thu, 22 Jul 2004 21:11:03 +0400 |
Hi, Does anyone compile glpk 4.5 in VC7? I got the following error messages. glpk error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (dsa): (0x02000004). glpk error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (dsa): (0x02000015). glpk error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (dsa): (0x02000051). glpk error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (load_info): (0x0200000a). glpk error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (LPX): (0x02000002). glpk error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (LPX): (0x02000002). glpk error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (LPX): (0x02000002). glpk fatal error LNK1255: link failed because of metadata errors The errors were caused by different definition of struct. For example structdsa is defined differently in glplpx8a.c, glpmps.c, and glptsp.c. I managed to solve the problem by changing structdsa to structdsa1 and struct dsa2 in different files and did the same thing for structload_info. However, I don #8217;t know how to solve this problem for struct LPX. Thanks advance for any help, Cheng Liu
Hi, Does anyone compile glpk 4.5 in
VC7? I got the following error
messages. glpk error
LNK2022: metadata operation failed (8013118D) : Inconsistent layout information
in duplicated types (dsa): (0x02000004). glpk error
LNK2022: metadata operation failed (8013118D) : Inconsistent layout information
in duplicated types (dsa): (0x02000015). glpk error
LNK2022: metadata operation failed (8013118D) : Inconsistent layout information
in duplicated types (dsa): (0x02000051). glpk error
LNK2022: metadata operation failed (8013118D) : Inconsistent layout information
in duplicated types (load_info): (0x0200000a). glpk error
LNK2022: metadata operation failed (8013118D) : Inconsistent layout information
in duplicated types (LPX): (0x02000002). glpk error
LNK2022: metadata operation failed (8013118D) : Inconsistent layout information
in duplicated types (LPX): (0x02000002). glpk error
LNK2022: metadata operation failed (8013118D) : Inconsistent layout information
in duplicated types (LPX): (0x02000002). glpk fatal error
LNK1255: link failed because of metadata errors The errors were caused by different definition of struct. For
example struct dsa is defined differently in glplpx8a.c, glpmps.c, and glptsp.c. I managed to solve the problem by changing struct dsa to struct
dsa1 and struct dsa2 in different files and did the
same thing for struct load_info. However, I don’t know how to solve
this problem for struct LPX. Thanks advance for any help, Cheng Liu |
[Prev in Thread] | Current Thread | [Next in Thread] |