-
Notifications
You must be signed in to change notification settings - Fork 2
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
can't compile the repository #12
Comments
PS: I can't get it to convert into a code block, sorry for the mess. |
Ok, so after digging a while, I found the problem to be the python compiler program not checking if the file is preexisting. I deleted the folders but now it fails to create dev micro-ros environment.
operable program or batch file.` |
Hi, I just cloned the repository using git and am unable to compile it.
Here is the output of my compiler:
`
Processing leocore (platform: [email protected]; board: genericSTM32F401RC; framework: stm32cube)
Verbose mode can be enabled via -v, --verbose option
Firmware Revision: 1.3.0
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F401RC.html
PLATFORM: ST STM32 (15.4.1) > STM32F401RC (64k RAM. 256k Flash)
HARDWARE: STM32F401RCT6 84MHz, 64KB RAM, 256KB Flash
DEBUG: Current (stlink) External (blackmagic, jlink, stlink)
PACKAGES:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ off
Installing importlib-resources with pip at PlatformIO environment
C:\Users\arday.platformio\penv\Scripts\python.exe -m pip install importlib-resources
Requirement already satisfied: importlib-resources in c:\users\arday.platformio\penv\lib\site-packages (6.4.5)
Installing pyyaml with pip at PlatformIO environment
C:\Users\arday.platformio\penv\Scripts\python.exe -m pip install pyyaml
Requirement already satisfied: pyyaml in c:\users\arday.platformio\penv\lib\site-packages (6.0.2)
Installing markupsafe==2.0.1 with pip at PlatformIO environment
C:\Users\arday.platformio\penv\Scripts\python.exe -m pip install markupsafe==2.0.1
Requirement already satisfied: markupsafe==2.0.1 in c:\users\arday.platformio\penv\lib\site-packages (2.0.1)
Configuring genericSTM32F401RC with transport serial
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\Users\arday\OneDrive\Masaüstü\draft\leocore_firmware_ros2\.pio\libdeps\leocore\micro_ros_platformio/build/dev/src':
File "C:\Users\arday.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 173:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\arday.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py", line 620:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\arday.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\arday.platformio\platforms\[email protected]\builder\main.py", line 120:
target_elf = env.BuildProgram()
File "C:\Users\arday.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Util\envs.py", line 252:
return self.method(*nargs, **kwargs)
File "C:\Users\arday.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py", line 62:
env.ProcessProjectDeps()
File "C:\Users\arday.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Util\envs.py", line 252:
return self.method(*nargs, **kwargs)
File "C:\Users\arday.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py", line 152:
plb = env.ConfigureProjectLibBuilder()
File "C:\Users\arday.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Util\envs.py", line 252:
return self.method(*nargs, **kwargs)
File "C:\Users\arday.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 1202:
project.install_dependencies()
File "C:\Users\arday.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 987:
if _is_builtin(spec):
File "C:\Users\arday.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 979:
for lb in self.env.GetLibBuilders():
File "C:\Users\arday.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Util\envs.py", line 252:
return self.method(*nargs, **kwargs)
File "C:\Users\arday.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 1115:
lb = LibBuilderFactory.new(env, lib_dir)
File "C:\Users\arday.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 60:
obj = globals()[clsname](env, path, verbose=verbose)
File "C:\Users\arday.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 153:
self.process_extra_options()
File "C:\Users\arday.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 301:
self.env.SConscript(
File "C:\Users\arday.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py", line 620:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\arday.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\arday\OneDrive\Masaüstü\draft\leocore_firmware_ros2.pio\libdeps\leocore\micro_ros_platformio\extra_script.py", line 158:
build_microros()
File "C:\Users\arday\OneDrive\Masaüstü\draft\leocore_firmware_ros2.pio\libdeps\leocore\micro_ros_platformio\extra_script.py", line 100:
builder.run('{}/metas/{}'.format(main_path, selected_board_meta), cmake_toolchain.path, microros_user_meta)
File "C:\Users\arday\OneDrive\Masaüstü\draft\leocore_firmware_ros2.pio\libdeps\leocore\micro_ros_platformio\microros_utils\library_builder.py", line 63:
self.download_dev_environment()
File "C:\Users\arday\OneDrive\Masaüstü\draft\leocore_firmware_ros2.pio\libdeps\leocore\micro_ros_platformio\microros_utils\library_builder.py", line 94:
os.makedirs(self.dev_src_folder)
File "", line 225:
================================================================ [FAILED] Took 5.83 seconds ================================================================
`
The text was updated successfully, but these errors were encountered: