Sysprogs forums › Forums › VisualGDB › VisualGDb cannot use Mingw64 version 5.0
- This topic has 3 replies, 2 voices, and was last updated 6 years, 5 months ago by
support.
-
AuthorPosts
-
September 6, 2018 at 17:31 #21891
b.timofte
ParticipantDear all
I try to use the latest Mingw and even the toolchain is detected correctly:
<?xml version=”1.0″?>
<CustomToolchain xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
<Toolchain>
<UnixSystem>false</UnixSystem>
<AdditionalPathDirectories>
<string>C:\MinGW_x64_32\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64\bin</string>
<string>C:\MinGW_x64_32\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64\msys\1.0\bin</string>
</AdditionalPathDirectories>
<RequireCtrlBreak>false</RequireCtrlBreak>
<SourceDirMapping>
<Directories>
<SourceDirMappingEntry>
<RemoteDir>/mingw</RemoteDir>
<LocalDir>C:\MinGW_x64_32\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64</LocalDir>
</SourceDirMappingEntry>
</Directories>
<PathStyle>MinGWUnixSlash</PathStyle>
</SourceDirMapping>
<Name>MinGW</Name>
<UniqueID>com.sysprogs.imported.mingw1</UniqueID>
<Location>.</Location>
<GCC>C:\MinGW_x64_32\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64\bin\gcc.exe</GCC>
<GXX>C:\MinGW_x64_32\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64\bin\g++.exe</GXX>
<GDB>C:\MinGW_x64_32\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64\bin\gdb.exe</GDB>
<AR>C:\MinGW_x64_32\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64\bin\ar.exe</AR>
<OBJCOPY>C:\MinGW_x64_32\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64\bin\objcopy.exe</OBJCOPY>
<Make>C:\MinGW_x64_32\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64\bin\mingw32-make.exe</Make>
<UseCygwinBash>false</UseCygwinBash>
</Toolchain>
<Type>Windows</Type>
<Target>x86_64-w64-mingw32</Target>
<Version>
<GCC>8.1.0</GCC>
<GDB>8.1</GDB>
<Revision>0</Revision>
</Version>
<Name>MinGW</Name>
<IsShared>false</IsShared>
</CustomToolchain>I get error at compile (MsBuild)
Error:
1>l71+l1: Could not find the toolchain com.sysprogs.imported.mingw1 8.1.0/8.1/r0
1> at l71.i(RemoteHostSettings d, ToolchainKey b, ToolchainType c, in a)
1> at l91..ctor(VisualGDBProjectSettings2 e, x2 c, at a, j2 b, in f, IDELevelProjectInfoForBuilding d)
1> at xu..ctor(VisualGDBProjectSettings2 d, x2 c, IDELevelProjectInfoForBuilding a, at b)
1> at VisualGDB.MSBuild.BuildHelper..ctor(String vgdbSettingsFile, IDELevelProjectInfoForBuilding info)
1> at Sysprogs.build.tasks.shared.LaunchVisualGDB.Execute()
1>C:\Program Files (x86)\Sysprogs\VisualGDB\MSBuild\Targets\external.targets(5,3): error : Could not find the toolchain com.sysprogs.imported.mingw1 8.1.0/8.1/r0Can you please help ?
-
This topic was modified 6 years, 5 months ago by
b.timofte.
September 6, 2018 at 19:55 #21895support
KeymasterHi,
Please try restarting Visual Studio. If it doesn’t help, please let us know how did you import the toolchain (automatic installation via VisualGDB, manual import, copied the XML file, etc.) and whether the toolchain is shown in the VisualGDB Package Manager or the toolchain selector in the wizard.
September 7, 2018 at 11:25 #21900b.timofte
ParticipantHello
It was MSbuild project
I restarted and i get the same error
Strangely if i make a new gnu make project with this compiler it works . If i convert it to msbuild i get the error.
September 8, 2018 at 01:51 #21909support
KeymasterHi,
Strange. The MSBuild-based projects use a different mechanism for locating the toolchain property sheets, although it should be automatically synchronized to the mechanism used for GNU Make.
Could you please share your %LOCALAPPDATA%\VisualGDB\FindToolchain.props file and the .vcxproj file so we could check for possible causes of this?
-
This topic was modified 6 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.