[CMake] CMake 2.4.6, MinGW and console application

Sebarnolds [Seb / Frip] sebarnolds at hotmail.com
Fri Jul 6 03:34:46 EDT 2007


Ok, guys, I checked yesterday... it only took a few minutes to realize the 
differences between a small minimalist application which linked without any 
problem and my application. It seems that an idiot (read: me) found that it 
would be nicer to put the main function in a namespace.

So my problem is solved and had nothing to do with CMake, sorry to have 
bothered you and thanks for your help.

Sebastien

>From: "Brandon Van Every" <bvanevery at gmail.com>
>To: cmake at cmake.org
>Subject: Re: [CMake] CMake 2.4.6, MinGW and console application
>Date: Thu, 5 Jul 2007 10:14:07 -0400
>
>On 7/5/07, Brandon Van Every <bvanevery at gmail.com> wrote:
>>On 7/5/07, Mike Jackson <imikejackson at gmail.com> wrote:
>> > http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg12121.html
>> >
>> > I think you need to add:
>> > TARGET_LINK_LIBRARIES(map2syBR mingw32)  which should link your
>> > program to the libmingw32.a that is included with the MinGW
>> > Distribution.
>>
>>I don't believe it.  I build Chicken on MinGW all the time, it's all
>>plain console stuff, and I don't do this.
>
>In fact, if Sebarnolds wants to diagnose his build environment, he
>could download Chicken tarball and build it with MinGW.  If he gets
>the same problems, then likely something is wrong with his build
>environment.  http://www.call-with-current-continuation-org
>
>Cheers,
>Brandon Van Every
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake

_________________________________________________________________
MSN Messenger: appels gratuits de PC à PC ! 
http://www.msn.fr/newhotmail/Default.asp?Ath=f



More information about the CMake mailing list