marlin-config icon indicating copy to clipboard operation
marlin-config copied to clipboard

Compilation errors

Open witorwitor opened this issue 6 years ago • 3 comments

When I try to compile I get lots of errors. I have installed Python2.7.14. I have already tried pip install -U platformio and pip install -U https://github.com/platformio/platformio-core/archive/develop.zip

Both seemed to work, but I am just getting this:

[11/08/17 00:05:15] Processing anet10 (platform: atmelavr; lib_deps: [email protected]; upload_speed: 57600; board: sanguino_atmega1284p; framework: arduino)

Verbose mode can be enabled via -v, --verbose option Converting Marlin.ino 'avr-g++' is not recognized as an internal or external command, operable program or batch file. *** Error 1 AssertionError: : File "C:\python27\lib\site-packages\platformio\builder\main.py", line 156: env.SConscript("$BUILD_SCRIPT") File "C:\Users\Witor.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 541: return _SConscript(self.fs, *files, **subst_kw) File "C:\Users\Witor.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 250: exec file in call_stack[-1].globals File "C:\Users\Witor.platformio\platforms\atmelavr\builder\main.py", line 218: target_elf = env.BuildProgram() File "C:\Users\Witor.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(*nargs, **kwargs) File "C:\python27\lib\site-packages\platformio\builder\tools\platformio.py", line 58: env.BuildFrameworks(env.get("PIOFRAMEWORK")) File "C:\Users\Witor.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(*nargs, **kwargs) File "C:\python27\lib\site-packages\platformio\builder\tools\platformio.py", line 256: env.ConvertInoToCpp() File "C:\Users\Witor.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(*nargs, **kwargs) File "C:\python27\lib\site-packages\platformio\builder\tools\piomisc.py", line 189: out_file = c.convert(ino_nodes) File "C:\python27\lib\site-packages\platformio\builder\tools\piomisc.py", line 54: return self.process(contents) File "C:\python27\lib\site-packages\platformio\builder\tools\piomisc.py", line 77: assert self._gcc_preprocess(contents, out_file) [ERROR] Took 0.87 seconds

[SUMMARY] Environment megaatmega2560 [SKIP] Environment megaatmega1280 [SKIP] Environment printrboard [SKIP] Environment anet10 [ERROR] [ERROR] Took 0.87 seconds Environment printrboard_revf [SKIP] Environment brainwavepro [SKIP] Environment rambo [SKIP] Environment sanguino_atmega644p [SKIP]

Done.

witorwitor avatar Nov 08 '17 00:11 witorwitor

Did you try to execute the command platformio run from terminal where placed platformio.ini directly?

akaJes avatar Nov 08 '17 10:11 akaJes

Yes and I get exactly the same list of errors

witorwitor avatar Nov 08 '17 17:11 witorwitor

This is PlatformIO issue, as you understand. I can suggest only to remove cache folders aka .pio from marlin project folder - it looks like the toolchains dowloading errors

8 лист. 2017 19:51 "witorwitor" [email protected] пише:

Yes and I get exactly the same list of errors

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/akaJes/marlin-config/issues/16#issuecomment-342899373, or mute the thread https://github.com/notifications/unsubscribe-auth/AC5QgthvodmDLayoDLIzDIFhFTdXkvEjks5s0eo0gaJpZM4QVp3w .

akaJes avatar Nov 09 '17 07:11 akaJes