none
fatal error LNK1120: 52 unresolved externals RRS feed

  • Pergunta

  • Olá, instalei o Visual Studio 2019 para usar na faculdade para compilar o mesa_6_3_2, uma biblioteca 3d.

    é uma Solution VC++ 6.0 convertida pelo VS2019 com 4 Projects

    mesa (solution)

        mesa  (project)

        gdi     (project)

        glu     (project)

        osmesa  (project)

    O project mesa compila normalmente

    mesa.vcxproj -> C:\Users\...\mesa_6_3_2\windows\VC6\mesa\mesa\Release\mesa.lib

    porem os outros projetos apresenta erro de linkagem...

    gdi

    ...Microsoft.CppBuild.targets(1341,5): warning MSB8012: TargetPath(C:\Users\...\mesa_6_3_2\windows\VC6\mesa\gdi\Release\gdi.dll) does not match the Linker's OutputFile property value (C:\Users\...\mesa_6_3_2\windows\VC6\mesa\gdi\Release\OPENGL32.DLL). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).

    Microsoft.CppBuild.targets(1343,5): warning MSB8012: TargetName(gdi) does not match the Linker's OutputFile property value (OPENGL32). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
    ..\..\..\..\src\mesa\drivers\windows\gdi\mesa.def(2): warning LNK4017: DESCRIPTION statement not supported for the target platform; ignored
         Creating library .\Release\OPENGL32.lib and object .\Release\OPENGL32.exp

    wgl.obj : error LNK2019: unresolved external symbol __imp__calloc referenced in function _wglUseFontBitmaps_FX

    ...

    Release\OPENGL32.DLL : fatal error LNK1120: 52 unresolved externals

    Não tenho muita experiência com VS.

    Grato por qualquer ajuda;

    quinta-feira, 14 de janeiro de 2021 03:19

Todas as Respostas