Mingw Questions
Ad
Declaring more than one variable in a single line
I am new to coding, and my team mates mentioned that i should not declare more than one variable in a single line. i code in c, and i noticed alot
\a (Alarm and beep) escape sequence character not working in C language
I don't know why \a is not working. my code is working and displays in terminal. my code: #include <stdio.h>
Compiling C using make in windows (MinGW)
I am following the book "learn c the hard way" and i have reached the section where you compile the code using makefiles. i keep getting
Common Item Dialog interfaces not included in minGW?
I'm writing a program for windows 10 in c using mingw. i have the latest version. i want to display an open file dialog, which is easy to do with
Basic SDL2 app compiles with MinGW-w64 but doesn't run
I'm trying to set up a sdl2 and c development environment on windows 10 with mingw-w64. when trying to run the basic c app with sdl
How to build GMP in MSYS2?
I would like to use gmp on windows, and i need to build static programs. (which means that, if anyone can provide another solution to compile
Socket with mingw32 on windows, implicit declaration
I have a problem coding with windows socket with mingw-gcc. i have a code that uses inetpton() function from windows sockets. i included
Eclipse CDT - problem linking to windows lib files
I'm getting the folling linker errors when compiling with gcc: undefined reference to `[email protected]' undefined reference
Using Component Object Model (COM) on non-Microsoft platforms
I'm regularly running into similar situations : i have a bunch of com .dlls (no idl files) which i need to use and invoke to be able to access
Python+SWIG+MinGW - setup.py builds the source and the pyd file, python "cannot find the module"
I'm using mingw to build a pythonc module using swig. when i tell python to load the module, it fails and complains that python cannot find the
Ad
Multiple definition error of StringCchPrintfW when cross-compling with MinGW on Alpine linux
I'm cross-compiling opencascade on alpine linux for windows with mingw and run into a multiple definition linking error of
Git bash or NPM on Windows is converting an argument into a path
I am writing a node.js script to patch server files. our development machines are windows, but the servers are linux. when i execute run
Pip on MINGW64?
I was trying to install jupyter via msys2 shell on a windows 10 machine (as per
Import a still installed PyPi package in MinGW environment
I have problems doing import of packages i installed via pip3 in a mingw environment. the module is
Different compilers showing different results for sizeof() operator
#include<stdio.h> int main(void) { unsigned const* const a, b; printf("size of a: %ld, size of b: %ld ",
Cross compile modern C++ from Linux to Windows
I have some modern c++ sources (c++17, say) and i have no problem compiling complex source base on linux for linux 32/64, and on windows for
Make - Internal compiler Error under QT 5.14.2 "Q_CORE_EXPORT"
I just installed qt creator with qt under win10 to build an already existing project. (under ubuntu everything went fine running the make file).
Can not connect sqlite3 with c using mingw on windows
I want to use sqlite3 as a database interface for my c++, so i decided to start from this tutorial:
link ocilib using mingw g++ on windows
I'm trying to use ocilib.h that i downloaded from the internet. it work just find went i using visual studio 2017. but because of my machine i
Undefined references for mat.h in C
I'm trying to run the example code found in the examples folder within matlab's extern examples directory. /* * create a simple
gcc.exe fail when building cloudflare-zlib-sys.rs
I am trying to install sheep_cli for amethyst.rs game engine. i have x86_64-8.1.0-posix-seh-rt_v6-rev0
Ad
GCC x64 on Windows
I tried installing cygwin64, but i cannot find any executables to build my code with in the c:\cygwin64 directory created. i tried
The sleep function is not functioning as expected
The sleep function here is functioning differently on windows and linux. #include <stdio.h> #include
How do I determine the source of this memory change/corruption?
I am currently developing a vulkan program that i anticipate to use as a game engine, but i am far from my goal. as a first step, i'm just trying
My C program's "for" loop is stalling after 3 iterations
I've made a simple c program for reversing practice - however, when i enter a name and password, it iterates thrice through the for
I am using MinGw compiler, whenever I'm trying to debug the code gets error failed. And why its location is of cygwin as I am using mingw
Active debugger config: gdb/cdb debugger:default building to ensure sources are up-to-date selecting target: debug adding source dir:
fwrite() c function writing extra bytes
I'm using eclipse for c (version: 2020-03 (4.15.0) build id: 20200313-1211) and mingw (version 0.6.3-pre-20170905-1). i have been playing
Why does printf() with \n still not flush on Windows?
My windows program (compiled using msys2 mingw64) outputs its stdout data in large blocks. a printf() call with a
makefile: No rule to make target '%.o'
I have 3 files: source.cpp 2ndfile.cpp 2ndfile.hpp and i'm trying to compile them with mingw32-make makefile that doesn't
How can I simply use pure Mingw GCC after installing MSYS(2)?
So i've been reading online but i'm still very confused. i understand that there are different tools in the linux-on-windows world: msys, msys2,
C main parameter
I wrote a code which has to display main parameters, but when i compiled it and typed in "*" program shows my file structure. command in
What is the correct way to ship a program built using MSYS2 and MingW to end users?
I'm building a c application on windows using msys2 and mingw. this application will be shipped to desktop windows machines of end users
Ad
How can the compiler in C get the difference between the address of the first element of the array and the address of the whole array?
Given this problem and i'm fully aware of the facts of : 1) the name of an array is a fixed pointer to the first element of it.
What is `ac_cv_func_malloc_0_nonnull` as provided to ./configure?
I'm cross-compling with mingw and got this error: undefined reference to `rpl_realloc' after
Why does linking with `mingw32` solve this compilation problem with SDL2?
I'm learning development using sdl2 with c on windows and mingw. i tried the following command to compile my program: gcc
Compiling with 64-bit MinGW on Code::Blocks
I'm trying to set up my code::blocks installation to work with the sdl2 graphics api. as the documentation suggests, once i had everything
Which MinGW packages should I install?
I'm just starting to dip my toes on coding, starting with c. i asked people how to set an environment for c coding, they said vscode for editing
Error when using gcc (minGW) to build .exe with same filename?
I've been trying to build another .exe file with the same name in mingw, but everytime i run the command: gcc file.c -o file.exe i
Typing g++ --version is showing the wrong version in windows
I am on windows 7, installed mingw a while ago, now i need to use it but i need g++ version 5.4.0 and above. so i went into mingw installation
Do libraries compiled with MinGW work with MSVC?
Problem: i would use a mingw library in visual studio project. how my system is built: i
How to run a script which can determine whether cmd.exe or gnu mingw shell is running
I want to write a script which runs some git commands on windows 7 platform. the users have git tools installed or at least mingw - the
Ad
Blog Categories
Ad