在cmake编译这一块
[/usr/bin/ld: cmcmd.o: in function `cmcmd::ExecuteLinkScript(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':
cmcmd.cxx:(.text+0x54b0): undefined reference to `cmsysProcess_New'
/usr/bin/ld: cmcmd.cxx:(.text+0x550f): undefined reference to `cmsysProcess_SetPipeShared'
/usr/bin/ld: cmcmd.cxx:(.text+0x5528): undefined reference to `cmsysProcess_SetPipeShared'
/usr/bin/ld: cmcmd.cxx:(.text+0x5541): undefined reference to `cmsysProcess_SetOption'
/usr/bin/ld: cmcmd.cxx:(.text+0x568d): undefined reference to `cmsysProcess_SetCommand'
/usr/bin/ld: cmcmd.cxx:(.text+0x56d0): undefined reference to `cmsysProcess_Execute'
/usr/bin/ld: cmcmd.cxx:(.text+0x56e4): undefined reference to `cmsysProcess_WaitForExit'
/usr/bin/ld: cmcmd.cxx:(.text+0x56f3): undefined reference to `cmsysProcess_GetState'
/usr/bin/ld: cmcmd.cxx:(.text+0x5723): undefined reference to `cmsysProcess_GetExitValue'
/usr/bin/ld: cmcmd.cxx:(.text+0x5772): undefined reference to `cmsysProcess_GetExceptionString'
/usr/bin/ld: cmcmd.cxx:(.text+0x57c6): undefined reference to `cmsysProcess_GetErrorString'
/usr/bin/ld: cmcmd.cxx:(.text+0x5845): undefined reference to `cmsysProcess_Delete'
]
是链接出现问题,请问是少了什么库?
离线