aboutsummaryrefslogtreecommitdiff
path: root/pipermail/nel/2001-March/000337.html
diff options
context:
space:
mode:
Diffstat (limited to 'pipermail/nel/2001-March/000337.html')
-rw-r--r--pipermail/nel/2001-March/000337.html161
1 files changed, 161 insertions, 0 deletions
diff --git a/pipermail/nel/2001-March/000337.html b/pipermail/nel/2001-March/000337.html
new file mode 100644
index 00000000..c245f586
--- /dev/null
+++ b/pipermail/nel/2001-March/000337.html
@@ -0,0 +1,161 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Nel] problems compiling nel/net/new_message.h</TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:lecroart%40nevrax.com">
+ <LINK REL="Previous" HREF="000335.html">
+ <LINK REL="Next" HREF="000338.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Nel] problems compiling nel/net/new_message.h</H1>
+ <B>Vianney Lecroart</B>
+ <A HREF="mailto:lecroart%40nevrax.com"
+ TITLE="[Nel] problems compiling nel/net/new_message.h">lecroart@nevrax.com</A><BR>
+ <I>Mon, 5 Mar 2001 10:41:24 +0100</I>
+ <P><UL>
+ <LI> Previous message: <A HREF="000335.html">[Nel] problems compiling nel/net/new_message.h</A></li>
+ <LI> Next message: <A HREF="000338.html">[Nel] newbies about packet schema</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#337">[ date ]</a>
+ <a href="thread.html#337">[ thread ]</a>
+ <a href="subject.html#337">[ subject ]</a>
+ <a href="author.html#337">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hello,
+
+In fact, new_message.cpp shouldn't be on the nel directory. so you could
+delete new_message.* and remove the file from the makefile or from the .dsp.
+I commit the modification but you must wait the night to get the fix.
+
+Vianney Lecroart
+---
+lead network programmer / nevrax.com
+icq#: 6870415
+homepage: <A HREF="http://ace.planet-d.net">http://ace.planet-d.net</A>
+www.geekcode.com: GCS/E d- s+++: a-- C+++$ UL++ P- L+++&gt;+$ E+&gt;- W++ N+ o? K-
+w++$ O- M- V- PS- PE? Y PGP t 5? X+ R- tv++ b- DI D+ G e++ h+ r-- y?
+
+----- Original Message -----
+From: &quot;papakane&quot; &lt;<A HREF="mailto:adam@papakane.com">adam@papakane.com</A>&gt;
+To: &lt;<A HREF="mailto:nel@nevrax.org">nel@nevrax.org</A>&gt;
+Sent: Monday, March 05, 2001 1:20 AM
+Subject: [Nel] problems compiling nel/net/new_message.h
+
+
+&gt;<i>
+</I>&gt;<i> I've been trying to compile snowballs.exe for the past few days. I really
+</I>&gt;<i> don't know C++ all that well and certainly don't know much about VisualC++
+</I>&gt;<i> so I have a feeling I may be over my head but I am dying to get involved
+</I>in
+&gt;<i> this project and I would love to play snowballs.exe. So any help would be
+</I>&gt;<i> greatly appreciated.
+</I>&gt;<i>
+</I>&gt;<i> I am using MS Visual C++ on Windows 2000, 3dfx voodoo3 and I am compiling
+</I>a
+&gt;<i> current CVS version of the code base.
+</I>&gt;<i>
+</I>&gt;<i> I get the following compile time errors when I build nlnet_rd.lib
+</I>&gt;<i>
+</I>&gt;<i> --------------------Configuration: net - Win32
+</I>ReleaseDebug--------------------
+&gt;<i> Compiling...
+</I>&gt;<i> new_message.cpp
+</I>&gt;<i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(48) : error
+</I>&gt;<i> C2039: 'CStringIdArray' : is not a member of 'NLMISC'
+</I>&gt;<i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(48) : error
+</I>&gt;<i> C2629: unexpected 'class NLNET::CNewMessage ('
+</I>&gt;<i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(48) : error
+</I>&gt;<i> C2334: unexpected token(s) preceding ':'; skipping apparent function body
+</I>&gt;<i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(71) : error
+</I>&gt;<i> C2146: syntax error : missing ',' before identifier 'id'
+</I>&gt;<i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(71) : error
+</I>&gt;<i> C2061: syntax error : identifier 'id'
+</I>&gt;<i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(117) : error
+</I>&gt;<i> C2039: 'CStringIdArray' : is not a member of 'NLMISC'
+</I>&gt;<i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(117) : error
+</I>&gt;<i> C2143: syntax error : missing ';' before '*'
+</I>&gt;<i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(117) : error
+</I>&gt;<i> C2501: '_SIDA' : missing storage-class or type specifiers
+</I>&gt;<i> Error executing cl.exe.
+</I>&gt;<i>
+</I>&gt;<i> nlnet_rd.lib - 8 error(s), 0 warning(s)
+</I>&gt;<i>
+</I>&gt;<i> I took the liberty of adding the following line to new_message.h
+</I>&gt;<i> #include &quot;nel/misc/string_id_array.h&quot;
+</I>&gt;<i> since that's where CStringArray is defined. and got some more syntax
+</I>&gt;<i> errors on line 71.
+</I>&gt;<i>
+</I>&gt;<i> line 71 reads:
+</I>&gt;<i> void setType (const TStringId id)
+</I>&gt;<i> I made the following changes to get rid of the syntax errors. ( why? I
+</I>&gt;<i> am not really sure. it just seemed the right thing to do ;-) )
+</I>&gt;<i> void setType (const NLMISC::CStringIdArray::TStringId id)
+</I>&gt;<i>
+</I>&gt;<i> and now I get the following error that I can't fix.
+</I>&gt;<i>
+</I>&gt;<i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(100) : error
+</I>&gt;<i> C2662: 'getId' : cannot convert 'this' pointer from 'const class
+</I>&gt;<i> NLMISC::CStringIdArray' to 'class NLMISC::CStringIdArray &amp;'
+</I>&gt;<i> Conversion loses qualifiers
+</I>&gt;<i>
+</I>&gt;<i> line 100 reads as follows :
+</I>&gt;<i> NLMISC::CStringIdArray::TStringId id = _SIDA-&gt;getId (name);
+</I>&gt;<i>
+</I>&gt;<i> _SIDA is defined as follows
+</I>&gt;<i>
+</I>&gt;<i> private:
+</I>&gt;<i> const NLMISC::CStringIdArray *_SIDA;
+</I>&gt;<i>
+</I>&gt;<i> Does any one have any idea what's wrong or even if I am on the right
+</I>track?
+&gt;<i>
+</I>&gt;<i> -Ishmael (and Adam)
+</I>&gt;<i>
+</I>&gt;<i> p.s. I compiled the version found in snowballs_src_0_2.zip downloaded from
+</I>&gt;<i> nevrax.org. I got everything compiled but then when I load the game and
+</I>&gt;<i> connect to the public server I get a white screen that stays white and the
+</I>&gt;<i> game never loads.
+</I>&gt;<i>
+</I>&gt;<i> I decided to get the updated CVS version of the code base to see if it
+</I>&gt;<i> works better.
+</I>&gt;<i>
+</I>&gt;<i> p.p.s. I was also getting compile time errors in the AI module (or is it
+</I>&gt;<i> IA, the vcc workspace keeps calling it IA wihch is very confusing) but it
+</I>&gt;<i> doesn't seem like snowballs uses the ai module. Is this correct?
+</I>&gt;<i>
+</I>&gt;<i> ______________________________________________________
+</I>&gt;<i> Ga-ming-o (n): A collection of game programming examples for lingo.
+</I>&gt;<i> <A HREF="http://sourceforge.net/bugs/?group_id=8974">http://sourceforge.net/bugs/?group_id=8974</A> &lt;-- bugbase
+</I>&gt;<i> <A HREF="http://www.gamingo.com">http://www.gamingo.com</A> &lt;-- homepage
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> _______________________________________________
+</I>&gt;<i> Nel mailing list
+</I>&gt;<i> <A HREF="mailto:Nel@nevrax.org">Nel@nevrax.org</A>
+</I>&gt;<i> <A HREF="http://www.nevrax.org/mailman/listinfo.cgi/nel">http://www.nevrax.org/mailman/listinfo.cgi/nel</A>
+</I>
+
+</pre>
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI> Previous message: <A HREF="000335.html">[Nel] problems compiling nel/net/new_message.h</A></li>
+ <LI> Next message: <A HREF="000338.html">[Nel] newbies about packet schema</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#337">[ date ]</a>
+ <a href="thread.html#337">[ thread ]</a>
+ <a href="subject.html#337">[ subject ]</a>
+ <a href="author.html#337">[ author ]</a>
+ </LI>
+ </UL>
+</body></html>