Discussion:
[Clanlib-devel] Building 0.9
Ben Chambers
2006-01-08 22:42:10 UTC
Permalink
So I got the configure app to work correctly, and I began fooling around
with the 0.9 branch.

Everything builds fine, except for ClanApp. Here's the build log:

------ Build started: Project: clanApp, Configuration: Static MT Debug
Win32 ------
Compiling...
clanapp.cpp
.\Application\Win32\clanapp.cpp(154) : fatal error C1010: unexpected end
of file while looking for precompiled header. Did you forget to add
'#include "stdafx.h"' to your source?
Build log was saved at
"file://d:\code\Libraries\ClanLib-0.9\Debug\clanApp-static-mt\BuildLog.htm"
clanApp - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Pretty short and sweet, right? :)

The odd thing is, the other modules don't give this error. Looking
through the folders, it seems that ClanApp is missing the precomp.h and
precomp.cpp files that should go with it.

Was this an oversight, or part of a more sweeping change that hasn't
been completed yet?

...Chambers




__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
Ben Chambers
2006-01-09 08:18:38 UTC
Permalink
Post by Ben Chambers
So I got the configure app to work correctly, and I began fooling around
with the 0.9 branch.
Well, I disabled support for precompiled headers on clanapp and it
worked fine. Now, I started messing around and noticed some pretty
drastic changes conerning clandisplay :)

Anyway, I'm not really sure where to begin anymore. Will the format of
ClanDisplay change radically, or is this pretty much how its going to
be? And where can I get more information on it? I'm poking through the
source, but that's not always the fastest way to learn how to use
something (although it *is* the most thorough...)

As a side note, is there *any* way to build the documentation on Windows
using DevStudio? The current online documentation is for 0.7, after all.

...Chambers



__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
Jason Green
2006-01-09 09:15:59 UTC
Permalink
Post by Ben Chambers
Now, I started messing around and noticed some pretty
drastic changes conerning clandisplay :)
clanDisplay is being rewritten completely along with clanGUI at the moment.
So, you shouldn't consider much of anything in the 0.9 branch to be stable.
Talk with Judas-, Sphair, and Harry in #clanlib on irc.freenode.net for more
details on that.

As a side note, is there *any* way to build the documentation on Windows
Post by Ben Chambers
using DevStudio? The current online documentation is for 0.7, after all.
I recently fixed the documentation build scripts in the 0.8 svn branch, and
they are build-able on Windows using MSYS/MinGW. They build automatically
if you have MSXSL installed on your machine when you run ./configure. I
don't think my changes have made their way over to the 0.9 branch yet, but
you could take a look at the differences between the file
/Documentation/Reference/pce2.in in 0.8 vs 0.9, and you can probably just
cut and paste those changes over (might be more files that were changed,
can't remember). I haven't touched 0.9 much, so I could be way off, but
hopefully it'll help a little anyway.
Magnus Norddahl
2006-01-09 10:02:41 UTC
Permalink
Post by Ben Chambers
clanapp.cpp
..\Application\Win32\clanapp.cpp(154) : fatal error C1010: unexpected end
of file while looking for precompiled header. Did you forget to add
'#include "stdafx.h"' to your source?
Ok, what moron at Microsoft made a tip-of-the-day kind of addition the
compiler error and at the same time too lazy to suggest the correct include
statement for the precompiled header? :)

(I'm just slightly bitter these days because Blizzard added a tip of the day
in World of Warcraft after the game been out for a whole year and a decade
after every other software corporation realized noone wants to read stupid
daily tips. Actually adding new content seem not to be on their agenda.)

Anyways, back to topic. :) I havn't noticed this error myself, but its
possible some late changes to configure caused it to incorrect enable
precompiled headers for clanApp, or that your MSVC is acting up while mine
isn't. Which version of Visual Studio are you using? Although the
sln/vcproj files generated works fine on my computer, I've heard about
other people having problems and have better success opening the dsw/dsp
files instead.

If only Microsoft could make a project format and stick to it..

--
Magnus Norddahl
Ben Chambers
2006-01-09 20:32:01 UTC
Permalink
Post by Jason Green
Post by Ben Chambers
As a side note, is there *any* way to build the documentation on Windows
using DevStudio? The current online documentation is for 0.7, after all.
I recently fixed the documentation build scripts in the 0.8 svn branch, and
they are build-able on Windows using MSYS/MinGW.
Unfortunately, my experience with cygwin in general has been mostly negative.
Which is why I asked if there's a way to do it with DevStudio.

...Chambers



__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com

Loading...