|
Unresolved external ' 함수명 'referenced from ......
위와 같이 에러가 발생하여 도움말을 보면
Unresolved external symbol referenced from module
The named symbol is referenced in the given module but is not defined anywhere in the set of object files and libraries included in the link. Check to make sure the symbol is spelled correctly.
You will usually see this error from the linker for C or C++ symbols if any of the following occur:
You did not properly match a symbol뭩 declarations of __pascal and __cdecl types in different source files.
You have omitted the name of an .OBJ file your program needs.
You did not link in the emulation library.
If you are linking C++ code with C modules, you might have forgotten to wrap C external declarations in extern 밅?
You could also have a case mismatch between two symbols.
위와 같이 나옵니다.
헤더파일에서
extern "c"을 사용하여 c++이나 볼랜드를 사용할 경우와 아닌경우
두개의 함수를 분리해 놓았는데..
Visual c에서 링크해서 컴파일하면 에러가 안나는데
빌더에서 하면 Liner Error가 발생합니다.
위와 같은것은 어떻게 처리해야 하는지..
|