Link Error in Elektron-SDK-1.4
All of these appear to be internal to the Elektron-SDK. Not sure why this would ship when it doesn't compile out of the box. Anyone have any idea before i start debugging Elektron code?
[ 48%] Linking CXX executable ../../../../../Elektron-SDK-1.4.0.L1.linux.rrg/Cpp-C/Eta/Executables/RHEL6_64_GCC444/Optimized/rsslDataTest
CMakeFiles/rsslDataTest.dir/rsslDataTest.C.o: In function `bufferEncDecTest_bufferEncDecTest_Test::TestBody()':
rsslDataTest.C:(.text+0x7e6): undefined reference to `_ZN7testing8internal30GetBoolAssertionFailureMessageB5cxx11ERKNS_15AssertionResultEPKcS5_S5_'
CMakeFiles/rsslDataTest.dir/rsslDataTest.C.o: In function `bufferInterfaceEncDecTest_bufferInterfaceEncDecTest_Test::TestBody()':
rsslDataTest.C:(.text+0xb39): undefined reference to `_ZN7testing8internal30GetBoolAssertionFailureMessageB5cxx11ERKNS_15AssertionResultEPKcS5_S5_'
CMakeFiles/rsslDataTest.dir/rsslDataTest.C.o: In function `lengthSpecifiedConversionTest_lengthSpecifiedConversionTest_Test::TestBody()':
rsslDataTest.C:(.text+0xf78): undefined reference to `_ZN7testing8internal30GetBoolAssertionFailureMessageB5cxx11ERKNS_15AssertionResultEPKcS5_S5_'
CMakeFiles/rsslDataTest.dir/rsslDataTest.C.o: In function `nonLengthSpecifiedConversionTest_nonLengthSpecifiedConversionTest_Test::TestBody()':
rsslDataTest.C:(.text+0x1598): undefined reference to `_ZN7testing8internal30GetBoolAssertionFailureMessageB5cxx11ERKNS_15AssertionResultEPKcS5_S5_'
rsslDataTest.C:(.text+0x18b5): undefined reference to `_ZN7testing8internal30GetBoolAssertionFailureMessageB5cxx11ERKNS_15AssertionResultEPKcS5_S5_'
CMakeFiles/rsslDataTest.dir/rsslDataTest.C.o:rsslDataTest.C:(.text+0x1ab7): more undefined references to `_ZN7testing8internal30GetBoolAssertionFailureMessageB5cxx11ERKNS_15AssertionResultEPKcS5_S5_' follow
CMakeFiles/rsslDataTest.dir/rsslDataTest.C.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<unsigned char, unsigned int>(char const*, char const*, unsigned char const&, unsigned int const&)':
rsslDataTest.C:(.text._ZN7testing8internal18CmpHelperEQFailureIhjEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureIhjEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x8cf): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
CMakeFiles/rsslDataTest.dir/rsslDataTest.C.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure<long long, long>(char const*, char const*, long long const&, long const&)':
rsslDataTest.C:(.text._ZN7testing8internal18CmpHelperEQFailureIxlEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureIxlEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x8cf): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
collect2: error: ld returned 1 exit status
Best Answer
-
These errors appear to be related to the Googletest macros not getting recognized by the linker. Is this build using the default version of Googletest? ESDK is not built with C++11, and Googletest has some weird interactions that has prompted them to create a non-backwards compatible version that supports only C++11 on.
In addition, if you don't need the unit test tools, they can be removed from the build by setting the option -DBUILD_UNIT_TESTS=OFF when generating the build files with cmake.
0
Answers
-
I'm not using googletest directly. thanks i'll give that option a try
0 -
that worked, thanks
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 370 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛