Forum Replies Created
-
AuthorPosts
-
rohmer
ParticipantOk, fixed the OS by installing an old version of RPI.
LD is still broken.
rohmer
Participantld just grinds forever around 4% of the CPU, using increasingly more memory.
This is on the default hello world project.
rohmer
ParticipantOutput of lsb_release
sualGDB version: 6.0.108.5338
—————— System.Exception ——————
System.Exception: The target system image does not match the selected toolchain:
Command: lsb_release -c
Output:
Codename: trixieat k23.c(zz a)
at k23.a(zz a)
at VisualGDB.Common_GUI.WPF.ItemizedProgressWindow.<>c__DisplayClass2_0`1.<RunAction>b__0()
trace=[k23.c:632, k23.a:71, VisualGDB.Common_GUI.WPF.ItemizedProgressWindow+<>c__DisplayClass2_0`1.<RunAction>b__0:0]rohmer
ParticipantFor the record there is no build dir in Raspberry, and I have no idea where that came from
rohmer
ParticipantThe project is open source and at https://github.com/rohmer/PiMower
All the files are in there.
Thanks!
Ron
rohmer
ParticipantSorry, there was a mistake, RobotLib-Debug is:
<?xml version="1.0"?> <VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ConfigurationName>Debug</ConfigurationName> <Project xsi:type="com.visualgdb.project.linux"> <CustomSourceDirectories> <Directories /> <PathStyle>MinGWUnixSlash</PathStyle> </CustomSourceDirectories> <BuildHost> <Transport>None</Transport> </BuildHost> <DeploymentHost> <HostName>192.168.1.140</HostName> <Transport>SSH</Transport> <UserName>pi</UserName> </DeploymentHost> <MainSourceTransferCommand> <SkipWhenRunningCommandList>false</SkipWhenRunningCommandList> <RemoteHost> <Transport>None</Transport> </RemoteHost> <LocalDirectory>$(ProjectDir)</LocalDirectory> <RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory> <FileMasks> <string>*.cpp</string> <string>*.h</string> <string>*.hpp</string> <string>*.c</string> <string>*.cc</string> <string>*.cxx</string> <string>*.mak</string> <string>Makefile</string> <string>*.txt</string> <string>*.cmake</string> </FileMasks> <TransferNewFilesOnly>true</TransferNewFilesOnly> <IncludeSubdirectories>true</IncludeSubdirectories> <SelectedDirectories /> <DeleteDisappearedFiles>false</DeleteDisappearedFiles> <ApplyGlobalExclusionList>true</ApplyGlobalExclusionList> </MainSourceTransferCommand> <AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands> <SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged> <IgnoreFileTransferErrors>false</IgnoreFileTransferErrors> <RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean> <SkipDeploymentTests>false</SkipDeploymentTests> <MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds> </Project> <Build xsi:type="com.visualgdb.build.make"> <ToolchainID> <ID>com.visualgdb.raspberry_pi</ID> <Version> <GCC>6.3.0</GCC> <GDB>7.12</GDB> <Revision>1</Revision> </Version> </ToolchainID> <MakeFilePathRelativeToSourceDir>Makefile</MakeFilePathRelativeToSourceDir> <MakeConfigurationName>Debug</MakeConfigurationName> <AdditionalMakeArguments /> <MakeCommandTemplate> <SkipWhenRunningCommandList>false</SkipWhenRunningCommandList> <RemoteHost> <HostName>BuildMachine</HostName> <Transport>BuiltinShortcut</Transport> </RemoteHost> <Command>$(ToolchainMake)</Command> <Arguments>$(ToolchainMakeArgs)</Arguments> <WorkingDirectory>$(BuildDir)</WorkingDirectory> <BackgroundMode xsi:nil="true" /> </MakeCommandTemplate> </Build> <Debug xsi:type="com.visualgdb.debug.remote"> <AdditionalStartupCommands /> <AdditionalGDBSettings> <Features> <DisableAutoDetection>false</DisableAutoDetection> <UseFrameParameter>false</UseFrameParameter> <SimpleValuesFlagSupported>false</SimpleValuesFlagSupported> <ListLocalsSupported>false</ListLocalsSupported> <ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable> <ThreadInfoSupported>false</ThreadInfoSupported> <PendingBreakpointsSupported>false</PendingBreakpointsSupported> <SupportTargetCommand>false</SupportTargetCommand> <ReliableBreakpointNotifications>false</ReliableBreakpointNotifications> </Features> <EnableSmartStepping>false</EnableSmartStepping> <FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications> <ForceSingleThreadedMode>false</ForceSingleThreadedMode> <UseAppleExtensions>false</UseAppleExtensions> <CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning> <MakeLogFile>false</MakeLogFile> <IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping> <UseRelativePathsOnly>false</UseRelativePathsOnly> <ExitAction>None</ExitAction> <DisableDisassembly>false</DisableDisassembly> <ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand> <StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry> <ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat> <DisableSignals>false</DisableSignals> <EnableAsyncExecutionMode>false</EnableAsyncExecutionMode> <EnableNonStopMode>false</EnableNonStopMode> </AdditionalGDBSettings> <LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance"> <DebuggedProgram>$(TargetPath)</DebuggedProgram> <GDBServerPort>1996</GDBServerPort> <ProgramArguments /> </LaunchGDBSettings> <GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC> <DeploymentTargetPath>/tmp/$(TargetFileName)</DeploymentTargetPath> <X11WindowMode>Local</X11WindowMode> <KeepConsoleAfterExit>false</KeepConsoleAfterExit> <RunGDBUnderSudo>false</RunGDBUnderSudo> <DeploymentMode>Always</DeploymentMode> <LdLibraryPath /> <DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging> <SuppressTTYCreation>false</SuppressTTYCreation> </Debug> <CustomBuild> <PreSyncActions /> <PreBuildActions /> <PostBuildActions /> <PreCleanActions /> <PostCleanActions /> </CustomBuild> <CustomDebug> <PreDebugActions /> <PostDebugActions /> <DebugStopActions /> <BreakMode>Default</BreakMode> </CustomDebug> <CustomShortcuts> <Shortcuts /> <ShowMessageAfterExecuting>true</ShowMessageAfterExecuting> </CustomShortcuts> <UserDefinedVariables /> <ImportedPropertySheets /> <CodeSense> <Enabled>True</Enabled> <CFLAGS /> <CXXFLAGS /> <ExternalSourceFileList /> <ExtraSettings> <HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders> <SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis> <DiscoverySettings> <Mode>Silent</Mode> <SearchInProjectDir>true</SearchInProjectDir> <SearchInSourceDirs>true</SearchInSourceDirs> <SearchInIncludeSubdirs>true</SearchInIncludeSubdirs> <IgnoredDirs /> <IgnoredHeaders /> </DiscoverySettings> </ExtraSettings> <CodeAnalyzerSettings> <Enabled>true</Enabled> <SelectedAnalyzers> <string>alpha.core.BoolAssignment</string> <string>core.builtin.BuiltinFunctions</string> <string>core.builtin.NoReturnFunctions</string> <string>core.CallAndMessage</string> <string>core.DivideZero</string> <string>core.DynamicTypePropagation</string> <string>core.NonNullParamChecker</string> <string>core.NullDereference</string> <string>core.StackAddressEscape</string> <string>core.UndefinedBinaryOperatorResult</string> <string>core.uninitialized.ArraySubscript</string> <string>core.uninitialized.Assign</string> <string>core.uninitialized.Branch</string> <string>core.uninitialized.CapturedBlockVariable</string> <string>core.uninitialized.UndefReturn</string> <string>core.VLASize</string> <string>cplusplus.NewDelete</string> <string>cplusplus.NewDeleteLeaks</string> <string>deadcode.DeadStores</string> <string>nullability.NullPassedToNonnull</string> <string>nullability.NullReturnedFromNonnull</string> <string>security.insecureAPI.getpw</string> <string>security.insecureAPI.gets</string> <string>security.insecureAPI.mkstemp</string> <string>security.insecureAPI.mktemp</string> <string>security.insecureAPI.UncheckedReturn</string> <string>security.insecureAPI.vfork</string> <string>unix.API</string> <string>unix.cstring.BadSizeArg</string> <string>unix.cstring.NullArg</string> <string>unix.Malloc</string> <string>unix.MallocSizeof</string> <string>unix.MismatchedDeallocator</string> <string>unix.Vfork</string> </SelectedAnalyzers> <ExtraArguments> <string>-analyzer-store=region</string> <string>-analyzer-opt-analyze-nested-blocks</string> <string>-analyzer-eagerly-assume</string> </ExtraArguments> </CodeAnalyzerSettings> </CodeSense> <BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory> <CommonSettingsFile>RobotLib.vgdbsettings</CommonSettingsFile> </VisualGDBProjectSettings2>
-
This reply was modified 8 years, 2 months ago by
support. Reason: formatting
rohmer
ParticipantHere are some examples of files that wont upgrade:
RobotLib.vgbsettings:
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup /> </Project>
RobotLib-Debug.vgdbsettings:
<?xml version="1.0"?> <VisualGDBCommonSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TestFrameworkID>com.sysprogs.unittest.CppUTest</TestFrameworkID> <TestFrameworkSubdirectory>TestFramework</TestFrameworkSubdirectory> <TestFrameworkSettings> <Entries /> </TestFrameworkSettings> </VisualGDBCommonSettings>
Now my release is very different:
<?xml version="1.0"?> <VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ConfigurationName>Release</ConfigurationName> <Project xsi:type="com.visualgdb.project.linux"> <CustomSourceDirectories> <Directories /> <PathStyle>MinGWUnixSlash</PathStyle> </CustomSourceDirectories> <DeploymentHost> <HostName>192.168.2.43</HostName> <Transport>SSH</Transport> <UserName>root</UserName> </DeploymentHost> <AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands> <SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged> <IgnoreFileTransferErrors>false</IgnoreFileTransferErrors> <RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean> <SkipDeploymentTests>false</SkipDeploymentTests> <MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds> </Project> <Build xsi:type="com.visualgdb.build.msbuild"> <ToolchainID> <ID>com.visualgdb.raspberry_pi</ID> <Version> <GCC>4.9.2</GCC> <GDB>7.7.1</GDB> <Revision>4</Revision> </Version> </ToolchainID> <Toolchain> <UnixSystem>false</UnixSystem> <AdditionalPathDirectories> <string>C:\SysGCC\raspberry\bin</string> </AdditionalPathDirectories> <RequireCtrlBreak>false</RequireCtrlBreak> <SourceDirMapping> <Directories /> <PathStyle>MinGWUnixSlash</PathStyle> </SourceDirMapping> <Name>Raspberry PI</Name> <UniqueID>com.visualgdb.raspberry_pi</UniqueID> <Location>C:\SysGCC\raspberry</Location> <GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC> <GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX> <GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB> <AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR> <OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY> <Make>C:\SysGCC\raspberry\bin\make.exe</Make> <UseCygwinBash>false</UseCygwinBash> </Toolchain> <ProjectFile>RobotLib.vcxproj</ProjectFile> <ParallelJobCount>0</ParallelJobCount> <SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages> </Build> <Debug xsi:type="com.visualgdb.debug.remote"> <AdditionalStartupCommands /> <AdditionalGDBSettings> <Features> <DisableAutoDetection>false</DisableAutoDetection> <UseFrameParameter>false</UseFrameParameter> <SimpleValuesFlagSupported>false</SimpleValuesFlagSupported> <ListLocalsSupported>false</ListLocalsSupported> <ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable> <ThreadInfoSupported>false</ThreadInfoSupported> <PendingBreakpointsSupported>false</PendingBreakpointsSupported> <SupportTargetCommand>false</SupportTargetCommand> <ReliableBreakpointNotifications>false</ReliableBreakpointNotifications> </Features> <EnableSmartStepping>false</EnableSmartStepping> <FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications> <ForceSingleThreadedMode>false</ForceSingleThreadedMode> <UseAppleExtensions>false</UseAppleExtensions> <CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning> <MakeLogFile>false</MakeLogFile> <IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping> <UseRelativePathsOnly>false</UseRelativePathsOnly> <ExitAction>None</ExitAction> <DisableDisassembly>false</DisableDisassembly> <ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand> <StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry> <ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat> <DisableSignals>false</DisableSignals> <EnableAsyncExecutionMode>false</EnableAsyncExecutionMode> <EnableNonStopMode>false</EnableNonStopMode> </AdditionalGDBSettings> <LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance"> <GDBEnvironment> <Records> <Record> <VariableName>LANG</VariableName> <Value>en_US.UTF-8</Value> </Record> <Record> <VariableName>PATH</VariableName> <Value>C:\SysGCC\raspberry\bin;%PATH%</Value> </Record> </Records> <EnvironmentSetupFiles /> </GDBEnvironment> <DebuggedProgram>$(TargetPath)</DebuggedProgram> <GDBServerPort>2000</GDBServerPort> <ProgramArguments /> </LaunchGDBSettings> <GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC> <DeploymentTargetPath>/tmp/$(TargetFileName)</DeploymentTargetPath> <X11WindowMode>Local</X11WindowMode> <KeepConsoleAfterExit>false</KeepConsoleAfterExit> <RunGDBUnderSudo>false</RunGDBUnderSudo> <DeploymentMode>Auto</DeploymentMode> <DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging> <SuppressTTYCreation>false</SuppressTTYCreation> </Debug> <CustomBuild> <PreSyncActions /> <PreBuildActions /> <PostBuildActions /> <PreCleanActions /> <PostCleanActions /> </CustomBuild> <CustomDebug> <PreDebugActions /> <PostDebugActions /> <DebugStopActions /> <BreakMode>Default</BreakMode> </CustomDebug> <CustomShortcuts> <Shortcuts /> <ShowMessageAfterExecuting>true</ShowMessageAfterExecuting> </CustomShortcuts> <UserDefinedVariables /> <ImportedPropertySheets /> <CodeSense> <Enabled>Unknown</Enabled> <ExtraSettings> <HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders> <SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis> </ExtraSettings> <CodeAnalyzerSettings> <Enabled>false</Enabled> </CodeAnalyzerSettings> </CodeSense> <BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory> </VisualGDBProjectSettings2>
-
This reply was modified 8 years, 2 months ago by
support. Reason: formatting
rohmer
ParticipantOk, when I do the shift, I get a popup that says “The project contains no configurations that can be converted to MSBuild”
rohmer
ParticipantAttached are the screenies.
Would deleting the vdgsettings file allow me to recreate them, or would it break everything?
Attachments:
You must be logged in to view attached files.rohmer
ParticipantOk, I tried pausing (For like 10 minutes) didnt work.
Another oddity, the “Convert to MS Build” option isnt available on any of my projects 🙁
rohmer
ParticipantFigured it out, was syncing in the wrong place 🙁
-
This reply was modified 8 years, 2 months ago by
-
AuthorPosts