mingw

USe function from user32.dll in Qt4 application

Hi, i am unable to use the function MonitorFromPoint in my Qt application. I have the latest Qt SDL 2010.05 with mingw on Windows XP #include <QtCore/QCoreApplication> #include<windows.h> #include <winuser.h> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); POINT pt; MonitorFromPoint(pt,2); return a.ex...

How can I fix these OpenGL linking problems in MinGW?

I have a project that I have been coding on OS X that I am now trying to get building on Windows. I have set up MinGW, created a makefile, and after a good deal of finagling everything compiles, however when it gets to the linker step a great number of errors occur along the lines of: SourceFile.cpp:(.text+0x1809): undefined reference t...

Mingw and make variables

I'm trying to compile an open source project on windows under mingw/msys. The makefile contains (among others) this line @${MAKE} --no-print-directory -C . -f physfs.make physfs.make contains (among others) these lines: ifndef CC CC = gcc endif when I ran make I get the following error: Creating obj/Debug/physfs physfs.c make[1...

GCC/MingW compiling on different versions

Hi, I'm wondering can I use static libraries (lib*.a files) compiled with one version of MingW and use them on the other version ? Or do I have to recompile all libraries ? ...

Setting Up Netbeans with MINGW on Ubuntu 10.10

i am currently trying to develop an JNI(Native) component for a Java application, I would like to compile my native components into a Windows DLL, however don't have the time to reinstall windows. is it was possible to set up MINGW with Netbeans so that i can use the IDE's functions to compile the DLL. Thanks Lee. ...

What is this error? (And why doesn't it occur in other classes?)

Hi there, I'm trying to write a some container classes for implementing primary data structures in C++. The header file is here: #ifndef LINKEDLIST1_H_ #define LINKEDLIST1_H_ #include <iostream> using namespace std; template<class T> class LinkedList1; template<class T> class Node; template<class T> class Node { friend class Lin...

Cython problem in Windows XP: "error: Unable to find vcvarsall.bat"

Cython version is 0.13, Python 3.1 I have tried all "solutions" in Cython FAQ, but to no avail. My version of Visual Studio is 7.1 and its directory doesn't contain vcvarsall.bat. Is this problem have a solution? ...

Is there any win32 dll available for Attribute-based encryption?

I see that ABE source given in this link http://acsc.cs.utexas.edu/cpabe/index.html is written in C for UNIX environment. I just have these libraries. Now, I need to use ABE in my C# project. How do I do that? how to migrate a project from unix environment to C# environment. How to compile the ABE project in windows environment using Mi...

OpenCV 2.1 with Qt Creator on Windows

I have OpenCV 2.1 and Qt (Creator) installed on Windows. Using the OpenCV C API I can link, build and run apps in Qt using OpenCV. However, the when using the OpenCV C++ API, I am getting linking problems. This is probably due to C++ ABI problems, since I'm using the pre-built binaries (built with MSVC-2008) for Windows and Qt Creator us...

make problem with mingw

Hello all, I have a small problem with make and mingw. I usually use Linux and I am not really familiar with windows way of doing. C:\MingGW\bin is in my path (I can launch directly g++ or sh by the windows command line) but when I try to type make I have the following error : make: g++: command not found I do not know which make is...

Why does ptr_fun(tolower) doesn't compile in mingw?

I'm trying to compile the following program using Qt Creator 2.0.1: void f() { string a = "abc"; transform(a.begin(), a.end(), a.begin(), ptr_fun(tolower)); } mingw throws the following error: no matching function for call to ptr_fun( < unresolved overloaded function type > ) That function compiles fine with VC++ 2010 Expres...