How can I enable msys UNIX paths in Code::Blocks (MinGW)?

2013-05-27T03:27:56

When I use the MinGW shell, I can use all the UNIX dev paths (such as /usr/local/include and /usr/local/lib) in my GCC commands. However, if I try to tell Code::Blocks to include /usr/local/include, it does not recognize it. It seems that when using Code::Blocks, I am not tapping into the msys 'environment'. Is there a way I can do that? For example, I'd love to be able to commit Code::Blocks project files that target those paths and just work regardless of where someone installed MinGW.

Copyright License:
Author:「TheBuzzSaw」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/16762904/how-can-i-enable-msys-unix-paths-in-codeblocks-mingw

About “How can I enable msys UNIX paths in Code::Blocks (MinGW)?” questions

When I use the MinGW shell, I can use all the UNIX dev paths (such as /usr/local/include and /usr/local/lib) in my GCC commands. However, if I try to tell Code::Blocks to include /usr/local/include...
I installed the Code::Blocks on a Windows 10 PC using the downloaded binary codeblocks-20.03-setup.exe. I adjusted the settings to point to my Msys2 MinGW compiler C:\msys64\mingw64 and debugger C:\
I am doing C development on windows and installed Msys2. With Msys2 pacman I installed 64 bit mingw and Glib. I can use the gcc that was installed to compile. The Glib headers is now at C:\msys64\m...
I compiled wxWidgets 2.8.12 using MinGW. To actually do the build I invoked the autotools build files distributed with wxWidgets through the MSYS shell, using an install prefix of H:\MinGW-libs. The
I'm using CMake 3.4.1, on Windows 10, with MSYS2 (everything up-to-date as of Dec. 25 2015). When I use CMake's find_file command, it won't work unless the path is in Windows-style. This is a prob...
I want to compile a Linux C++ application in MinGW/MSYS. However, when I use ./configure --host=i586-mingw32msvc, it complains that libuuid is not available. After googling for a long time, it seems
I am trying to build some open source library. I need a package management system to easily download the dependencies. At first I am using MinGW and MSYS. But the included packages are limited. Som...
I am trying to build some open source library. I need a package management system to easily download the dependencies. At first I am using MinGW and MSYS. But the included packages are limited. Som...
I am unsucessful trying to compile freetype with MinGW/MSYS Here's what I do: From cmd.exe I switch in to MSYS: C:\temp\freetype-2.3.5-1\src\freetype\2.3.5\freetype-2.3.5>bash And then call ...
I write cross-platform software, so I like my Windows environment to be Un*x-like (I'm an old Unix/IRIX/Linux geek). I just care about shells and tools, not so much about compilers or the build

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.