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 268103

Summary: "The project tool collection does not equal to real compiler" window appears
Product: cnd Reporter: soldatov <soldatov>
Component: Project DiscoveryAssignee: Alexander Simon <alexvsimon>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Other   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2016-09-19 18:11:05 UTC
CMakeLists.txt:
===================================
project(Test)
cmake_minimum_required(VERSION 2.8)
set(SRC main.cpp)
add_definitions(-DAAA=1)
add_executable(Test ${SRC})

main.cpp:
===================================
#if AAA != 1
# error AAA != 1
#endif

int main() {
    return 0;
}

Platform: Windows 10
Compiler: MinGW

Scenario:
- Call "C/C++ Project with Existing Sources" wizard
- Press Next button
- Select folder with CMakeLists.txt
==> "Use Build Analyzer" check box is switched on
- Press Finish button
==> IDE builds project, but "The project tool collection does not equal to real compiler" window appears
Comment 1 Alexander Simon 2016-11-15 12:32:09 UTC
fixed in enum, branch release82, change set 92efaf8d3770
Comment 2 Quality Engineering 2016-11-23 03:19:04 UTC
Integrated into 'main-silver', will be available in build *201611230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/dbd7a137f9b8
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #268103 "The project tool collection does not equal to real compiler" window appears
(transplanted from 92efaf8d37707aec3f73a4951f9faf79dd3cec04)
Comment 3 soldatov 2016-12-12 10:17:24 UTC
I see this dialog window on Cygwin test machine.
Comment 4 soldatov 2016-12-14 08:55:07 UTC
Verified in NetBeans IDE 8.2 (Build 201612122312)

This fix doesn't resolve all my problems with this dialog, therefore I created issue 269327.