diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /pipermail/nel/2001-March/000337.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'pipermail/nel/2001-March/000337.html')
-rw-r--r-- | pipermail/nel/2001-March/000337.html | 161 |
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+++>+$ E+>- 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: "papakane" <<A HREF="mailto:adam@papakane.com">adam@papakane.com</A>> +To: <<A HREF="mailto:nel@nevrax.org">nel@nevrax.org</A>> +Sent: Monday, March 05, 2001 1:20 AM +Subject: [Nel] problems compiling nel/net/new_message.h + + +><i> +</I>><i> I've been trying to compile snowballs.exe for the past few days. I really +</I>><i> don't know C++ all that well and certainly don't know much about VisualC++ +</I>><i> so I have a feeling I may be over my head but I am dying to get involved +</I>in +><i> this project and I would love to play snowballs.exe. So any help would be +</I>><i> greatly appreciated. +</I>><i> +</I>><i> I am using MS Visual C++ on Windows 2000, 3dfx voodoo3 and I am compiling +</I>a +><i> current CVS version of the code base. +</I>><i> +</I>><i> I get the following compile time errors when I build nlnet_rd.lib +</I>><i> +</I>><i> --------------------Configuration: net - Win32 +</I>ReleaseDebug-------------------- +><i> Compiling... +</I>><i> new_message.cpp +</I>><i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(48) : error +</I>><i> C2039: 'CStringIdArray' : is not a member of 'NLMISC' +</I>><i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(48) : error +</I>><i> C2629: unexpected 'class NLNET::CNewMessage (' +</I>><i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(48) : error +</I>><i> C2334: unexpected token(s) preceding ':'; skipping apparent function body +</I>><i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(71) : error +</I>><i> C2146: syntax error : missing ',' before identifier 'id' +</I>><i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(71) : error +</I>><i> C2061: syntax error : identifier 'id' +</I>><i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(117) : error +</I>><i> C2039: 'CStringIdArray' : is not a member of 'NLMISC' +</I>><i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(117) : error +</I>><i> C2143: syntax error : missing ';' before '*' +</I>><i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(117) : error +</I>><i> C2501: '_SIDA' : missing storage-class or type specifiers +</I>><i> Error executing cl.exe. +</I>><i> +</I>><i> nlnet_rd.lib - 8 error(s), 0 warning(s) +</I>><i> +</I>><i> I took the liberty of adding the following line to new_message.h +</I>><i> #include "nel/misc/string_id_array.h" +</I>><i> since that's where CStringArray is defined. and got some more syntax +</I>><i> errors on line 71. +</I>><i> +</I>><i> line 71 reads: +</I>><i> void setType (const TStringId id) +</I>><i> I made the following changes to get rid of the syntax errors. ( why? I +</I>><i> am not really sure. it just seemed the right thing to do ;-) ) +</I>><i> void setType (const NLMISC::CStringIdArray::TStringId id) +</I>><i> +</I>><i> and now I get the following error that I can't fix. +</I>><i> +</I>><i> C:\SNOWBALLS_SRC_0_2\CODE\NEL\INCLUDE\nel/net/new_message.h(100) : error +</I>><i> C2662: 'getId' : cannot convert 'this' pointer from 'const class +</I>><i> NLMISC::CStringIdArray' to 'class NLMISC::CStringIdArray &' +</I>><i> Conversion loses qualifiers +</I>><i> +</I>><i> line 100 reads as follows : +</I>><i> NLMISC::CStringIdArray::TStringId id = _SIDA->getId (name); +</I>><i> +</I>><i> _SIDA is defined as follows +</I>><i> +</I>><i> private: +</I>><i> const NLMISC::CStringIdArray *_SIDA; +</I>><i> +</I>><i> Does any one have any idea what's wrong or even if I am on the right +</I>track? +><i> +</I>><i> -Ishmael (and Adam) +</I>><i> +</I>><i> p.s. I compiled the version found in snowballs_src_0_2.zip downloaded from +</I>><i> nevrax.org. I got everything compiled but then when I load the game and +</I>><i> connect to the public server I get a white screen that stays white and the +</I>><i> game never loads. +</I>><i> +</I>><i> I decided to get the updated CVS version of the code base to see if it +</I>><i> works better. +</I>><i> +</I>><i> p.p.s. I was also getting compile time errors in the AI module (or is it +</I>><i> IA, the vcc workspace keeps calling it IA wihch is very confusing) but it +</I>><i> doesn't seem like snowballs uses the ai module. Is this correct? +</I>><i> +</I>><i> ______________________________________________________ +</I>><i> Ga-ming-o (n): A collection of game programming examples for lingo. +</I>><i> <A HREF="http://sourceforge.net/bugs/?group_id=8974">http://sourceforge.net/bugs/?group_id=8974</A> <-- bugbase +</I>><i> <A HREF="http://www.gamingo.com">http://www.gamingo.com</A> <-- homepage +</I>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Nel mailing list +</I>><i> <A HREF="mailto:Nel@nevrax.org">Nel@nevrax.org</A> +</I>><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> |