andrewssobral / andrewssobral/bgslibrary
QT Creator Amber.o multiply definition.
- Lenguaje dominante
- C++
- Estrellas
- 2.3k
- Forks
- 735
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hi,
When I try to compile through Qt Creator I have below Error:
`amber.o: In function `bgslibrary::algorithms::Amber::saveConfig()':
Amber.cpp:(.text+0x0): multiple definition of `bgslibrary::algorithms::Amber::saveConfig()'
Amber.o:Amber.cpp:(.text+0x0): first defined here
amber.o: In function `bgslibrary::algorithms::Amber::loadConfig()':
Amber.cpp:(.text+0x70): multiple definition of `bgslibrary::algorithms::Amber::loadConfig()'
Amber.o:Amber.cpp:(.text+0x70): first defined here
amber.o: In function `bgslibrary::algorithms::Amber::~Amber()':
Makefile:659: recipe for target 'GUI' failed
Amber.cpp:(.text+0x110): multiple definition of `bgslibrary::algorithms::Amber::~Amber()'
Amber.o:Amber.cpp:(.text+0x110): first defined here
amber.o: In function `bgslibrary::algorithms::Amber::~Amber()':
Amber.cpp:(.text+0x110): multiple definition of `bgslibrary::algorithms::Amber::~Amber()'
Amber.o:Amber.cpp:(.text+0x110): first defined here
amber.o: In function `bgslibrary::algorithms::Amber::~Amber()':
Amber.cpp:(.text+0x330): multiple definition of `bgslibrary::algorithms::Amber::~Amber()'
Amber.o:Amber.cpp:(.text+0x330): first defined here
amber.o: In function `bgslibrary::algorithms::Amber::process(cv::Mat const&, cv::Mat&, cv::Mat&)':
Amber.cpp:(.text+0x350): multiple definition of `bgslibrary::algorithms::Amber::process(cv::Mat const&, cv::Mat&, cv::Mat&)'
Amber.o:Amber.cpp:(.text+0x350): first defined here
amber.o: In function `bgslibrary::algorithms::Amber::Amber()':
Amber.cpp:(.text+0x5d0): multiple definition of `bgslibrary::algorithms::Amber::Amber()'
Amber.o:Amber.cpp:(.text+0x5d0): first defined here
amber.o: In function `bgslibrary::algorithms::Amber::Amber()':
Amber.cpp:(.text+0x5d0): multiple definition of `bgslibrary::algorithms::Amber::Amber()'
Amber.o:Amber.cpp:(.text+0x5d0): first defined here
mainwindow.o: In function `bgslibrary::algorithms::IBGS* bgslibrary::createInstance()':
mainwindow.cpp:(.text._ZN10bgslibrary14createInstanceINS_10algorithms8CodeBookEEEPNS1_4IBGSEv[_ZN10bgslibrary14createInstanceINS_10algorithms8CodeBookEEEPNS1_4IBGSEv]+0x17): undefined reference to `bgslibrary::algorithms::CodeBook::CodeBook()'
Amber.o: In function `bgslibrary::algorithms::Amber::~Amber()':
Amber.cpp:(.text+0x183): undefined reference to `libamberModelFree'
Amber.o: In function `bgslibrary::algorithms::Amber::process(cv::Mat const&, cv::Mat&, cv::Mat&)':
Amber.cpp:(.text+0x44e): undefined reference to `libamberGetSegmentation_8u_C3R'
Amber.cpp:(.text+0x575): undefined reference to `libamberModelAllocInit_8u_C3R'
Amber.o: In function `bgslibrary::algorithms::Amber::Amber()':
Amber.cpp:(.text+0x764): undefined reference to `libamberModelNew'
amber.o: In function `bgslibrary::algorithms::Amber::~Amber()':
Amber.cpp:(.text+0x183): undefined reference to `libamberModelFree'
amber.o: In function `bgslibrary::algorithms::Amber::process(cv::Mat const&, cv::Mat&, cv::Mat&)':
Amber.cpp:(.text+0x44e): undefined reference to `libamberGetSegmentation_8u_C3R'
Amber.cpp:(.text+0x575): undefined reference to `libamberModelAllocInit_8u_C3R'
amber.o: In function `bgslibrary::algorithms::Amber::Amber()':
Amber.cpp:(.text+0x764): undefined reference to `libamberModelNew'
collect2: error: ld returned 1 exit status
make: *** [saftas_gui] Error 1
11:48:11: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project bgslibrary_gui (kit: Desktop Qt 5.10.0 GCC 64bit)
When executing step "Make"`
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.