Author |
Message |
Arnk Kilo Dylie Seasoned Helper
Age:36 Gender: Joined: Jul 14 2006 Posts: 108 Offline
|
Posted: Fri Jul 14, 2006 12:49 pm Post subject: Building asss 1.4.3 in MSVC 7.1 (.NET 2003) |
|
|
|
|
Apprently this is rocket science, so instead of handling this case by case, I've put together some files and a guide for building asss (specifically 1.4.3) in Microsoft Visual C++ .NET 2003.
These instructions and projects should be complete, but reply back if I forgot something. Extract to your asss 1.4.3 directory but if you've modified persist.c, objects.c, cmod.c, or pymod.c, back those up first and refer to the guide about those files afterwards. The guide is msvc71_guide.txt. This may or may not work for newer versions of MSVC.
One issue I've thought of off hand, is if you don't use the guide to make your own solutions, make sure you edit the Pre-Build Events to have the correct path to Python, they default to c:\program files\python235 since that was where mine was.
Enjoy?
asss143msvc71.zip - 1092.58 KB
File downloaded or viewed 90 time(s)
Last edited by Arnk Kilo Dylie on Sun Jul 16, 2006 1:57 pm, edited 1 time in total |
|
Back to top |
|
|
Bak ?ls -s 0 in
Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
|
Arnk Kilo Dylie Seasoned Helper
Age:36 Gender: Joined: Jul 14 2006 Posts: 108 Offline
|
Posted: Fri Jul 14, 2006 4:02 pm Post subject: |
|
|
|
|
Revision 1 at same url after boneheadedness on my part.
Revision 2 after more boneheadedness.
It's tough to realize something's missing when your compiler is already set up to have so many include directories. :p
Edit 2: These do have the capability of generating the .inc files that are so elusive without a makefile. neeeat.
Edit 3: It should work now out of the box assuming you installed python to the same place I did.. if not, follow the guide.
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Fri Jul 14, 2006 5:05 pm Post subject: |
|
|
|
|
Updated the mirrored copy here as well.
|
|
Back to top |
|
|
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.
Age:36 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Sat Jul 15, 2006 3:06 am Post subject: |
|
|
|
|
Nice, will look at it later.
Bleh, I remember trying to get this done once, but I had no idea how to deal with the python stuff.
|
|
Back to top |
|
|
BDwinsAlt Agurus's Posse
Age:33 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Sat Jul 15, 2006 1:04 pm Post subject: |
|
|
|
|
I'm glad someone took the time to make some use out of windows :)
Very nice.
|
|
Back to top |
|
|
Muskrat Server Help Squatter
Age:37 Joined: Aug 24 2004 Posts: 829 Location: Swamp Offline
|
Posted: Sun Jul 16, 2006 2:18 pm Post subject: |
|
|
|
|
Well, my suggestion got junked, so I'm trying to use the guide to compile on VC++ 6. I've gotten funky, scoring, and database to compile by following the guide you made, but not asss or pymod.
asss gives me these 2 errors:
C:\asss\vc6asss\src\core\cfghelp.c(8) : fatal error C1083: Cannot open include file: 'cfghelp.inc': No such file or directory
C:\asss\vc6asss\src\core\mapdata.c(13) : fatal error C1083: Cannot open include file: 'sparse.inc': No such file or directory |
pymod gives me these 2 errors:
..\..\src\include\win32compat.h(57) : error C2632: 'int' followed by 'int' is illegal
C:\asss\vc6asss\src\pymod\pymod.c(689) : fatal error C1083: Cannot open include file: 'py_types.inc': No such file or directory
|
If anyone has any idea as to what I forgot to do please reply.
Also, in the guide from line 80:
msvc71_guide.txt wrote: | in database, add ..\..\mysqlinc to the include directories, and add libmysql.lib to the extra dependencies list. |
The ..\..\mysqlinc should be ..\..\windeps\mysqlinc.
Edit:
Okay, I solved the .inc errors and got asss to compile. To fix the problems I had to go through and manually run the scripts because my vc6 was having problems with python.
Pymod still gives that first error and a couple others, but I don't really need pymod atm so its not a problem for me. If others would like the entire project working though, someone will need to help me fix that.
Here's the VC++ 6.0 projects for everything I've made. Look in the projects folders for the projects, and in the settings make sure to change my "c:\python23" in Custom Build to whatever your python directory is.
Like I said, to solve my include problems I just ran the python scripts manually, which if it dosen't work on your machine either you can use the gen_asss/pymod/funky.bat as a guideline.
Good luck!
vc6as3.zip - 211.69 KB
File downloaded or viewed 38 time(s)
|
|
Back to top |
|
|
Bak ?ls -s 0 in
Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Sun Jul 16, 2006 5:20 pm Post subject: |
|
|
|
|
You should try using one of the converters to convert it to a VC6 project to see if it works out of the box
|
|
Back to top |
|
|
Muskrat Server Help Squatter
Age:37 Joined: Aug 24 2004 Posts: 829 Location: Swamp Offline
|
Posted: Sun Jul 16, 2006 5:42 pm Post subject: |
|
|
|
|
I couldn't find any converters that went back to 6, but I'm ok with how it works now for personal use.
|
|
Back to top |
|
|
Arnk Kilo Dylie Seasoned Helper
Age:36 Gender: Joined: Jul 14 2006 Posts: 108 Offline
|
Posted: Sun Jul 16, 2006 10:57 pm Post subject: |
|
|
|
|
The guide should be fixed now, good find.
|
|
Back to top |
|
|
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.
Age:36 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
|
Back to top |
|
|
Arnk Kilo Dylie Seasoned Helper
Age:36 Gender: Joined: Jul 14 2006 Posts: 108 Offline
|
Posted: Sat Jul 22, 2006 3:24 pm Post subject: |
|
|
|
|
o_O
By the way, there has been an issue with the bundled pthreads (apparently both the default windows release dll and mine) that caused a deadlock when a player disconnected, rendering the server all but useless as a real zone server. I have remedied this by updating the pthread.h/pthreadVC.dll/pthreadVC.lib locally, but I have not updated the guide yet, but if you're impatient, just get a new bundle of those files and rebuild.
|
|
Back to top |
|
|
Guest
Offline
|
Posted: Wed Aug 09, 2006 4:23 pm Post subject: |
|
|
|
|
Unrecoverable error (5): Error in loading module 'security:security'?
using the old security.dll will work? it uses pthreadgc.dll not vc.
|
|
Back to top |
|
|
Arnk Kilo Dylie Seasoned Helper
Age:36 Gender: Joined: Jul 14 2006 Posts: 108 Offline
|
Posted: Fri Aug 11, 2006 2:38 am Post subject: |
|
|
|
|
Eh, pthreadGC2.dll and security.dll come with the windows release I'm almost certain. Are you sure you have the scrty files in root?
|
|
Back to top |
|
|
Guest
Offline
|
Posted: Sat Aug 12, 2006 6:24 pm Post subject: |
|
|
|
|
scrty files were missing. thanks
|
|
Back to top |
|
|
|