Configure "Eclipse IDE for C/C++ Developers" on a remote project - c++

I have Eclipse IDE for C/C++ Developers, Version: 2019-06 (4.12.0)
I need to configure it to work on a virtual machine having a large C/C++ project.
I should have a remote access to it from Eclipse probably having SSH connection.
For that case I wanted to use Remote System Explorer , but installing it - got a message that it is not compatible with Eclipse version
What is correct solution to work remotely with eclipse?

This is what I tried in my system. May be it will help you.
1.Download and install Java 1.8 and above.
2.Download and install Eclipse IDE for C/C++ developers.
3.Open Eclipse.
4.Goto Window→Show View→ Other.
5.Search Remote and select 'Remote Systems'.
6.A window will get opened at the bottom. "Remote Systems"
7.Hover the mouse over that window and right click. Select 'New Connection'.
8.Select 'SSH Only' and click on 'Next'.
9.Put the details of the Host Name: and click on 'Finish'.

Related

remote debugging windows 8.1 driver Visual studio 2013

I'm trying to set up remote debugging on Visual studio 2013.
I think I installed everything on my computer and the hyper-v machine too + updated.
So whats happening:
I open a microsoft UMDF driver sample. (I can build it without any errors).
I select Debugging tools for windows remote debugger.
Then a message box pops up named Deployment not configured.
I select I know what I'm doing continue debugging.
Then the Computer configuration wizard starts add new computer.
I select provision computer and automatically configure debuggers.
Then the configuration process configure my hyper-v machine fine.
Installs the necessary files restart the computer and log in with the name WDKRemoteUser.
Then I Click Finish then this error pop-up.
The required property 'DbgengRemoteCommand' is missing or empty. (OK)
So I need to fill up the package property pages->configuration properties->debugging->
Remote Command, Remote Command Arguments, Remote Working Directory, Remote Computer name manually?
And if I had to what should I write there or I miss something else?
You only need to specify the "Remote Working Directory" parameter and you can just give it the same path as your build directory and you should be good.

Remote debugging C++ application with Eclipse GUI

I followed the steps in this link
and I manage to debug a binary which resides in linux host from my windows machine from command prompt.
I have gdbserver in linux and I installed gdb with the help of mingw in windows. As I told I can prompt "target remote x.x.x.x:10000 test" to command in windows and debug my test application.
My problem is I can't do the same with eclipse gui, it seems to me it has tones of buttons, options but they make no sense to me.
I am choosing debug_configurations-->C/C++ Remote Application(the only one which allows me to input linux machine ip/port), in "Main" tab to connection I am inputting my linux ip. In same menu under Debugger tab I am inputting my window's gdb path and gdbserver port.
After doing all those I believe I gave enough info to eclipse for connect gdb server but it never enough for eclipse. I am checking gdbserver logs by starting gdbserver with --debug, gdbserver never gets triggered, it does not writes a single line of log. Eclipse even does not starts a connection. But instead it gives me a error like "Error during file upload." which makes no sense to me.
I am using "Eclipse Version: Juno Service Release 2" . Any help will be appreciated .
I believe that the "C/C++ Remote Application" option uses Eclipse's RDT (Remote Development Tools) and RSE (Remote System Explorer) to connect, upload, execute, and debug the application itself. It
If all you want to do is connect to a gdbserver, then create a "C/C++ Attach to Application" debug configuration, and under the Debugger tab, set Debugger to gdbserver.
I also encountered this error message for other reason on Eclipse version 2019-09 R (4.13.0).
I very recommend to read paragraph "How do I debug a remote application?" from this great guide.
It explains which of three remote debugging options you should be using - Automatic Remote Launcher, Manual Remote Launcher and Remote Attach Launcher and how to use each one.
I was using the wrong launcher and hence got the error, while on the remote side gdbserver was listening and waiting for a connection. Switching to Manual Remote Launcher solved it.
for example it says:
If you don't have RSE installed, you cannot use the "Automatic Remote
Launch"
RSE = Remote System Explorer End-User Runtime
Launcher setting is configured from the bottom of the Remote Debug Configuration window - "Using GDB (DSF) Automatic/Manual Remote Debugging Launcher".

Eclipse CDT PTP Remote Tools will remotely build makefile, but not make/compile after

I am trying to use Eclipse 4.3 on Windows for remote Linux C++ development. I am currently using the Eclipse PTP package which comes with all the necessary plugins to do remote development. I made a new C++ Remote Project and I have it set to talk to the linux machine via the 'Remote Tools' service. I am able to use all the terminal and file browsing services as expected. However, when I go to 'build' my project, all it does is generate the makefile on the remote machine, it will not compile it into a binary. Through terminal, I can make the makefile and it will compile be run successfully. However, the generated binary is not seen by eclipse and so all the nice binary things like Run/Debug can not be used on the manually made binary.
Essentially I am looking for a way to hit the 'Build' button, and have it compile my remote project into a binary that will be recognized by eclipse.

Generate j2me netbeans project from lwuit resource editor error

hi i tried to generate netbeans project from lwuit 1.5 resource editor but it give me an error that say:
Problem: The project uses the Java Platform called "Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC", but this platform was not found.
Solution: Click Resolve and create new platform called "Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC".
how to solve this error?
1- Open the Netbeans IDE 7.x.x
2- Select : Tools, Java platforms, Click on the folder J2ME
3- Click on the "Add Platform" button
4- Select Java ME MIDP Platform Emulator, and "next"
5- The platform "C:\WTK2.5.2_01" will be automatically detected. Select it, and click "next"
6- At the tab "Description", in the textfield "Platform Name", write exactly the name: Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC

C/C++ Eclipse project auto ftp on a unix server in eclipse IDE

I have to write code in C/C++ and upload it to a unix server to run it. I am using eclipse IDE. How can I setup eclipse so that when I click Save the file gets uploaded on the server? I have installed RSE (Remote System Explorer). Now I have the my project locally as well as on the server. I need to synch it.Is there any way to do it?