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.
Upon creating a new project (C/C++ Application) on a network drive, two instances of main.cpp show up under Source Files. Unsurprisingly, this fails to build with a "multiple definition of `main'" error. However, if I remove one instance from the project (or try building and running one of the Netbeans example projects), then it fails to execute, with a "... does not exist or is not an executable" error. These problems do not occur if the project is created on a local drive.
Created attachment 159441 [details] proposed patch
fixed, change set: http://hg.netbeans.org/cnd-main/rev/216330e83444
Integrated into 'main-silver', will be available in build *201606180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/216330e83444 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #258822 Multiple issues if C++ project created on network drive