unresolved external symbol __DllMainCRTStartup@12

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

unresolved external symbol __DllMainCRTStartup@12

Boost - Users mailing list
I have built boost python.  I am trying to use the boost_1_74_0\libs\python\example\tutorial example.   I keep getting a fail in the build of the dll:

msvc.link.dll bin\msvc-14.0\debug\boost_python.dll
LINK : warning LNK4001: no object files specified; libraries used
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
bin\msvc-14.0\debug\boost_python.dll : fatal error LNK1120: 1 unresolved externals

        call "bin\standalone\msvc\msvc-14.0\msvc-setup.bat" x86 >nul
 link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /MACHINE:X86 /MANIFEST:EMBED /subsystem:console /out:"bin\msvc-14.0\debug\boost_python.dll" /IMPLIB:"bin\msvc-14.0\debug\boost_python.lib"     @"bin\msvc-14.0\debug\boost_python.dll.rsp"

Any advice as to what might be wrong.  My Visual Studio 2019 does not have the corelibc.lib.  I only find that under 'WinCE' libs, and so not found when I compile msvc 14...
thanks

_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users