You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[100%] Linking CXX shared library ../lib/liblinedesc.so
CMakeFiles/linedesc.dir/build/CMakeFiles/3.5.1/CompilerIdCXX/CMakeCXXCompilerId.cpp.o: In function main': CMakeCXXCompilerId.cpp:(.text.startup+0x0): multiple definition of main'
CMakeFiles/linedesc.dir/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:CMakeCXXCompilerId.cpp:(.text.startup+0x0): first defined here
CMakeFiles/linedesc.dir/build/CMakeFiles/3.5.1/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x18): multiple definition of info_compiler' CMakeFiles/linedesc.dir/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x18): first defined here CMakeFiles/linedesc.dir/build/CMakeFiles/3.5.1/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x10): multiple definition of info_platform'
CMakeFiles/linedesc.dir/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x10): first defined here
CMakeFiles/linedesc.dir/build/CMakeFiles/3.5.1/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x0): multiple definition of info_language_dialect_default' CMakeFiles/linedesc.dir/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x0): first defined here CMakeFiles/linedesc.dir/build/CMakeFiles/3.5.1/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x8): multiple definition of info_arch'
CMakeFiles/linedesc.dir/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x8): first defined here
collect2: error: ld returned 1 exit status
CMakeFiles/linedesc.dir/build.make:265: recipe for target '../lib/liblinedesc.so' failed
make[2]: *** [../lib/liblinedesc.so] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/linedesc.dir/all' failed
make[1]: *** [CMakeFiles/linedesc.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
在电脑上和tx2上编译均报以上错误,是怎么回事?
The text was updated successfully, but these errors were encountered:
[100%] Linking CXX shared library ../lib/liblinedesc.so
CMakeFiles/linedesc.dir/build/CMakeFiles/3.5.1/CompilerIdCXX/CMakeCXXCompilerId.cpp.o: In function
main': CMakeCXXCompilerId.cpp:(.text.startup+0x0): multiple definition of
main'CMakeFiles/linedesc.dir/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:CMakeCXXCompilerId.cpp:(.text.startup+0x0): first defined here
CMakeFiles/linedesc.dir/build/CMakeFiles/3.5.1/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x18): multiple definition of
info_compiler' CMakeFiles/linedesc.dir/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x18): first defined here CMakeFiles/linedesc.dir/build/CMakeFiles/3.5.1/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x10): multiple definition of
info_platform'CMakeFiles/linedesc.dir/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x10): first defined here
CMakeFiles/linedesc.dir/build/CMakeFiles/3.5.1/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x0): multiple definition of
info_language_dialect_default' CMakeFiles/linedesc.dir/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x0): first defined here CMakeFiles/linedesc.dir/build/CMakeFiles/3.5.1/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x8): multiple definition of
info_arch'CMakeFiles/linedesc.dir/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data.rel.local+0x8): first defined here
collect2: error: ld returned 1 exit status
CMakeFiles/linedesc.dir/build.make:265: recipe for target '../lib/liblinedesc.so' failed
make[2]: *** [../lib/liblinedesc.so] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/linedesc.dir/all' failed
make[1]: *** [CMakeFiles/linedesc.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
在电脑上和tx2上编译均报以上错误,是怎么回事?
The text was updated successfully, but these errors were encountered: