This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270300 - Toolchain Include Directories are not resolved correctly with pure MSYS2 (without MinGW)
Summary: Toolchain Include Directories are not resolved correctly with pure MSYS2 (wit...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: Dev
Hardware: All Windows 10
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-04 17:59 UTC by ilia
Modified: 2017-04-13 11:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ilia 2017-04-04 17:59:19 UTC
Note: the whole bug below may be not valid since MSYS2 without MinGW is not officially supported.

I have a pure MSYS2, steps I did to setup MSYS2:

-- Download latest x86_64 MSYS2 installer
-- launch MSYS2 shell
-- pacman -S gcc make gdb

All basic headers and libs are installed.

First problem:
IDE doesn't see MSYS2 as a valid toolchain. (new_tool_collection.png)

Second probem:
I have Include Dirs like this in Code Assistance:
C:\msys64\usr\usr\include

but they should look like 
C:\msys64\usr\include
Comment 1 Alexander Simon 2017-04-05 12:23:57 UTC
fixed in enum, branch release82, changeset a7b27004a894
Comment 2 ilia 2017-04-05 14:26:57 UTC
Additional fix 315171:75155582a8d6
Comment 3 ilia 2017-04-05 14:27:56 UTC
Fix above enables automatic detection of a new toolchain when path is provided.
Comment 4 Quality Engineering 2017-04-11 01:52:16 UTC
Integrated into 'main-silver', will be available in build *201704110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ee5a880fd8dd
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #270300 Toolchain Include Directories are not resolved correctly with pure MSYS2 (without MinGW)
(transplanted from a7b27004a8942e30f527be40b08e7aa7754826ea)
Comment 5 ilia 2017-04-13 11:06:24 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=270300 Changesets:
    http://hg.netbeans.org/releases/rev/a7b27004a894 # fixed Bug #270300 Toolchain Include Directories are not resolved correctly with pure MSYS2 (without MinGW)
    http://hg.netbeans.org/releases/rev/75155582a8d6 # Additional fix for #270300 - Toolchain Include Directories are not resolved correctly with pure MSYS2 (without MinGW)