Skip to content
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

Error when build .exe file (debug) mode #17

Open
robopassio opened this issue Aug 30, 2018 · 3 comments
Open

Error when build .exe file (debug) mode #17

robopassio opened this issue Aug 30, 2018 · 3 comments

Comments

@robopassio
Copy link

I try to follow the video to debug my code on Arduino UNO.
With release mode, I can get a successful compilation as well as flash the code to the target board (default config which is: ../arduino/hardware/avr/1.6.21).
But when I create the debug_confg which used the avr_local (.../hardware/jantje/avr_local), immediately errors occur.
The console as follows:

23:50:21 **** Incremental Build of configuration LocalDebug1 for project DebugTest ****
"L:\\preProcess\\sloeber\\arduinoPlugin\\tools\\make\\make" all 
'Building file: ..\sloeber.ino.cpp'
'Starting C++ compile'
"/bin/g++" -c -g -O0 -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR_LOCAL   -DLOCAL_RUN   -I"G:\eclipseLib\hardware\jantje\avr_local\cores\arduino" -I"G:\eclipseLib\hardware\jantje\avr_local\variants\standard" -MMD -MP -MF"sloeber.ino.cpp.d" -MT"sloeber.ino.cpp.o" -D__IN_ECLIPSE__=1 -x c++ "..\sloeber.ino.cpp"  -o  "sloeber.ino.cpp.o"   -Dsrandom=srand -Drandom=rand
The system cannot find the path specified.
subdir.mk:18: recipe for target 'sloeber.ino.cpp.o' failed
make: *** [sloeber.ino.cpp.o] Error 1

23:50:22 Build Failed. 2 errors, 0 warnings. (took 675ms)

I have taken a long time for this but still cannot solve.
Could you please help to check and give me a solution to this problem.

@jantje
Copy link
Owner

jantje commented Aug 30, 2018

I guess you didn't install the jantje package using the boards manager.

@robopassio
Copy link
Author

Yes, I think so, because I watch your tutorial: https://www.youtube.com/watch?v=ZN-rLSyhBN8
There is no step of installing jantje package using the board manager.
are there any further steps, please help me to make it clear.
Thank you!

@jantje
Copy link
Owner

jantje commented Aug 31, 2018

See the comments on the video. The video is from before I added the jsonf file https://raw.githubusercontent.com/jantje/hardware/master/package_jantje_index.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants