Skip to content
Advertisement

Tag: c++

.net core in Linux – build C#

Linux Environment – Ubuntu 16.04 LTS. i have installed .net core 2.1300 (latest, with sdk). I am trying to build (dotnet build) a .csproj file in C#. But the error is: What possible solutions exists? maybe change .csproj ? Answer You are trying to build a full .NET (v4.6.1) application on a .NET Core platform and that is not supported.

How to add webrtc native apis into my qt project?

I have been in trouble for a few days, so I really need some exports of webrtc to help me. I compiled successfully with the source code by ninja, and I can run the peerconnection example. I add the static libraries(.a file) into my qt project one by one, and then I set the include path to the source code

How to create an ELF executable from process memory image

First of all, Engilish is not my native language. Please excuse if there are any mistakes. As stated above, I want to create an ELF executable from process memory image. Up until now, I successfully extracted an ELF Header, Program Headers and a list of Elf64_Dyn structures resides in Dynamic segment. I also restored GOT. However, I can’t figure out

How is the locale of a C program set to the “C” locale?

A C program inherits its locale environment variables when it starts up. This happens automatically. However, these variables do not automatically control the locale used by the library functions, because ANSI C says that all programs start by default in the standard “C” locale. I have read that a C program must have the C locale when started, so the

C++ build process – lib dependencies

I have a Visual studio solution with 5 projects Main: application A,B,C,D: static libraries Main depends on A,B. A depends on C,D. I have a fragile understanding of the build process. The libs were building alone fine, especially A; I did not feel I was linking C and D to A. And to build the Main application, I had to

How to combine file to a folder path in NUnit C#

I’ve written a test using NUnit Testcase. I’ve defined the file name ‘irm_xxx_tbbmf_xu.csv.ovr’ and what data I expect that file to output. I’ve defined a variable processFilePath containing the location of where that file will be and the file name within a NUnit TestCase attribute parameter. My question is the way I’ve written the processFilePath how can I write it

why my unix domain socket can’t work

there are two simple program to demo the unix domain DGRAM socket. and the following is the result: it seems like nothing wrong here. but, I get nothing from the server. I don’t know why it can’t run as I expect. Answer You should be sending to /var/run/lsvr.sock not to /var/run/lcli.sock. Also you don’t have to bind in client so

Advertisement