I'm trying to link my QT application to a DLL (libshout), while building for Windows.
I've added the appropriate lines to my .pro file:
LIBS += -L/local/lib -lmp3lame
LIBS += -L/local/lib -lshout
LIBS += -L/local/lib -logg
LIBS += -L/local/lib -lvorbis
LIBS += -lwsock32
I've also successfully built and installed libshout to /local/li...
Downloaded and installed latest MinGW yesterday, and GMP 4.3.2
$ ./configure ran just fine.
On running make check,
The first problem was
$ make check
makefile:15: *** missing separator. Stop.
OK, so, I put the TAB char at the beginning of line 15.
Next problem is
$ make check
makefile:15: *** commands commence before first targe...
Hi !
I'm trying to execute mingw's g++ from inside a cgi written for apache. The line I execute is:
c:\mingw\bin\g++.exe -Wall -IC:\hpxbase -O2 -c -v -o code.o code.cpp
This works when I call exactly this line from a cmd window. But when run from my cgi, g++ crashes. I made the cgi open up ots own console window and there is the messa...
I am trying to create a shared library on Windows. I am able to create this shared library on linux but on windows I get linker errors. I am using the MinGW G++ 4.5 compiler. I will first present the source code to the example on linux , and then present the file which I tried to change on windows.
/home/nxd/Progs/C++/shared-lib>cat lib...
I am trying to create a DLL that will call Qt (currently I can't use Jambi for the functionality I need). I have a simple Java method:
public final native int createChild(int handle);
I created C project in Visual Studio Express 2010 and was able to build the DLL.
Then I created a project in Qt creator and moved my sources there. I t...
I am using Code Blocks with mingw and am trying to get a simple program to compile with static linking. I have build the boost libraries using these directions, here. Everything worked out fine and i was able to successfully compile this simple program (it compiles, i know it doesn't work because it exits before the message is sent to ...
I have a problem trying to use autotools for a simple contrived project, the task is simple, use Objective-C on Mac OSX, and C++ on Windows (mingw) - with some C glue in the middle.
The project is structured like so (minus all the automatically generated files):
./aclocal.m4
./configure
./configure.ac
./Makefile.am
...
Hi!\
I am trying to do a C function for PostgreSQL in Windows using MingW to compile. I did the function compile so fine and link but when I add the function to PostgreSQL my server goes down and I dont know why.
I use this to compile and link my code
C:\mingw\bin\gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
...
I've run into a bug on windows CMake/MinGW builds where the number of object files sent to the linker causes the arguments list to exceed the maximum 32k characters the windows API allows. This manifests itself as an amazingly unhelpful "Error running link command: The parameter is incorrect" error.
Has anyone run into this before and f...
Greetings,
I am facing a complicated situation about using a static library under windows.
The static library is build by a specific version of mingw which is bundled with Eiffel studio. Since Eiffel studio uses mingw to create its output as a static lib, I have no control over this configuration.
If I try to use this static library w...
Hi,
I have a compile problem I can't figure out for OpenCV2.1 in c++.
Here is a simple test code I am trying to compile:
#include <iostream>
#include "cv.h"
using namespace std;
int main() {
cout << "Hello World" << endl; // prints !!!Hello World!!!
cv::Mat mtx;
return 0;
}
I a compile error with an undefined referenc...
I have a C++/Qt/mingw app and would like to use msi.h (Microsoft Installer interface), but mingw does not seem to provide this header. How can I do this?
...
I am having trouble compiling wxwidgets with mingw on Windows 7 x64. It compiles for 30+ min, then runs out of memory. My computer has 6 GB of memory, so I don't know what is wrong.
Someone mentioned something about a 64 bit version of MinGW. Would this help, and if so, how would I use this?
I am able to compile just fine with Visual S...
Hi,
Does anyone knows how to build QGIS for Windows with mingw and Cmake? Having that I have all required dependencies installed.
Thanks,
Carlos.
...
I'm compiling program (Ogitor) from source with mingw. The program compilation configure by CMake (use boost, ogre).
Last part of mingw32-make's log:
.......
Info: resolving Ogre::Math::NEG_INFINITY by linking to imp_ZN4Ogre4Math
12NEG_INFINITYE (auto-import)
Creating library file: ..\lib\libOgitor_d.dll.a
c:/qt/mingw...
Since "gcc -mno-cygwin" does not work anymore, I was looking for a way to get a MinGW-targeted GCC running within my Cygwin environment. (Running a MSYS environment is not an option at this point.)
The Cygwin installer offers a package "gcc-mingw", which installs, among others:
lib/gcc/i686-pc-mingw32/3.4.4/cc1.exe
lib/gcc/i686-pc-ming...
Has anyone had any luck with compiling 64-bit Python extension modules for Windows using mingw64?
I have successfully compiled the extension in question with VS2008 for this platform. I've also compiled it with mingw32 (with a 32-bit python). I would prefer both builds to use GCC.
I've installed the mingw64-x86_64-w64 GCC 4.5.1 set of...
How do I install a C regex into MinGW? I'm using it's gcc...
I'm running Windows XP.
I prefer a updated one.
Thank you.
...
Hello, I am looking for a way to change my application name (that appears on right click on Windows 7 taskbar):
To something more informative like:
How do I do that?
I am using: Qt 4.7 (MinGW), Windows
I have found some info about using certificates and signing executables, but I am not sure if it is what I need. I know how to c...
Help me Stackoverflow!
So, I feel that I have set up my environment correctly but I cannot build my program!
#include <cstdlib>
#include <stdio.h>
#include <stdlib.h>
#include <gtk/gtk.h>
using namespace std;
/*
* simple gtk application
* author jan bodnar
* date february 17, 2008
*/
int main(int argc, char** argv) {
GtkWidget *win...