Code Monkey home page Code Monkey logo

Comments (2)

gbalykov avatar gbalykov commented on June 16, 2024 1

The build failed with a c++ error on Ubuntu 16.04

Can you share build error and build command?

It would be nice if netcoredbg release binaries work on a large set of the Microsoft supported distros.

Thanks for feedback, we'll consider switch to older ubuntu. For now you can use build from source on ubuntu 18.04.

from netcoredbg.

tmds avatar tmds commented on June 16, 2024

Can you share build error and build command?

In the ubuntu:16.04 container image I ran these commands:

apt-get update
apt-get install git curl cmake clang
cd
git clone https://github.com/Samsung/netcoredbg
cd netcoredbg/
mkdir build
cd build
CC=clang CXX=clang++ cmake ..
make

The compilation fails with:

[ 35%] Building CXX object src/CMakeFiles/netcoredbg.dir/debugger/callbacksqueue.cpp.o
In file included from /root/netcoredbg/src/debugger/callbacksqueue.cpp:9:
In file included from /root/netcoredbg/src/debugger/callbacksqueue.h:7:
In file included from /root/netcoredbg/src/debugger/manageddebugger.h:17:
/root/netcoredbg/src/utils/ioredirect.h:80:29: error: no matching constructor for initialization of 'IOSystem::StdIOSwap'
        IOSystem::StdIOSwap file_descriptors({
                            ^                ~
/root/netcoredbg/src/utils/iosystem.h:213:9: note: candidate constructor not viable: cannot convert initializer list argument to 'const StdFiles' (aka 'const
      tuple<const netcoredbg::IOSystemImpl<netcoredbg::IOSystemTraits<netcoredbg::UnixPlatformTag> >::FileHandle &, const
      netcoredbg::IOSystemImpl<netcoredbg::IOSystemTraits<netcoredbg::UnixPlatformTag> >::FileHandle &, const
      netcoredbg::IOSystemImpl<netcoredbg::IOSystemTraits<netcoredbg::UnixPlatformTag> >::FileHandle &>')
        StdIOSwap(const StdFiles &files) : ioswap(files) {}
        ^
/root/netcoredbg/src/utils/iosystem.h:215:9: note: candidate constructor not viable: cannot convert initializer list argument to 'const
      netcoredbg::IOSystemImpl<netcoredbg::IOSystemTraits<netcoredbg::UnixPlatformTag> >::StdIOSwap'
        StdIOSwap(const StdIOSwap&) = delete;
        ^
1 error generated.
src/CMakeFiles/netcoredbg.dir/build.make:270: recipe for target 'src/CMakeFiles/netcoredbg.dir/debugger/callbacksqueue.cpp.o' failed
make[2]: *** [src/CMakeFiles/netcoredbg.dir/debugger/callbacksqueue.cpp.o] Error 1
CMakeFiles/Makefile2:186: recipe for target 'src/CMakeFiles/netcoredbg.dir/all' failed
make[1]: *** [src/CMakeFiles/netcoredbg.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

from netcoredbg.

Related Issues (20)

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.