-
Notifications
You must be signed in to change notification settings - Fork 131
Absolute vs Relative pathnames #696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
When doing things like upgrading copying things around and things do not work any more, the first thing to do is: to goto project properties->arduino see if all is ok. If not fix it and if all is ok select apply. |
Hi, What I have is : Then I do : Checked several locations but cannot find where the "previous install" information is stored. |
I think oomph is the "problem".
After doing :goto project properties->arduino see if all is ok. If not fix it and if all is ok select apply? |
OK, next steps are done. For oomph, can you tell me where to find the log and/or how to create that ? For wrong compiler path. I found f.e. the C:\Userdata\ESP8266\Projects\Car.settings\org.eclipse.cdt.core.prefs file. I did not notice this before as you mentioned : |
If you do apply you force all settings to be recalculated. If you click OK settings are only reset when there are changes (like going from Uno to yun).
I have seen oomph logs in the standard log file. But they will only appear when the new workspace is created. |
When you do a |
You can find it at [workspaces].metadata.plugins\org.eclipse.core.runtime.settings |
I am not going to mess around with it.
I think explains the reason. It is a workspace setting and I used the same workspace in \temp.. and \utilities.. Do you also save preferences/info outside the workspace |
everything in windows->preferences->Arduino is eclipse instance level |
Can we close this issue? |
Yes, |
Note that moving workspaces, eclipse instances should update these absolute paths now due to #682 |
Uh oh!
There was an error while loading. Please reload this page.
Not a real issue now (I think) but like to understand.
I was cleaning up sloeber environments which resulted from working on the "clean project issue".
Tried to do that with "just copying" the sloeber directory from test/temp location to the one I always use.
Resulting in include files not found issue. Could not fix that with clean project and/or remove release directory and/or eclipse refresh.
This was due to the usage of absolute pathnames in the compile process.
Did not look into the details (yet) but can you give an indication when/where absolute pathnames are used and whether there is a way to circumvent that ?
Edit :
I even see "old and new" absolute paths being used : c:\temp\sloeber is the old, c:\utilities\sloeber is the new
"C:\temp\sloeber\/arduinoPlugin/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-gcc" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\temp\sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.3.0/tools/sdk/include" "-IC:\temp\sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.3.0/tools/sdk/lwip/include" "-IC:\temp\sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.3.0/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Userdata\ESP8266\Projects\Car/Release/core" -c -Wall -Wextra -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -std=gnu99 -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10609 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DESP8266 -I"C:\Utilities\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266" -I"C:\Utilities\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.3.0\variants\nodemcu" -I"C:\Userdata\ESP8266\Libraries\Sensors" -I"C:\Utilities\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.3.0\libraries\Ticker" -I"C:\Utilities\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.3.0\libraries\Servo" -I"C:\Utilities\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.3.0\libraries\Servo\src" -I"C:\Userdata\ESP8266\Libraries\CommandProcessing" -I"C:\Userdata\ESP8266\Libraries\ESPAsyncTCP" -I"C:\Userdata\ESP8266\Libraries\ESPAsyncTCP\src" -I"C:\Userdata\ESP8266\Libraries\ESPAsyncWebServer" -I"C:\Userdata\ESP8266\Libraries\ESPAsyncWebServer\src" -I"C:\Utilities\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi" -I"C:\Utilities\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src" -I"C:\Utilities\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.3.0\libraries\Hash" -I"C:\Utilities\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.3.0\libraries\Hash\src" -I"C:\Utilities\sloeber\arduinoPlugin\libraries\ArduinoJson\5.8.4" -MMD -MP -MF"core\time.c.d" -MT"core\time.c.o" -D__IN_ECLIPSE__=1 "C:\Utilities\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\time.c" -o "core\time.c.o"
The text was updated successfully, but these errors were encountered: