profile
Keep Building

how to resolve Error C2440 'initializing': cannot convert from '_Ty' to '_Objty'

This issue is on these lines: Here temp is of type vector, but subsetsa and subsetsb are of type vector>. Since the value types are int and vector respectively, they don't match, and so this doesn't ...

2023년 6월 30일
·
0개의 댓글
·
post-thumbnail

컴파일 링크 에러 LNK2019

Release x64 에서 컴파일은 잘 되지만, Debug x64 에서 컴파일하면 아래와 같은 오류 메시지가 나온다. 위 그림처럼 Debug 모드로 컴파일할때는 '다중스레드디버그' 또는 '다중 스레드 디버그 DLL' 을 선택해야 한다. 참고로, Release 모드에서는 '다중스레드DLL' 과 '다중스레드디버그DLL' 어느것을 선택하던 컴파일 오류는 ...

2023년 6월 13일
·
0개의 댓글
·

__acrt_first_block == header

STL을 사용하고 난 이후에 발생 해결법 DLL2와 테스트하는 프로그램 둘 다 아래처럼 설정한다. 프로젝트 속성 > C/C++ > 코드 생성 > 런타임 라이브러리 Debug일 경우, 다중 스레드 디버그 DLL(/MDd) Release일 경우, 다중 스레드 DLL(/MD) 아래의 참고 링크가 더 정확하지만 간단히 하면, MT와 MD는 heap 메모...

2023년 5월 22일
·
0개의 댓글
·