|
compile rom with Dev C++ (under windows)
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Jyniver
Sweden (5 posts) bio
|
| Date |
Fri 02 Apr 2004 10:51 AM (UTC) [ quote
] |
| 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) [ quote
] |
| 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 (18,770 posts) bio
Forum Administrator |
| Date |
Reply #2 on Fri 02 Apr 2004 11:23 PM (UTC) [ quote
] |
| 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) [ quote
] |
| 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.
3,290 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )