build a project

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
ccorra
In need of some credit
In need of some credit
Posts: 1
Joined: Tue Jan 11, 2005 2:45 pm

build a project

Post by ccorra »

Hi All,
I'm trying to build a simple project with wxWindows 2.4.2.
I'm using MingW 3.1.0.

The problem is the follow:

$ make
g++ -c -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__
-IC:/wxWindows-2.4.2/lib/mswd -IC:/wxWindows-2.4.2/include
-IC:/wxWindows-2.4.2/contrib/include -IC:/wxWindows-2.4.2/src/regex
-IC:/wxWindows-2.4.2/src/png
-IC:/wxWindows-2.4.2/src/jpeg -IC:/wxWindows-2.4.2/src/zlib
-IC:/wxWindows-2.4.2/src/tiff
-DSTRICT -DHAVE_W32API_H -D__WXMSW__ -D__WINDOWS__
-Wall -fno-rtti -fno-exceptions -o hello.o hello.cpp
windres --use-temp-file -i hello.rc -o hello_resources.o
--include-dir C:/wxWindows-2.4.2/include
--define __WIN32__ --define __WIN95__ --define __GNUWIN32__

make: *** No rule to make target `C:/wxWindows-2.4.2/lib/libwxmswd.a', needed by `hello.exe'. Stop.

I can't find on my pc the file:'libwxmswd.a'


please help me!
bye
cda
cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg »

Sounds like you haven't built wx yet. Have a look at the install document in

C:/wxWindows-2.4.2/docs/msw/install.txt

Look for the section called: Cygwin/MinGW compilation

It has instructions for building with mingw.

HTH

Chris
Post Reply