I have a problem trying to compile marlin firmware, every time I attempt to build on mega 2560 I get the following error, usually I get the error regardless of attempting to compile and it happens when I open the folder containing my marlin install.
My marlin install/ folder is the most up top date 2.0.X version, non bugfix, though i have tried the bugfix version and get the exact same error.
I have attempted to reinstall every thing related, VS, marlin folder, plugins, even with computer and VS restarts in between and nothing seams to work and I keep getting the same error/
any aid here would be greatly appreciated.
This is what I get in the terminal below:
PS D:\Pherouzs'\3Dprinting\marlin-shannanigans\Marlin-2.0.x> platformio run --silent -e mega2560
cc1plus.exe: fatal error: opening output file D:\Pherouzs\3Dprinting\marlin-shannanigans\Marlin-2.0.x\Marlin\Marlin.ino.cpp: No such file or directory
compilation terminated.
*** Error 1
AssertionError: :
File "C:\Users\johnm\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 175:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\johnm\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\johnm\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\johnm\.platformio\platforms\atmelavr\builder\main.py", line 162:
target_elf = env.BuildProgram()
File "C:\Users\johnm\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py", line 242:
return self.method(*nargs, **kwargs)
File "C:\Users\johnm\.platformio\penv\lib\site-packages\platformio\builder\tools\piobuild.py", line 61:
env.ProcessProgramDeps()
File "C:\Users\johnm\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py", line 242:
File "C:\Users\johnm\.platformio\penv\lib\site-packages\platformio\builder\tools\piobuild.py", line 121:
env.BuildFrameworks(env.get("PIOFRAMEWORK"))
File "C:\Users\johnm\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py", line 242:
return self.method(*nargs, **kwargs)
File "C:\Users\johnm\.platformio\penv\lib\site-packages\platformio\builder\tools\piobuild.py", line 339:
env.ConvertInoToCpp()
File "C:\Users\johnm\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py", line 242:
return self.method(*nargs, **kwargs)
File "C:\Users\johnm\.platformio\penv\lib\site-packages\platformio\builder\tools\pioino.py", line 237:
out_file = c.convert(ino_nodes)
File "C:\Users\johnm\.platformio\penv\lib\site-packages\platformio\builder\tools\pioino.py", line 85:
return self.process(contents)
File "C:\Users\johnm\.platformio\penv\lib\site-packages\platformio\builder\tools\pioino.py", line 106:
assert self._gcc_preprocess(contents, out_file)
======================================================================================================================================= [FAILED] Took 1.25 seconds =======================================================================================================================================
Environment Status Duration
------------- -------- ------------
mega2560 FAILED 00:00:01.250
================================================================================================================================== 1 failed, 0 succeeded in 00:00:01.250 ==================================================================================================================================PS D:\Pherouzs'\3Dprinting\marlin-shannanigans\Marlin-2.0.x> echo "done" >"C:\Users\johnm\AppData\Local\Temp\ipc"
PS D:\Pherouzs'\3Dprinting\marlin-shannanigans\Marlin-2.0.x>