c4ev3 / EV3-Eclipse-Plugin

Create C/C++ EV3 projects and upload them, right out of Eclipse.
http://c4ev3.github.io
5 stars 6 forks source link

Eclipse Neon 2.0 Uploader not found EV3duder.exe in C:\ev3\uploader #2

Closed Paul330 closed 7 years ago

Paul330 commented 7 years ago

Hello I am pretty new to this topic and Eclipse and I hope you can help or know someone who can support me. I installed Eclipse Neon 2.0 cpp and wanted to test the EV3 "Hello World". But when I try to upload and run the programm I always get a message Uploader not found "Ev3duder couldn't be found in ! When I press OK, I get the message The project's uploader path <> is invalid. Try correcting it. But how?

When I start a new project I define the path with C:\ev3\uploader as it is installed automatically. But when I open project\properties\C/C++ Build\Setting\Toolchains --> The line EV3 Uploader (ev3duder) is empty. I tried to use the browse button and copied the path from the explorer but when I Apply and press OK the failure still remains. When I go back to the settings the EV3 Uploader is still empty.

I trying to program my EV3 with the c4EV3 since some weeks but still have problems. As I already wrote I am new to Eclipse and if you would have some more documentation or a workaround it would be a great help.

KR Paul

[This is a continuation of: https://github.com/c4ev3/ev3duder/issues/2]

Paul330 commented 7 years ago

Do you mean the 110MB installer from http://c4ev3.github.io when you write "big c4ev3"?

When you start the EV3 "Hello World" Program and open the project properties, is there anything written in the EV3 Uploader (ev3duder) line?

Do you use Windows 7 or 10? I am using a Windows 10 Desktop upgraded from Windows 7. I have already heard, that this could cause some problems.

a3f commented 7 years ago

Do you mean the 110MB installer from http://c4ev3.github.io when you write "big c4ev3"?

Yes.

When you start the EV3 "Hello World" Program and open the project properties, is there anything written in the EV3 Uploader (ev3duder) line?

Yes, C:\ev3\uploader. You should see this also when creating a new project:

screen shot 2017-04-15 at 15 51 06 screen shot 2017-04-15 at 15 51 16 screen shot 2017-04-15 at 15 51 24 screen shot 2017-04-15 at 15 51 29

Do you use Windows 7 or 10? I am using a Windows 10 Desktop upgraded from Windows 7. I have already heard, that this could cause some problems.

Windows 10, but it was tested on Windows 7 and 8 too.

By the way, you should not need to set search paths yourself for system headers and setting them to your local MinGW installation is wrong.

Paul330 commented 7 years ago

I know that manually add system headers is not the correct way.^^ But it helped to reduce the errors. When I start a new project for EV3 "Hello World, I have the same like you posted above. Only the toolchain path is filled.

image

But when I finish and the source is opened I get 3 errors.

image

You don't have these?

a3f commented 7 years ago

I know that manually add system headers is not the correct way.

It's not even a workaround, even if it were to compile, it would probably crash on the EV3. Header contents are quite implementation-specific.

You don't have these?

No, I don't. Could you try leave the Toolchain path empty in the wizard?

Paul330 commented 7 years ago

Ah. I understand.

I left the path empty but it didn't change anything. I tryed to build the project and got another failure.

image

a3f commented 7 years ago

Do you have the same problem with C projects? What about that EV3_Test1 project that has no error mark?

Paul330 commented 7 years ago

No, other projects work fine. The EV3_Test1 has no error marks because I included the string header manually.^^

a3f commented 7 years ago

Did you miss a comma…? (No other projects work vs. No, other projects work)

Paul330 commented 7 years ago

Edited my comment. ^^

a3f commented 7 years ago

So it finds ev3duder now, but not the C++ headers? Could you confirm that uploading the C hello world example works?

Paul330 commented 7 years ago

No. It still doesn't find the ev3duder.

image

I don't know why the EV3 uploader (ev3duder) is empty.

a3f commented 7 years ago

So other projects don't work fine? You lost me there… I created a temporary IRC channel #c4ev3 on Freenode. I think pair debugging over a forum might not be the most efficient way, if we are both online at the same time. If you have no IRC client installed, you can use https://webchat.freenode.net/

I'll update this issue if we figure out.

Paul330 commented 7 years ago

Sorry. Other c++ projects with MinGW toolchain work without any problems.

One moment pls.

a3f commented 7 years ago

Changing the workspace fixed it.