msys

configure: error: no acceptable C compiler found in $PATH

我与影子孤独终老i 提交于 2019-12-05 07:02:34
I am trying to Build and Install the Apache Thrift compiler and libraries I had to type this command is shown in instructions ./configure && make But I get this error: checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/PATH/TO/thrift-0.9.3': configure: error: no acceptable C compiler found in $PATH When I type in my command prompt gcc --version I get this gcc (GCC) 5.3.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

cmake MSYS Makefiles generator missing

拈花ヽ惹草 提交于 2019-12-05 02:06:20
I have cmake 3.2.3 installed via pacman. I get an error when I try to use it from a msys64 shell: $ cmake -G "MSYS Makefiles" .. CMake Error: Could not create named generator MSYS Makefiles cmake --help does not list it as an available generator. I do see there is an MSYS.cmake in /usr/share/cmake-3.2.3/Modules/Platform. What am I missing? Instead of installing the cmake package, I think you need to install mingw-w64-i686-cmake (or the 64-bit version mingw-w64-x86_64-cmake ). If you compile native Windows binaries on Linux with MinGW The MinGW and MSYS generators are only available on Windows

Where can I get the fmt binary for MSYS/MinGW?

拥有回忆 提交于 2019-12-04 18:49:52
I am using virtualenvwrapper with Git Bash (msysGit). Mostly this works fine, but the lsvirtualenv command relies on the fmt unix command, which is not currently on my path. I would like to add only fmt.exe to my Git Bash bin if possible, in the interests of doing a minimal install. For the life of me I cannot find a standalone fmt - it looks like it used to be a part of MSYS coreutils, but is now no longer present. Please could someone give me some pointers on how to proceed? It's not an exe, but, I have a simple(ish) fmt replacement written in Python, by me and Donn Seeley. It's Unix/Linux

CMake failing to statically link SDL2

◇◆丶佛笑我妖孽 提交于 2019-12-04 10:12:42
I'm trying to build a simple SDL2 game with CMake and MSYS Makefiles. I want to statically link SDL2 so I can distribute a single executable without having to include the SDL2.dll. Here's my CMakeLists.txt file: project(racer-sdl) cmake_minimum_required(VERSION 2.8) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_EXE_LINKER_FLAGS "-static") include(FindPkgConfig) pkg_search_module(SDL2 sdl2) if (SDL2_FOUND) message(STATUS "Using SDL2") add_definitions(-DUSE_SDL2) include_directories(${SDL2_INCLUDE_DIRS}) link_directories(${SDL2_LIBRARY_DIRS}) link_libraries(${SDL2_LIBRARIES})

How do I get Windows cmd FOR to 'play-nice' with drag-n-drop

寵の児 提交于 2019-12-04 05:00:14
问题 I had a very straight forward little batch script. The design outline is simple enough ... I want to touch every file ' dropped '. There is a Windows short-cut on the desktop that calls a batch (.cmd) script. Select some files with Windows Explorer Drag-n-Drop the selection onto either the short-cut icon or the command file directly. The script loops over the list of files dropped onto the icon. The script uses the FOR command to call the command one file at a time. Anyway there are several

msysm2 拉取配置

左心房为你撑大大i 提交于 2019-12-04 04:36:43
pacman -Ss 包软件名 进行搜索 //源码拉取环境 hg pacman -S msys/mercurial svn pacman -S msys/subversion git pacman -S msys/git fossil pacman -S mingw64/mingw-w64-x86_64-fossil //-编程环境 来源: https://www.cnblogs.com/marklove/p/11831539.html

Building the latest iconv and libxml2 binaries in Win32

假装没事ソ 提交于 2019-12-04 04:03:50
I'm trying to get MinGW and MSYS working so I can build iconv and libxml2 in Windows, but I'm finding ./configure and make are giving lots of BSD/Unix related errors that aren't specific enough to google, and not descriptive enough for me to figure out. Can anybody go through some of the steps needed to get iconv and libxml2 .dll/.lib built on a Win32 machine? I'm updating the libraries for some software and I fiddled around with this all day today and haven't figured it out. I got the newest libpng, zlib and curl built with no issues but I see there isn't much support or how-to's for these

Msys shell command to change the attributes of a file

烂漫一生 提交于 2019-12-04 03:35:15
问题 Please let me know a MSYS shell command that can be used for changing the attributes of a file. When I ran a command as ls -l I got the following : -rw-r--r-- 1 lenovo Admin .....m4sugar.m4 I want to provide full access rights. Any help is highly appreciated. Thanks 回答1: @cdhowie is right; this is a bug of msys tracked there -> http://sourceforge.net/tracker/?func=detail&atid=102435&aid=3071537&group_id=2435 It cannot do anything more useful than it already does, unless it fakes it in the

Eclipse CDT plugin problems

独自空忆成欢 提交于 2019-12-04 01:26:55
问题 im trying to run a c program on my windows 7 computer using eclipse and im running into a little snag. I currently have Eclipse downloaded on my computer with the CDT plugin and i have also downloaded Mingw and set it to my path. When i build my simple "Hello world" program it does create a debug file with the makefile and everything in it but the concle dialog states **** Build of configuration Debug for project C_Test **** make all `Cannot run program "make" (in directory "C:\Users\Chmoder

Seething over MSYS shell - is it replaceable?

非 Y 不嫁゛ 提交于 2019-12-03 16:05:27
问题 I need a serviceable shell for MSYS. This is my current dilemma: The default rxvt.exe has a scroll bar and copy and paste, but doesn't send control characters or arrow keys to a running program in the shell (like interpreters/debuggers). This is a real thorn when using the Haskell interpreter ghci. The other shell sh.exe handles control characters (or at least some of them), but has no scroll bar or copy and paste. rxvt also has (relatively) more issues with output buffering What are my