Sysprogs forums › Forums › VisualGDB › Sysroot directory does not exist: /not/exist
- This topic has 8 replies, 2 voices, and was last updated 4 years, 1 month ago by Ankan.
-
AuthorPosts
-
October 4, 2020 at 14:51 #29178AnkanParticipant
When creating a new Linux project with Cross-toolchain: STM32MP1 and try to sync headers and libraries i get this error:
VisualGDB version: 5.4.112.3309
—————— System.Exception ——————
System.Exception: Sysroot directory does not exist: /not/exist
at VisualGDB.Common_GUI.WPF.SysrootSynchronizationWindow.ExtractAndValidateSysrootDirectory(ToolchainDefinition toolchain)
at VisualGDB.WPF.Wizards.Linux.LinuxTargetPage.ControllerImpl.SyncSysroot()I have reinstalled the toolchain but still get that error.
I have tried different builders but without luck
October 4, 2020 at 15:17 #29179supportKeymasterHi,
It looks like you have hardcoded an invalid sysroot directory (/not/exist) somewhere in the settings. Please try creating a new project from scratch and make sure you don’t accidentally specify the invalid sysroot directory.
October 5, 2020 at 00:49 #29181AnkanParticipantI have created 10th of different projects and they all got same error. I even get this error when running the New Linux Project wizard, before the projects actually is created.
I have reinstalled VisualGDB and also the Cross-toolchain STM32MP1 multiple times without luck.
I ran VisualGDB 5.4r12 and is now trying 5.5rc1, but with no success.
Where should sysroot be set or where can I set it to see if that would help as I guess it’s not set?
October 5, 2020 at 00:55 #29182AnkanParticipantIf I change Cross-toolchain to for example ubuntu I can sync, but got lot of errors as it is a architecture mismatch. So I guess the problem lay in the STM32MP1 Cross-toolchain.
October 5, 2020 at 20:28 #29190supportKeymasterThe Ubuntu toolchain indeed will not work for the STM32MP1 target.
That said, the regular STM32MP1 toolchain should work out-of-the-box. We have also rechecked it with the hardware and it did work as expected (the STM32MP1 build scripts indeed set the default sysroot location to /not/exist, however the definition in toolchain.xml overrides it).
Please try updating to VisualGDB 5.5 RC1, then completely delete and reinstall the STM32MP1 toolchain. If it still doesn’t work, please share the screenshots of the wizard, showing how you create the project and how exactly you try to synchronize sysroot, and we will investigate this further.
October 6, 2020 at 10:46 #29191AnkanParticipantI remove all toolchains and doublechecked that c:\SysGCC was deleted. I uninstalled VisualGDB, reboot computer and reinstalled VisualGDB 5.5 RC1. Then I reinstalled the STM32MP1 toolchain from inside the wizard but still same problem.
Then only thing that differ from the openstlinux image on the STM32MP1 is that I have installed g++, rsync, zip, openssh-server, make, sudo, cmake, ninja-build, git and gdb.
I get this /not/exist error even if my STM32MP1 is powered off so I don’t get it. It looks like the error lay in the toolchain, but I have reinstalled it over and over again. If I choose a different toolchain like raspberry or ubuntu I can sync without problem.
I have attached screenshots from the wizard.
Attachments:
You must be logged in to view attached files.October 6, 2020 at 10:47 #29196AnkanParticipant… more screenshots from the wizard.
Attachments:
You must be logged in to view attached files.October 6, 2020 at 18:32 #29201supportKeymasterThanks, we have confirmed the issue. Indeed, the synchronization link in the wizard was not working as expected with this toolchain (the button in VisualGDB Project properties did).
Please try the following build: VisualGDB-5.5.101.3850.msi
October 6, 2020 at 23:40 #29202AnkanParticipantThank you! It works much better.
-
AuthorPosts
- You must be logged in to reply to this topic.