Comments (2)
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.
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)
- Incorrect thread identified as "Main Thread" in --attach mode HOT 2
- Debugger.Break in non-user code HOT 11
- How to change current thread? HOT 6
- netcoredbg process crashes when pausing after the last debugged thread ended HOT 6
- Break if bad breakpoint condition HOT 3
- Stepping issues HOT 2
- LaunchRequest not working HOT 9
- Windows Defender false positive HOT 3
- `source` of `OutputEvent` is `string` instead of `Source` HOT 6
- Unable to load `dbgshim.dll` after building from source HOT 5
- The value of type double? property in class is confusing HOT 4
- `Assertion failed: !read_lock` when building from source HOT 3
- `InitializedEvent` before `InitializeResponse`
- Build hangs at Creating new dotnet project HOT 6
- Support for launchSettings.json related options in DAP launch request HOT 8
- Segfault when debugging minimal project HOT 4
- Location missing if unhandled Exception occurred in async Main HOT 2
- Allow reading from stdin HOT 4
- Shows warning even though works properly HOT 5
- Debug.Writeline Exits Console App HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netcoredbg.