카테고리 없음

opnet에서 컴파일 할 때 identifier not found 에러

수학말이 2019. 5. 17. 14:37

C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(17792) : error C3861: '__stosb': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(19765) : error C3861: '__readgsqword': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(19776) : error C3861: '__readgsqword': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8828) : error C3861: '_InterlockedIncrement': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8837) : error C3861: '_InterlockedIncrement': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8848) : error C3861: '_InterlockedIncrement64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8859) : error C3861: '_InterlockedDecrement': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8868) : error C3861: '_InterlockedDecrement': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8879) : error C3861: '_InterlockedDecrement64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8893) : error C3861: '_InterlockedExchange': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8903) : error C3861: '_InterlockedExchange': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8915) : error C3861: '_InterlockedExchange64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8927) : error C3861: '_InterlockedExchangeAdd': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8937) : error C3861: '_InterlockedExchangeAdd': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8947) : error C3861: '_InterlockedExchangeAdd': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8957) : error C3861: '_InterlockedExchangeAdd': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8969) : error C3861: '_InterlockedExchangeAdd64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8979) : error C3861: '_InterlockedExchangeAdd64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8992) : error C3861: '_InterlockedCompareExchange': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(9003) : error C3861: '_InterlockedCompareExchange': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(9016) : error C3861: '_InterlockedCompareExchange64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(9026) : error C3861: '_InterlockedAnd64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(9036) : error C3861: '_InterlockedOr64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(9046) : error C3861: '_InterlockedXor64': identifier not found

 

보통 이런 경우 컴파일을 develop 32bit로 해서 계속 에러가 뜨는 것 같은데, 64bit로 컴파일하니까 done이 된것을 확인하였습니다

 

컴파일 할때 process model에서 compile->compile code(advanced) 들어가 64비트로 컴파일하면 실행되는것을 확인할 수 있습니다