From: Francesco M. <f18...@ya...> - 2007-03-07 19:14:55
|
Matías Szeftel ha scritto: > Francesco Montorsi escribió: >> Matías Szeftel ha scritto: >> >>> Another bug, the msvs projects have the Linker->System->Subsytem set to >>> "Console". This should be "Windows" for GUI projects, else it won't compile. >>> Don't know if this is because of Bakefile or the wxCode presets. >>> >> if the relative msvc6prj do work, then it's a bug in bakefile >> msvs2005prj format since wxCode bakefiles pass exactly the same tags to >> both. >> > No. These happens in both MS projects. When using the previous wxCode > bakefiles with Bakefile 0.2.2 this did not happened. So I'm tending to > believe it's the new bakefiles. Ok, then this is because somehow the <app-type>gui</app-type> tag is not embedded in your target. If you're using <wxcode-sample> tag for building your samples, this shouldn't happen: as you can see in wxCode\build\bakefiles\presets\templates.bkl, wxcode-sample tag does pass the <app-type>gui tag. If you're using <wxcode-exe>, then you need to use the <app-type>gui</app-type> tag yourself explicitely. I don't remember why this worked with previous bakefiles but it seems logical to me that <wxcode-exe> shouldn't assume you're building a GUI app. Francesco |