[fpc-pascal] Linking FPC units with Visual Studio 2013 projects

tobiasgiesen at gmail.com tobiasgiesen at gmail.com
Thu Aug 20 12:27:53 CEST 2015


Hello,

I have to compile a few Pascal units with FPC and add them to a Visual 
C++ project. After adding system.o to the Visual C++ project, I get 
linker errors like this:

system.o : error LNK2001: unresolved external symbol _$dll$kernel32$Sleep

Apparently the Microsoft linker does not recognize the FPC way of
mangling the DLL dependencies? Is there a way to compile the RTL in a
way that Microsoft can link? Or anything else I can do?

Thanks.
Tobias Giesen





More information about the fpc-pascal mailing list