sparrow // User Search

sparrow // User Search

1  |  

Borland problems. Yay.

Jul 26, 1999, 8:03pm
First, has anyone here been able to successfully compile a bot with
Borland 5? Or, if not that, version 4 or above? Before I try to link it
with aw.lib, I get all the typical Borland problems ("unresolved
external 'aw_blah' referenced from module mrbot.c"), and when I try to
link it, I get another typical Borland error ("bad object file 'aw.lib'
near file offset 0" with Turbo Linker or "'D:\AWBOTS\AW.LIB' contains
invalid OMF record, type 0x21" when I use the incremental linker). So,
if you have done it, would you tell me how? I'd appreciate it.

Second, if nobody has done it, could someone point me to a free C/C++
compiler that they have used with success to compile bots? It would be
appreciated as well.

--
-Sparrow
I am a fluffy cheese-head.
Sparrow's Space: http://members.xoom.com/terreo4/
E-mail: terreo at geocities.com

Borland problems. Yay.

Aug 2, 1999, 5:54pm
[View Quote] Ah, yes. This is good.. except that I just ordered Visual C++
yesterday... Just my luck, I guess :) But thanks a lot anyway! This
means I might be able to get something done today...

--
-Sparrow
I am a fluffy cheese-head.
Sparrow's Space: http://members.xoom.com/terreo4/
E-mail: terreo at geocities.com

Mysterious other DLL (not aw.dll)

Jul 30, 1999, 3:06pm
So I finally got it to compile properly (I think). Well, now I seem to
need some weird DLL file I don't have. It's called "CW3230MT.DLL". Am I
supposed to have this, or is it just some weird problem?

I'm using Bloodshed DevCpp from a batch file at the command line. The
batch file executes the following:

at cls
at echo off
set PATH=%PATH%;D:\DEVCPP\Lib\;D:\DEVCPP\Include\;D:\awbots\devcpp\;
set C_INCLUDE_PATH=D:\DEVCPP\Include\;
set CPLUS_INCLUDE_PATH=D:\DEVCPP\Include\;
set LIBRARY_PATH=D:\DEVCPP\Lib\
set GCC_EXEC_PREFIX=D:\DEVCPP\Lib\Include\
windres -i rsrc.rc -o rsrc.o
cls
g++ mrbot.cpp -o D:\awbots\devcpp\mrbot.exe rsrc.o -Xlinker
D:\DEVCPP\Lib\*.a D:\AWBOTS\AW.LIB -ansi -traditional-cpp -mwindows
-fexpensive-optimizations

--
-Sparrow
I am a fluffy cheese-head.
Sparrow's Space: http://members.xoom.com/terreo4/
E-mail: terreo at geocities.com

Mysterious other DLL (not aw.dll)

Jul 30, 1999, 3:55pm
[View Quote] Okay.. nevermind... I fixed it. Borland messed AW.DLL up, I think. Why
did I put it in the project, anyway? Phhhht...

Anyway, I have another problem. Now it's saying, "The MRBOT.EXE file is
linked to missing export AW.DLL:." I've got AW.DLL in the directory I'm
running it from as well as my WINDOWS/SYSTEM directory. I'm compiling it
with a different batch file as well (note that it's not different until
the last line):

at cls
at echo off
set PATH=%PATH%;D:\DEVCPP\Lib\;D:\DEVCPP\Include\;D:\awbots\devcpp\;
set C_INCLUDE_PATH=D:\DEVCPP\Include\;
set CPLUS_INCLUDE_PATH=D:\DEVCPP\Include\;
set LIBRARY_PATH=D:\DEVCPP\Lib\
set GCC_EXEC_PREFIX=D:\DEVCPP\Lib\Include\
windres -i D:\awbots\devcpp\rsrc.rc -o rsrc.o
cls
g++ d:\awbots\devcpp\mrbot.cpp -o D:\awbots\devcpp\mrbot.exe rsrc.o
d:\awbots\aw.lib
D:\DEVCPP\Lib\*.a -ansi -traditional-cpp

--
-Sparrow
I am a fluffy cheese-head.
Sparrow's Space: http://members.xoom.com/terreo4/
E-mail: terreo at geocities.com

Mysterious other DLL (not aw.dll)

Jul 30, 1999, 6:57pm
[View Quote] I'll look into it. It sounds as though it might be worth it after all.
Still, if I can get it to work without buying anything extra, it would
be best. I'm a bit poor at the moment :)

--
-Sparrow
I am a fluffy cheese-head.
Sparrow's Space: http://members.xoom.com/terreo4/
E-mail: terreo at geocities.com

Mysterious other DLL (not aw.dll)

Jul 31, 1999, 2:11am
[View Quote] Actually, instead of changing aw.lib files, I changed environments,
which, ironic as it sounds, was easier. I've unzipped AW.LIB from the
original .ZIP file a number of times and re-compiled, but I can't recall
ever re-extracting AW.DLL. It's worth a try, anyway.

--
-Sparrow
I am a fluffy cheese-head.
Sparrow's Space: http://members.xoom.com/terreo4/
E-mail: terreo at geocities.com

What's wrong with my code

Aug 1, 1999, 10:05pm
[View Quote] That sounds like you didn't link AW.LIB with your project. If you
haven't already, try putting AW.LIB in your project. If you have already
done that, I would suggest messing around with the position it's in. For
example, try making it a dependant of your main code. Or try making your
own code a dependent of it. Just mess around with it. As you can tell,
I'm not very professional in the way I do things... :)

--
-Sparrow
I am a fluffy cheese-head.
Sparrow's Space: http://members.xoom.com/terreo4/
E-mail: terreo at geocities.com

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn