Ordinal 55 can not be found in zlib1.dll

Questions or HOWTOs about the above? Post 'em here...
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Ordinal 55 can not be found in zlib1.dll

Post by urz7 »

hello

Bzflag 2.0.8 source
full rebuild in release mode on MSVS2005.

bundle.cxx:euro charactor error
> //commentout(186-203 without193) & resolved

bzflag.exe bzfs.exe bzadmin.exe made.
but when it running, alert pop signed.
[can not find zlib1.dll]
from officialsite zlib1.dll download & put to dir,but
[Ordinal 55 can not be found in zlib1.dll]

plz give me some good idea
i want see pretty tanks!

by the way
official bzflag.exe binary size 1516kb,
but me rebuild size 1692kb.

why???
User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak »

You need to use the zlib that matches curl, not the one distributed by zlib.org. If you have an official copy of bzflag installed, use the libcurl.dll and zlib1.dll (if applicable) from it.

Yours is slightly larger because you used VS2005; official builds are usually built in VS2003.
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

thx reply

hmm...surely,
official 2.0.8 binary pak include msvcp71.dll, not 80.dll.
but,2.0.8 sourace pak include VC8 dir...i build it vs2005.
probably,it cause of exe size deffernce and needs zlib1.dll.as you say.
official 2.0.8 binary pak not include zlib1.dll.


no how to build vs2005 + VC8 ???
it contradicts VC8 dir include...
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

resolved...?

Post by urz7 »

>If you have an official copy of bzflag installed, use the libcurl.dll and zlib1.dll (if applicable) from it.

According to your adv,doing some test.

cural.dll(official binary pak)
zlibwapi.dll(official binary pak)
(latest ver seems to rename zlibwapi > zlib1 (datestamp 050406 > 050806))

both it copy to source dir.
so,all exe running.

Maybe still bugs. so subject[resolved..."?"]

running test continue for a while.

thx repeatedly.


ps

Why this source donot made zlibwapi or zlib1...?
it most important problem.

and new question.

where is cache data dir or file?
though run builded exe,but alert "world cache file disappeared ,join canceled" and cannot connect to any server.

one more.
callsign,mailaddr,typing data can't memoryed.
perherps,don't build some dll.
in dir, not dll other than zlib and curl.
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

cache

Post by urz7 »

cache dir(My bzflag files) found in mydoc dir.

next,bzflag208 install.exe running and installed another new dir.
this exe running normaly and memorying typing data.

it seems, from source build bzflag.exe can't read Windows registry.
can read when used installer wizard to setup.

can setup without installer?
Last edited by urz7 on Fri Jul 20, 2007 7:30 am, edited 2 times in total.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

bzflag dosn't use the registry. it will put it's temporary files in your "my documents folder". If your profile is on a network volume, then we can't use it. You need to use the -configdir command line option to give the client a local directory to use for it's temporary files.
ImageJeffM
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

2.0.8source build bzflag.exe dir doesn't include some dll.
without zlibwapi & libcurl, copy from official2.0.8binary dir.

why doesn't be made dlls when compile??
perhaps,it one of reason source exe Doesn't read [My Bzflag files] dir in mydoc dir on local dirve.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast »

Use the same .dll that came with the development libraries you built with. If you can't figure this out, you probably shouldn't be building.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

thx to reply.

(official binary pack include, but me building pack not include)
glew32.dll
libcurl.dll
zlibwapi.dll

what file is need Bzflag.exe to read config file to temporary dir?
i search at regedit.

and,after all,

bzflag use registry in
[hkey_local_machine\software\bzflag\install_dir]

perhaps, official installer read & write to registry.
if 3 another dir install,all 3 applied same 1 config automatically.
2nd & 3rd installed 2.0.8 read config 1st installed 2.0.4.

i want know how official binary pack assembled.
bzflag.exe(other exe too) build > some dll dl & copy to dir > archive(exe) ..?

official source pack didn't includ any dll.
and didn't make any dll in rebuilding on VS2005.

Possibly, no one can building & ruinning perfectry at vs2005 & VC8dir.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

again, bzflag does NOT need or use the registry. Those DLLs have NOTHING to do with anyt conifig or temp dir issues. BZflag will run from any folder, you just have to put the exe in the same folder that contains the DATA folder. It does NOT have to be installed on windows.

There is no "perhaps" or "maybe" We made the installer, we know exactly what it does.

The DLLs in question are NOT part of the source code, they are 3rd party libs, they are NOT made by us. CURL, glew, and pdcurses are all external 3drd part libs that you MUST get from the people that write them. The installer just packs them up for convience for our players, most of whom do NOT build on windows. The installer is NSIS, and it's script is in the "\package\win32\nsis" directory in the source distribution. If you are not doing an installer you simply have to place the DLL files in the same folder as the exe and they will be found.
ImageJeffM
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

thx jeff

Post by urz7 »

Let me ask you a question.(above repeat)

me build bzflag.exe is able to run,but
config(callsign etc...) can't saved.
world data DL but [dissapear & join game canceled] displayed.

plz teach me how
me build bzflag.exe read to
[x:\My docments\My BZFlag Files\2.0\config.cfg]
&
use [cache] dir there.

Though tried -configdir option, no use......i missed writing rule??

[cmd> bzflag.exe -configdir ..\..\My BZFlag Files\2.0\]>>>error prompt
[cmd> bzflag.exe -configdir x:\My docments\My BZFlag Files\2.0\]>>>error prompt
[cmd> bzflag.exe -configdir gundam]>>>no dir made

(ps)
config file "gundam" existed at [.\data]dir, but config can't save as ever.
cache dir not found as ever.

build bug of bzflag.exe???
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

I am having a lot of trouble understanding you.

Please use full English words and sentences if you can. If English is not your native language please have someone proofread your posts before you post them. If English is your native language, then please use it, not abbreviations

You need to be more clear. What version of the source did you build? Where did you get it? where are you running it from? Are you running it from the debug or release folders or are you running it from root level of the source tree?.
ImageJeffM
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

i'm sorry.
english not nathive and any euro language not native .
i have no acquaintance who english is proficient.
perhaps,i'm the only one in my country that bzflag source touch and builded.

>What version of the source did you build?
2.0.8

>Where did you get it?
official download wiki
http://my.bzflag.org/w/Download#Stable:_2.0.8

>where are you running it from?
>Are you running it from the debug or release folders or are you running it from root level of the source tree?.

1 "solution rebuild in release mode" MSvs2005.(use \bzflag\win32\VC8\bzflag.sln)
2 bzflag.exe builded on root level(\bzflag\ directry)
3 running it.(after import libcurl.dll,zlibwapi.dll from official 2.0.8 binary http://prdownloads.sourceforge.net/bzfl ... e?download)
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast »

Do not use the DLL files from the official build. They will not match. Use the DLLs from the development packages that you used to build BZFlag. Those will match.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

hmm...however, no dll was be build.
explorer f3key search, under root level of the source tree,
results "0 found"

and, JeffM says above
>they are 3rd party libs, they are NOT made by us. CURL, glew, and pdcurses are all external 3drd part libs that you MUST get from the people that write them.

It seems to solve the back a little.


one more question.

When doing "solution rebuild" in MSvs2005,
I had to comment out this lines at bundle.cxx.
Because error is displayed when source check.

186// {"a", "a"}, {"a", "a"}, {"a", "a"}, {"a", "a"},
// {"a", "aa"},
// {"a", "ae"}, {"a", "ae"},
// {"A", "A"},
// {"A", "AE"}, {"A", "AE"},
// {"A", "AA"},
// {"c", "c"},
193 {"e", "e"}, {"e", "e"}, {"e", "e"}, {"e", "e"},
// {"i", "i"}, {"i", "i"}, {"i", "i"},
// {"o", "o"}, {"o", "o"}, {"o", "o"},
// {"o", "oe"}, {"o", "oe"},
// {"O", "OE"}, {"O", "OE"},
// {"u", "u"}, {"u", "u"}, {"u", "u"},
// {"u", "ue"},
// {"U", "UE"},
// {"n", "n"},
// {"s", "ss"},
// {"?", "?"},
204// {"!", "!"},

error log when
\bzflag\win32\VC8\common\ only build.any files no edit no touch.

(this log tlanslate by "yahoo!" machine tlanslate tool)
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx: warning C4819: The file is current code page(932) it include the letter which cannot display. Please store a file in a Unicode form to prevent the loss of data.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(188) : error C2001: The fixed number continues in the second line.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(188) : error C2146: A syntax error: '}' is necessary before identifier 'A'.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(188) : error C2146: A syntax error: '}' is necessary before identifier 'A'.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(188) : error C2146: A syntax error: ', 'is necessary before identifier 'A'.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(188) : error C2143: A syntax error: ', There is not 'before' character string '.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(188) : error C4430: There is not a model appointment child - I supposed it to be int. A memo: The C++ does not support int for an existing set price
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(189) : error C2143: A syntax error: ', There is not 'before' {'.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(189) : error C2447: '{': There is not a supporting function header(Is it a list of dummy argument of the old form?)
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(189) : error C2059: A syntax error: ',' x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(190) : error C2143: A syntax error: ', There is not 'before' {'.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(190) : error C2447: '{': There is not a supporting function header(Is it a list of dummy argument of the old form?)
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(190) : error C2001: The fixed number continues in the second line.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(199) : error C2001: The fixed number continues in the second line.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(201) : error C2001: The fixed number continues in the second line.
x: My\bzflag-2.0.8\bzflag\src\common\bundle.cxx(297) : fatal error C1004: Unexpected EOF was detected.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast »

You would have the libraries that you used to build. They should include DLL files.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

3 ".lib" files made when rebuild.

\bzflag\zdll.lib(bzflag.exe dir)
\bzflag\zlib.lib
\bzflag\src\bzfs\bzfs.lib

but pairing ".dll" file no made.

build error?
problem of vs2005?
hmmm....
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast »

Where is your cURL library directory? That should have a .dll for cURL.

The same goes for any library you built with.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

bundle.cxx build error couse of europe char unicode.
http://my.bzflag.org/bb/viewtopic.php?p=112608#112608

For rewriting hex code, indication turned [error > warning]
no error.

....\Bundle.cxx(186) : warning C4566:.....
....
....

{"\u00E2","a"},
{"\u00E0","a"},
{"\u00E1","a"},
{"\u00E3","a"},
{"\u00E5", "aa"},
{"\u00E4","ae"},
{"\u00E6","ae"},
{"\u00C2","A"},
{"\u00C4","AE"},
{"\u00C6","AE"},
{"\u00C5","AA"},
{"\u00E7","c"},
{"\u00E9","e"},
{"\u00E8","e"},
{"\u00EA","e"},
{"\u00EB","e"},
{"\u00EE","i"},
{"\u00EF","i"},
{"\u00ED","i"},
{"\u00F4","o"},
{"\u00F3","o"},
{"\u00F5","o"},
{"\u00F6","oe"},
{"\u00F8","oe"},
{"\u00D6","OE"},
{"\u00D8","OE"},
{"\u00FB","u"},
{"\u00F9","u"},
{"\u00FA","u"},
{"\u00FC","ue"},
{"\u00DC","UE"},
{"\u00F1","n"},
{"\u00DF","ss"},



(MSVC ver not SSL)
libcurl.dll
libcurl.lib
libcurl.exp
include dir (under files too)

put \bzflag\ dir and solution rebuild start now.


ps

bad....same trouble (config can't saved, worldmap DL but disapper)
The only progress, came to be use zlib1.dll(not zlibwapi) that url mentioned in libcurl's readme.

It seems bzflag.exe don't have any problem.
I exerted every means.

it is compiled package by me.
http://jumangokumanju.hp.infoseek.co.jp/list.html
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

i tried
[bzflag -config data.txt] commond.

when use this commond,has made data.txt.
and callsign,email,etc...config is saved.
but,nextwhen don't use -configdir commond,so bzflag don't use data.txt.
In other words I must use [bzflag -config data.txt] every time.

and worldcache disappeared everytime too.
http://www.google.co.jp/search?num=30&h ... %B4%A2&lr=

it seems There is some kind of malfunction of bzflag.exe.
it is becomes the initial state whenever it starts.
all data can't save.
This program is not going to make a configfile.

What is not enough?
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

(official man)
Options are recorded between game sessions in the .bzf/<version>/config.cfg file (or config.cfg.${HOST} if the HOST environment variable is defined) in the user's home directory. This file has a simple name/value pair format. This file is completely rewritten by the game after each session.
(end)

I noticed that my built bzflag.exe wasn't made [config.cfg] at any directry.

This program feels like not reading an environment variable on Windows.
Though it is the specifications that are multi-platform, how is it optimized for the OS? Is there an automatic distinction function?
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast »

The majority of users use Microsoft Windows.

I guess I'm not sure what you are trying to accomplish by building the client.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak »

The default config directory under windows is "My Documents\My BZFlag Files". If your "My Documents" folder is on a network drive it will not work. You can use the -configdir option to change this to any FOLDER (not file) you want, provided said folder is not on a network drive, that you have write access to it, and that it is entirely written with single-byte characters.

The manpage is written for everybody except Windows users, who never read manuals anyway (I jest, I jest). "~/.bzf" there is equivalent to the "My BZFlag Files" folder.

So in a typical Windows install you will see:

Code: Select all

Desktop
\-My Documents
  \-My BZFlag Files
    \-2.0
      \-config.cfg
    \-2.1
      \-config.cfg
    \-cache
      \-...
    \-worlds
      \-...
    \-...
Note that BZFlag does not support unicode, so if any of the directories you're using are double-byte (chinese, japanese, or korean), you'll have "issues." This includes your username, since the default location for My Documents is "C:\Documents and settings\<username>\My Documents". Best bet is probably to make a new folder in c: named "c:\bzflag\" or something, and then pass "-configdir c:\bzflag\".

Hope that helps.
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

thanks your advises.

my document directry is in localdrive.
(but not on [c:] moved to [d:].and [c:\my documents] directry still exist.)
I have a PC only,so one PC and no strage on LAN.standalone.
this PC has a atapiHDD only.nothing to connect usbHDD etc.

I use japanese to directry name.
d:\"japanese word"\My Bzflag Files\
but, binarypackage installed
2.0.4(last year installed) and
2.0.8(last month installed) and
2.0.8(last week installed)
find this directry.


>and then pass "-configdir c:\bzflag\".

I try to it.
but,bzflag.exe that I built has a problem.
It can't memory config directry continually.(compile missed?)
When run with -configdir ***,set configfile.
but nexttime, run without -configdir option,he forget path to the file.
so,I must run it with -configdir option everytime.

Not only configfile,but also cache directry.
cache directry option is not prepared.so after download completed,
[world cache files disappeared. join canceled]
I never join to game.....

he forget any path to file and directry(so don't save configdata when quit)
it unidentified now.


Will you download and run it?(my built bzflag) for inspection.
http://jumangokumanju.hp.infoseek.co.jp/list.html


for reference URL(J > E tlancelate)
http://honyaku.yahoofs.jp/url_result?ct ... 0725144750,
Last edited by urz7 on Tue Jul 24, 2007 5:50 pm, edited 1 time in total.
User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak »

BZFlag will not remember the configdir option, you need to pass it every time. Where would it remember it...in the config file? :P
Post Reply