Skip to content

Cant compile #1

@amunhoz

Description

@amunhoz

hi there!
First, this is a nice project! Congratulations.

Second, right now it is not compilling:

$cmake .
$make
Scanning dependencies of target chaos
[  2%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Codecs/Base16.cc.o
[  5%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Codecs/Base32.cc.o
[  8%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Codecs/Base64.cc.o
[ 11%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Codecs/Crc32c.cc.o
[ 14%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Concurrent/CountdownLatch.cc.o
[ 17%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Concurrent/Cpp11/ThreadPool.cc.o
[ 20%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Concurrent/Thread.cc.o
[ 22%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Concurrent/ThreadPool.cc.o
[ 25%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Container/StringPiece.cc.o
[ 28%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Datetime/Date.cc.o
[ 31%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Datetime/Timestamp.cc.o
[ 34%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Datetime/Timezone.cc.o
[ 37%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Except/Exception.cc.o
[ 40%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/File/FileUtil.cc.o
[ 42%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/IO/ColorIO.cc.o
[ 45%] Building CXX object External/Chaos/Chaos/CMakeFiles/chaos.dir/Logging/LogStream.cc.o
/home/ivuser/git/modules/nng-broker/packages/github/KcpNet/External/Chaos/Chaos/Logging/LogStream.cc: In instantiation of ‘const char* Chaos::FixedBuffer<N>::debug_string() [with int N = 4096]’:
/home/ivuser/git/modules/nng-broker/packages/github/KcpNet/External/Chaos/Chaos/Logging/LogStream.cc:75:16:   required from here
/home/ivuser/git/modules/nng-broker/packages/github/KcpNet/External/Chaos/Chaos/Logging/LogStream.cc:86:20: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]
   return (current_ = '\0', data_);
           ~~~~~~~~~^~~~~~
/home/ivuser/git/modules/nng-broker/packages/github/KcpNet/External/Chaos/Chaos/Logging/LogStream.cc: In instantiation of ‘const char* Chaos::FixedBuffer<N>::debug_string() [with int N = 4096000]’:
/home/ivuser/git/modules/nng-broker/packages/github/KcpNet/External/Chaos/Chaos/Logging/LogStream.cc:76:16:   required from here
/home/ivuser/git/modules/nng-broker/packages/github/KcpNet/External/Chaos/Chaos/Logging/LogStream.cc:86:20: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]
External/Chaos/Chaos/CMakeFiles/chaos.dir/build.make:277: recipe for target 'External/Chaos/Chaos/CMakeFiles/chaos.dir/Logging/LogStream.cc.o' failed
make[2]: *** [External/Chaos/Chaos/CMakeFiles/chaos.dir/Logging/LogStream.cc.o] Error 1
CMakeFiles/Makefile2:157: recipe for target 'External/Chaos/Chaos/CMakeFiles/chaos.dir/all' failed
make[1]: *** [External/Chaos/Chaos/CMakeFiles/chaos.dir/all] Error 2
Makefile:103: recipe for target 'all' failed
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions