Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Error running ./build.sh on Ubuntu 18.04 #45

Closed
JJTriesHisBest opened this issue Jun 5, 2018 · 2 comments
Closed

Error running ./build.sh on Ubuntu 18.04 #45

JJTriesHisBest opened this issue Jun 5, 2018 · 2 comments

Comments

@JJTriesHisBest
Copy link

Command: ./build.sh -tue -j1

Transcript: https://gist.github.com/JJTriesHisBest/a4c5100d86017e126d2958140cd6edfa

It seems to be a type conversion error. Running with -j1 I see an interesting failure

GPSTk/core/tests/FileHandling/FFBinaryStream_T.cpp:270:4: error: no matching function for call to ‘gpstk::TestUtil::assert(FFBinaryStreamBE&, std::__cxx11::basic_string<char>, int)’
    testFramework.assert(testStrmIn, "Couldn't open " + outfn + " for input", __LINE__);
    ^~~~~~~~~~~~~
In file included from /home/jj/GPSTk/core/tests/FileHandling/FFBinaryStream_T.cpp:40:0:
/home/jj/GPSTk/core/lib/TestFramework/TestUtil.hpp:545:9: note: candidate: void gpstk::TestUtil::assert(bool, const string&, int)
    void TestUtil ::
         ^~~~~~~~
/home/jj/GPSTk/core/lib/TestFramework/TestUtil.hpp:545:9: note:   no known conversion for argument 1 from ‘FFBinaryStreamBE’ to ‘bool’
@masamitsutech
Copy link
Contributor

@JJTriesHisBest I'm not able to replicate this issue anymore. Does it look to be resolved on your side?

@libing64
Copy link

libing64 commented Nov 9, 2019

@JJTriesHisBest I also figure out this problem on Ubuntu18.04, and this issue could be skipped if the compiling of 'FFBinaryStream_T.cpp' is disabled.
In /core/tests/FileHandling/CMakeLists.txt

-add_executable(FFBinaryStream_T FFBinaryStream_T.cpp)
-target_link_libraries(FFBinaryStream_T gpstk)
-add_test(FileHandling_FFBinaryStream FFBinaryStream_T)
+# add_executable(FFBinaryStream_T FFBinaryStream_T.cpp)
+# target_link_libraries(FFBinaryStream_T gpstk)
+# add_test(FileHandling_FFBinaryStream FFBinaryStream_T)
(END)

@UT-dave UT-dave closed this as completed Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants