- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I am trying to update a working C++ and Fortran solution from Visual Studio 2010 to 2013. When updated, the Win64 platform builds regularly but Win32 gives the following errors:
error LNK2005: __CIpow already defined in libmmt.lib(pow_stub.obj)
error LNK2005: _pow already defined in libmmt.lib(pow_stub.obj)
fatal error LNK1169: one or more multiply defined symbols found
Using Visual Studio 2010 the project builds on both Win32 and Win64 perfectly. Only after updating to VS 2013 does the Win32 give errors.
I have no idea of what I can do to fix this. Any help is much appreciated.
링크가 복사됨
1 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
If you had showed where the linker reported finding the routines first (one of the VC or Intel libraries, probably libmmd.lib) we would have a clue to how duplicate symbols were encountered. Such problems are usually caused by explicitly specifying libraries, which get added to the list of libraries implicitly used by the compiler driver.
