简体   繁体   English

Visual Studio 2012女士,“未解决的外部符号”

[英]Ms Visual Studio 2012, “unresolved external symbol”

I am trying to compile a C++ application through Microsoft Visual Studio 2012. I have linked the Boost, Jni, Acml libraries to the application. 我正在尝试通过Microsoft Visual Studio 2012编译C ++应用程序。我已将Boost,Jni,Acml库链接到该应用程序。

When I click on rebuild, the compilation does not finish. 当我单击重建时,编译未完成。 This is the first error I get: 这是我得到的第一个错误:

Error 28 error LNK2019: unresolved external symbol _sgesdd referenced in function "void __cdecl testLapackDGESDD_EASY(void)" (?testLapackDGESDD_EASY@@YAXXZ) C:\\Users\\DavideChicco\\Documents\\Visual Studio 2012\\Projects\\Solution\\mainConsole.obj 错误28错误LNK2019:函数“ void __cdecl testLapackDGESDD_EASY(void)”(?testLapackDGESDD_EASY @@ YAXXZ)中引用了无法解析的外部符号_sgesdd C:\\ Users \\ DavideChicco \\ Documents \\ Visual Studio 2012 \\ Projects \\ Solution \\ mainConsole.obj

Do you have any idea of what this is related to? 您有什么想法吗?

Thanks 谢谢

Your compilation seems to have finished, but the error happens during linking: the definition of the function _sgesdd called in testLapackDGESDD_EASY is not found. 你的编译似乎已经结束,但在连接过程中发生的错误:函数的定义_sgesdd称为testLapackDGESDD_EASY没有找到。 So 所以
- either this function is defined in an external dll , and you need to add the lib in your solution, -该函数是在外部dll定义的,并且您需要在解决方案中添加lib
- or this function is supposed to be defined in your project, and you need to implement its definition. -或者应该在您的项目中定义此函数,并且您需要实现其定义。

啊哈,编译器找不到函数“ _sgesdd”,我建议您添加由DLL作者提供的库。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SFML链接器错误:无法解析的外部符号_WinMain @ 16,Visual Studio 2012 - SFML linker error: unresolved external symbol _WinMain@16, Visual Studio 2012 Visual Studio 2012 - C MariaDB客户端 - 错误LNK2019:未解析的外部符号_mysql_init @ 4 - Visual Studio 2012 - C MariaDB Client - Error LNK2019: unresolved external symbol _mysql_init@4 Visual Studio 2012,C / C ++代码,错误LNK2001:无法解析的外部符号 - Visual Studio 2012, C/C++ code, error LNK2001: unresolved external symbol 使用SDL2的Visual Studio 2012中的“函数中引用的未解析的外部符号_SDL_main”错误 - 'unresolved external symbol _SDL_main referenced in function' error in Visual Studio 2012 with SDL2 Visual Studio 2013中的“无法解析的外部符号”错误 - “unresolved external symbol” error in Visual Studio 2013 仅在Visual Studio中无法解析的外部符号? - Unresolved external symbol in Visual Studio only? 在Visual Studio中使用openNN(无法解析的外部符号) - using openNN in visual studio (unresolved external symbol) 编译Curl Visual Studio-无法解析的外部符号 - Compile Curl Visual Studio - unresolved external symbol unitest文件中未解析的外部符号(visual studio) - unresolved external symbol on unitest file (visual studio) 在Visual Studio 2012中,OpenGL未解析的外部符号_gluLookAt @ 72和_gluPerspective @ 32 - OpenGL Unresolved external symbol _gluLookAt@72 and _gluPerspective@32 in Visual Studio 2012
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM