I’m trying to debug a linux c++ application on a remote offsite server and I got this message: Any ideas? I’ve tried debugging it on an onsite linux machine (through MSVS2015 on windows) and it works fine. Answer I had a snapshot of the server prior to installing gdbserver. It worked after I insta…
Tag: visual-studio
VS2017 Linux C++ threads issue
I have been testing the VS2017 Linux C++ with remote debugger on Linux Ubuntu. I have created a few example projects for C++ and everything has been working great until I got to threading examples. I cannot seem to get the threads to compile as I keep getting “undefined reference to `pthread_create’R…
How can I write CUDA in Visual Studio on Windows and deploy it to Linux?
I’m assisting a professor in setting up a lab for a class in parallel programming. The process will be the following: A student logs into a virtual machine running Windows 7. This machine has no GPUs available. It has version 7.5 of the CUDA toolkit installed along with Visual Studio 2013. Students are …
What is the cause of the difference in return value between Linux and Windows and how to fix it?
Here is the code that I tried to return an object of a class. but I got different results from CentOs (gcc) and visual studio 2013. In the cls.cpp, with gcc, it works well, I get the results such as detector.name = “t_name”, detector.stride = 5. but the values in the detector are “” an…