On 8/7/12, Damon Register <[email protected]> wrote:
> On 8/17/2012 4:18 AM, Ruben Van Boxem wrote:
>> You should call only the executables in mingw32/bin, never directly use
>> the ones
>> in mingw32/i686-w64-mingw32/bin. The simplest way to set up a build
>> environment is
>> to doubleclick on "mingw32env.cmd".
> Thanks for the tip.  I just downloaded the subject release and tried to
> build a
> simple gtkmm app.  Fortunately there was a 64 bit gtkmm for windows so I got
> that
> too.  I made this simple project originally for 32 bit Windows.  I tried to
> build
> using the subject release but I get a strange make error.  I am using
> mingw32-make
> and I have confirmed it is the one in c:\mingw64\bin.  I tried this from a
> windows
> command prompt shell and also using msys.  The result is the same:
>
>    $ mingw32-make
>    g++ `pkg-config gtkmm-2.4 --cflags` -c hello.cpp
>    g++: error: `pkg-config: No such file or directory
>    g++: error: gtkmm-2.4: No such file or directory
>    g++: error: unrecognized command line option '--cflags`'
>    mingw32-make: *** [hello.o] Error 1
>
> I have pkg-config.exe in c:\gtkmm64\bin and that is in the PATH.
>
> I can just use g++ at the command prompt
>
>    g++ `pkg-config gtkmm-2.4 libglademm-2.4 --cflags` -o hello.exe hello.cpp
> hello-main.cpp `pkg-config gtkmm-2.4 libglademm-2.4 --libs`
>
> This completes without error and hello.exe runs without any problem but make
> seems
> to have a problem with the pkg-config.  Any suggestions?
>
> I wish to thank you for your easy to understand build.
>
> Damon Register

I remember Ruben saying that he cross-built the native toolchains
on linux, so it is most possible that he built the "make" tool that way
too and used the make-3.82 release version which is broken when
cross-configured for dos/windows/os2 on unix, make-cvs is fixed:
http://savannah.gnu.org/bugs/index.php?34818
Also see:
http://sourceforge.net/tracker/?func=detail&aid=3545000&group_id=202880&atid=983354

See if things are OK if you use make from here:
http://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/make/

--
O.S.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to