SAP-archive / fedem-gui

Graphical user interface for FEDEM
https://openfedem.org
Apache License 2.0
1 stars 6 forks source link

Missing dependency #16

Closed sanguinariojoe closed 9 months ago

sanguinariojoe commented 9 months ago

FFaOperation shall be added as dependency at https://github.com/SAP/fedem-gui/blob/main/src/vpmApp/vpmAppUAMap/CMakeLists.txt#L89 (I added it at the end of the list).

Otherwise a bunch of undefined referenced will be thrown:

/usr/bin/ld: vpmApp/vpmAppUAMap/libvpmAppUAMap.a(FapUARDBSelector.C.o): in function `FapUARDBSelector::onResultApplied()':
FapUARDBSelector.C:(.text+0x28c0): undefined reference to `FFaOpUtils::findOpers(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: FapUARDBSelector.C:(.text+0x2c70): undefined reference to `FFaOpUtils::getDefaultOper(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: vpmApp/vpmAppUAMap/libvpmAppUAMap.a(FapUACurveAxisDefinition.C.o): in function `FapUACurveAxisDefinition::setAxisData(FFaResultDescription const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
FapUACurveAxisDefinition.C:(.text+0x71c): undefined reference to `FFaOpUtils::findOpers(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: vpmApp/vpmAppUAMap/libvpmAppUAMap.a(FapUAAnimationDefine.C.o): in function `FapUAAnimationDefine::getDBValues(FFuaUIValues*)':
FapUAAnimationDefine.C:(.text+0x4f9e): undefined reference to `FFaOpUtils::findOpers(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: FapUAAnimationDefine.C:(.text+0x5e3c): undefined reference to `FFaOpUtils::findOpers(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: FapUAAnimationDefine.C:(.text+0x6cfc): undefined reference to `FFaOpUtils::getDefaultOper(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: vpmApp/vpmAppUAMap/libvpmAppUAMap.a(FapUAResultListView.C.o): in function `FapUAResultListView::dropItems(int, bool, void*)':
FapUAResultListView.C:(.text+0x55f7): undefined reference to `FFaOpUtils::getDefaultOper(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: fedem-foundation/FFpLib/FFpCurveData/libFFpCurveData.a(FFpCurve.C.o): in function `FFpCurve::findVarRefsAndOpers(FFrExtractor*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
FFpCurve.C:(.text+0x1f60): undefined reference to `FFaOpUtils::findOpers(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: vpmApp/vpmAppDisplay/libvpmAppDisplay.a(FapAnimationCreator.C.o): in function `FapAnimationCreator::initFringeReading(FmPart*, FFrExtractor*, FmAnimation*, std::vector<int, std::allocator<int> > const*)':
FapAnimationCreator.C:(.text+0x1b26): undefined reference to `FFaOpUtils::findOpers(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
collect2: error: ld returned 1 exit status
kmoks commented 9 months ago

I added the dependency for the vpmAppDisplay library instead, since this also have one unresolved symbol above. Since this library is in the dependency list of vpmAppUAMap I hope this will resolve all the others as well.

sanguinariojoe commented 9 months ago

It builds just fine to me