Coder Social home page Coder Social logo

uv's People

Contributors

feihongmeilian avatar weiliguo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

uv's Issues

compile error

Hi, I had met some errors when I compile and install the source code.

os:centos 6.10(64bit)
gcc version:8.1.0
cmake version:3.12.0

error info:

[dev@OG5174-FM-15-201 build]$ cmake -DCMAKE_CXX_COMPILER=/usr/local/bin/g++ ..
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/bin/g++
-- Check for working CXX compiler: /usr/local/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dev/test/github/uv/build
[dev@OG5174-FM-15-201 build]$ cd ..
[dev@OG5174-FM-15-201 uv]$ ls
build  CMakeLists.txt  include  LICENSE  README.md  samples
[dev@OG5174-FM-15-201 uv]$ cd build/
[dev@OG5174-FM-15-201 build]$ ls
CMakeCache.txt  CMakeFiles  cmake_install.cmake  Makefile  samples
[dev@OG5174-FM-15-201 build]$ make
Scanning dependencies of target daytimeclient
[ 16%] Building CXX object samples/CMakeFiles/daytimeclient.dir/daytimeclient.cpp.o
In file included from /usr/local/include/uv++/FileStreamHandle.hpp:8,
                 from /usr/local/include/uv++/Pipe.hpp:17,
                 from /usr/local/include/uv++/uv.hpp:18,
                 from /usr/local/include/uv:4,
                 from /home/dev/test/github/uv/samples/daytimeclient.cpp:3:
/usr/local/include/uv++/Stream.hpp: In member function ‘void uv::Stream<T>::write(const char*, ssize_t, std::error_code&)’:
/usr/local/include/uv++/Stream.hpp:171:3: error: there are no arguments to ‘memcpy_s’ that depend on a template parameter, so a declaration of ‘memcpy_s’ must be available [-fpermissive]
   memcpy_s(sendbuf, len,  p, len);
   ^~~~~~~~
/usr/local/include/uv++/Stream.hpp:171:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[2]: *** [samples/CMakeFiles/daytimeclient.dir/daytimeclient.cpp.o] Error 1
make[1]: *** [samples/CMakeFiles/daytimeclient.dir/all] Error 2
make: *** [all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.