Go Down

Topic: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches (Read 292314 times) previous topic - next topic

tekdev

Solved. 

Please disregard my previous message. 

The problem seems to be an artifact of me decompressing the V4.1_win64.2017-05-25_16-52-16.tar.gz using Cygwin and tar -xvf.  When I instead decompressed the file using Peazip the problem went away.  I suspect that this has something to do with permissions being set differently when decompressing the Cygwin way but I'm not going to look into it any deeper and the ide is now working.

Thanks :)

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

robert_j

Error message after adding the NewliquidCrystal library 1.3.4 (Francisco Malpartida)


I'm getting two errors that open a dialog box when building a sketch using this library:

ArchiveNameProvider: The call should go to the overloaded function not here.
LinkNameProvider: The call should go to the overloaded function not here.

I was unable to find reference to this error other than it's existence in some Java code for the plugin source.  Any ideas?

Update:  I don't get the message if I perform a clean followed by build.  Upon further builds however I get the dialog box.

Update2: Well I've resolved it by recreating the project and copying in my source files.  I no longer get the dialog boxes when compiling.


Jantje

These error messsages indicate that the project setup is seriously corrupted and base classes are called instead of the derived classes
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

extrawing

Hi Guys,
I'm playing with the plugin v4.1 for Eclipse (Oxigen 4.7) on Ubuntu 16.
I've created a sample project in Eclipse.
I'm trying to configure a "Release" build which doesn't use "-g" option.
I tried to remove that "-g" from "A.COMPILER.CPP.FLAGS" variable (Project settings -> C/C++ build -> Environment).
But it seems my changes in this section are ignored: after reopening of these settings "-g" is here again...
And console shows me that avr-g++ is called with "-g" option.
What is the right way to eliminate usage of "-g" option?
Thanks!

Jantje

All A.XXXX environment variables are Automatically maintained by Arduino ;-)
So you never know when they are being set back to what it "should be".
The place to change these settings is the platform.txt file.
I'm not sure why you want a release but I made a couple of "boards" you can find here https://github.com/jantje/hardware
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

extrawing

Jantje, thank you for clarification.
Yeah, I've tried to fix those "-g" compiler settings in the following file:
"~/eclipse/arduinoPlugin/packages/arduino/hardware/avr/1.6.19/platform.txt"
However with new settings I've got much smaller myproj.elf file, size of the resulting myproj.hex file is not changed.
Also, avrdude logs has shown me same sizes of uploaded binaries on both cases.
I guess that all the debugging info is stripped out from the resulting binary, so there is no sense to remove the mentioned compiler option.

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Daggers

Hey Jantje

I've been trying to install your 4.1 product and have fallen on this issue when trying to upload a sketch to my boards.



Program "C:\sloeber\arduinoPlugin\packages\tools\arm\bin\arm-none-eabi-g++" not found in PATH

Program "C:\sloeber\arduinoPlugin\packages\tools\arm\bin\arm-none-eabi-gcc" not found in PATH      

I checked the program files and they don't exist

I had the same problem when I tried using your plugin.

Here are my details

System: 64bit Windows 10
Boards: Arduino UnoR3 (sparkfun)
Teensy3.2

I had the same problem with both boards.

As well as this, the IDE seems to not recognise arduino fuctions like digitalWrite, digitalRead, pinMode, or delay.

Jantje

The links are 3.X links which will not work with 4.0. I assume you have a old project that needs updating like explained here http://eclipse.baeyens.it/how_to.shtml#/n
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Jimconrad

Has any other mac user encountered, "'sloeber' is damaged and can't be opened.  You should move it to the Trash" when attempting to execute sloeber after expanding V4.1mac64.2017-05-25_16-52-16.tar?

The tar file seems to expand just fine, but repeated attempts to download, expand and execute sloeber all fail.

Jim Conrad
macOS 10.12.6

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

pcarew

- I downloaded the V4 Product 64KB bundle onto a Windows 10 platform.
- I used cygwin to gunzip and then extract the files using tar (why not just a simple ZIP on a windows platform?)
- I went to run the sloeber-ide.exe and Windows blocked me saying that I didn't have permission.
- I tried this also using admin privileges....same result.

- I went back to Cygwin and used chmod +x to add execution mode to file.
This time Windows complained that it was missing companion libraries...

Where to from here?

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

pcarew

It's not my intention to create an issue, I just didn't know where else to ask for help.


I really want to get this up and running, but I'm stuck.

Go Up