Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ ROM ➜ Compiling the server ➜ compile rom with Dev C++ (under windows)

compile rom with Dev C++ (under windows)

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Jyniver   Sweden  (5 posts)  Bio
Date Fri 02 Apr 2004 10:51 AM (UTC)
Message
Hi, I have download the rom (2.4b6) source code
and I'm trying to compile it. But its never working.
It's always alots of errors (the program totlay dislike the whole code it seems to ;)..) and the program complaining on that there's no .cpp file.

I'm using Windows and Dev C++

How do I do to make it work...
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #1 on Fri 02 Apr 2004 06:12 PM (UTC)
Message
One of the problems is probably that ROM is C, not C++, I think, and there is a difference, that might explain all the errors. See if you can change the settings in the program to compile under C instead of C++.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 02 Apr 2004 11:23 PM (UTC)
Message
When you start a new posting here there is a message "If there is an error, an exact copy of the error message(s) - or a least the first 100. If you make a post saying 'I got an error' then we just have to reply asking what the error was, which wastes time.".

It is fascinating to know "It's always alots of errors" but *what* errors, that is the question.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Wrath   USA  (25 posts)  Bio
Date Reply #3 on Thu 29 Jul 2004 11:16 AM (UTC)
Message
Download this version and compile it under msvs c++ it worked fine for me.
http://www.mudmagic.com/cgi-bin/codes/jump.cgi?ID=343

1.) Start a new project and make it an empty win32 console, dont use win32 application. Name your project in the upper box on the right. Then select an empty project.

2.) Once complete you will need to add these two librarys otherwise you will have linking problems. Under link tab add wsock32.lib & winmm.lib.

To do this just goto ptoject at top and goto settings.

Then click on the Link tab and goto object/libary moduels: click in the box and press end then add wsock32.lib winmm.lib.
Then click ok.

3.) On the bottom right you need to click on File View the click the plus next to yourmudname files at top left.

Right click on the Source folder and then add files to folder. Goto the rom24 folder in the src folder and copy all the .c files into this folder.

The right click on the Header folder and the add files to folder. Goto the rom24 folder in the src folder and move all the .h folders into this one.

4.) Just click on Build at the top and goto build yourfilename.exe and builf the file.

All done this is what worked for me.


Always remember he who increses knowledge increses sorrow.
And he who thinks mudding is easy is allways sorry.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,897 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.