Compiling

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

Compiling

Post by vzmule » Fri Mar 14, 2003 12:16 am

I've been using MQ for a long time. I have multiple computers, have a linux machine with web, ftp and mail servers,etc, have designed web sites and been working with computers in general all my life so I'm no random computer noob, but at the same time, I don't know a thing about c, c++, visual c, etc.

My question is, knowing absasmurfly nothing about c coding at this point, but having a desire to both use the new MQ and to start learning what makes it tick, how hard would it be for me to compile the new exe if I buy visual studio.net or whichever compiler you suggest?

I'm not looking to get flamed here. I'm sincerely looking to learn by doing, but want to know what is involved before I jump into the deep end.

Anyone willing to offer advice or suggestions?

User avatar
brinx
ninja pengiun
Posts: 7
Joined: Tue Mar 04, 2003 2:19 pm

Post by brinx » Fri Mar 14, 2003 12:33 am

with VC++ .NET Standard and a relatively fast computer, you will compile it in about 30 seconds.

the devs are generous and actually keep the .vcproj file with the source.

also make sure you grab ActivePerl 5.6.1 build 635

NOT :) ActivePerl 5.8.0 build 805

as it will try and link Perl56.lib and you'll only have Perl58.lib with the more recent build.
[b]Penguins slide, and that is cool.[/b]

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Fri Mar 14, 2003 12:37 am

bah, my advice is to just get rid of perl entirely... there's a post here somewhere detailling how to do just that. I did it, it works perfectly well without perl, and less of a headache, less overhead, less hassle, less mess.

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

Post by vzmule » Fri Mar 14, 2003 12:47 am

Brinx is right. I initially tried to install perl a few months back with the 5.8 version and nothing worked with it. I reverted to the 5.6 and it worked great.

Well, I just downloaded the Intel Visual C++ Compiler 7.0. I'll see if I get anywhere with it or if I end up going out and buying the microsoft one.

fan
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sun Feb 02, 2003 4:39 am

almost there ><

Post by fan » Fri Mar 14, 2003 7:58 am

I have compiled most of the source but run into 2 errors when I do the build in Vis .NET.

MacroQuest fatal error LNK1181: cannot open input file '\SRC-20030308\Release\EQLib.lib'

EQLib fatal error LNK1181: cannot open input file '..\PerlCore\lib\Perl56.lib'


I am thinking this is because I amy not have avtive pearl loaded can anyone offer up a solution or post an email/IM name so we can talk. I am willing to pay for the services and time if needed. I want to get this figured out for a friend so he can play his bard again.

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Fri Mar 14, 2003 10:17 am

Salutations,
basically eqlib.lib is still open and cannot be written to. Open up My Computer, navigate to the Release folder, rename eqlib.lib to be eqlib0.lib, recompile.

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

Post by vzmule » Fri Mar 14, 2003 10:35 am

okay, update #1.

I ordered the Microsoft Visual C++ .Net Standard online for around a hundred bucks with shipping which is supposed to arrive on Tuesday.

I'll wait till it arrives, install it and then be back to bother everyone with any problems I may run into :)

I now have progressed from wannabe to newb.

fan
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sun Feb 02, 2003 4:39 am

Post by fan » Fri Mar 14, 2003 8:53 pm

Hrm I have looked in the release folder and the file isn't even there. Is the previous file needed to create the eqlib.dll? If so I take it I need to install the active perl program. Anyone have a link to the program where I can get it?

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri Mar 14, 2003 9:16 pm


fan
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sun Feb 02, 2003 4:39 am

Post by fan » Sat Mar 15, 2003 12:19 am

Thanks for the help I installed teh version recommended and tried to do a build again just on the eqlib section and still recieve.

EQLib fatal error LNK1181: cannot open input file '..\PerlCore\lib\Perl56.lib'

Does this mean it is looking in the wrong directory?

I am really sorry if I am bugging you.

I am running Visual Studio .NET on my computer to do this work so any advice would be greatly appreciated :)

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Sat Mar 15, 2003 12:45 am

Salutations,
in the root dir, there is a source readme. get perllib from there, put it in perlCore/lib/

fan
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sun Feb 02, 2003 4:39 am

Post by fan » Sat Mar 15, 2003 1:04 am

hehe maybe I am putting too much thought into this and it is very simple.

I created a c:\PerlCore\lib directory and put the Perl56.lib file into it and got the same error. :(


Then again it is getting late maybe I should just sleep on it,

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Sat Mar 15, 2003 2:38 am

Salutations,
put perl56.lib into SRC-20030308/PerlCore/lib/

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

Post by vzmule » Sat Mar 15, 2003 9:25 am

bastards highjacking my thread ;)