compile ExcelFormat Library
compile ExcelFormat Library
有人能告诉我如何解决这个问题吗。我正试图在此处编译此库:http://www.codeproject.com/Articles/42504/ExcelFormat-Library
我正在做:g++ Examples.cpp
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
如果我的问题是easy/basic/simple/os-dependent。。。请告诉我推荐一两本我应该先读的书,以便找出这个问题的答案。
这是错误消息:
/tmp/cczceVBy.o:在函数example1(char const*)':
Examples.cpp:(.text+0x2d): undefined reference to
中YExcel::BasicExcel::Basic Excel()'示例.cpp:(.text+0x41):对YExcel::BasicExcel::New(int)'
Examples.cpp:(.text+0x55): undefined reference to
YExcel::BasicExcel::GetWorksheet(int)'的未定义引用示例.cpp:(.text+0x75):对ExcelFormat::XLSFormatManager::XLSFormatManager(YExcel::BasicExcel&)'
Examples.cpp:(.text+0xf2): undefined reference to
YExcel::BasicExcelWorksheet::Cell(int,int)'的未定义引用示例.cpp:(.text+0x10d):对YExcel::BasicExcelCell::Set(char const*)'
Examples.cpp:(.text+0x166): undefined reference to
的未定义引用YExcel::BasicExcelWorksheet::Cell(int,int)'示例.cpp:(.text+0x173):对YExcel::BasicExcelCell::Set(char const*)'
Examples.cpp:(.text+0x287): undefined reference to
YExcel::BasicExcelWorksheet::Cell(int,int)'的未定义引用示例.cpp:(.text+0x2a2):对YExcel::BasicExcelCell::Set(char const*)'
Examples.cpp:(.text+0x2df): undefined reference to
YExcel::BasicExcelWorksheet::Cell(int,int)'的未定义引用
----狙击更多同类-----
collect2:ld返回1退出状态
使用Excelformat zip文件附带的项目目录中的BasicExcel.Cpp和BasicExcel.hpp文件。
- Boost Graph Library,修复节点大小
- SFML library: http request
- 解决"ld: library not found for -ltensorflow_framework.2.3.0"
- Linking library C++
- 在VS2019项目中集成ImageMagick:x64-windows-static library
- OpenSSL fips in C++ wrapper Library 如何?错误:指纹不匹配
- C++ class vs a library
- C++ library with Tensorflow on Android
- CMake:尝试在 Jenkins 构建机器上运行时出现"Linked Library"错误 (0xc0000135)
- 将 c++ cmake-library 构建发布到本地存储库时出现 Gradle 错误
- 为什么'allocate in one library and free in the other'是错误的
- 链接 library.lib 使用 setup.py.
- 目标提升::<library>已经有导入的位置 + 链接错误
- Visual Studio 2017 C++,如何定义一个"环境变量"'Additional Library Directory'?
- C++ Boost SML Library
- Windows 套接字和身份验证构建在包含 Poco-Library 时失败
- Qt小部件应用程序"Library not registered"错误
- Xcode/IOS: linking a CMake library
- 如何修复'The procedure entry point SDL_RWclose could not be located in the dynamic link library'
- compile ExcelFormat Library