c++ - How to stop NetBeans from using Cygwin bin directory and make it use that of MSYS? -


i have installed cygwin @ c:\cygwin64 , mingw @ c:\mingw\msys\1.0\opt\windows_64. msys , mingw bin directories in path variable, cygwin's not. netbeans configured use mingw tool collection in tools > options > c/c++ > build tools. make command option set c:\mingw\msys\1.0\bin\make.exe.

the problem comes when run tests (alt+f6). following error:

  2 [main] mkdir 888 c:\cygwin64\bin\mkdir.exe: *** fatal error - error while loading shared libraries: c: cannot open shared object file: no such file or directory 443 [main] mkdir 888 cygwin_exception::open_stackdumpfile: dumping stack trace mkdir.exe.stackdump 

similar errors regarding rm.exe , grep.exealso appear. seems somehow netbeans manages find cygwin binaries though not in path. binaries causing errors within msys bin directory (which in path), netbeans not see them.

surprisingly tests pass, errors make compilation slow.

i tried changing name of cygwin's installation directory else, , works, not solution.

so how can make netbeans forget c:\cygwin64\bin , use solely c:\mingw\msys\1.0\bin?

i having same problem , couldn't find proper solution. can workaround , rename cygwin installation dir while use netbeans , works fine, quite dirty. thought @ least workaround may since topic opened 2 years :)

the reason why cygwin used unclear if go "tools"->"open in terminal" know 2 things: - if works, cygwin referenced because terminal not work mingw - $path variable starts "/usr/local/bin:/usr/bin", when checking /usr/bin, there cygwin binaries

i assume if cygwin folder gets renamed, /usr/local/bin & /usr/bin fail provide required binaries (like mv.exe, mkdir.exe...) , next folders in $path used mingw kicks in.

as said, couldn't find proper configuration. tried modify %path% variable in windows without luck (cygwin not mentioned there).


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -