Server Help

ASSS Questions - Compiling Catid's .net ASSS

Anonymous - Sat May 22, 2004 11:53 am
Post subject: Compiling Catid's .net ASSS
When I compile I get a few errors:

c:\code\asss\asss_win32\my src\vs_net\includes\stdint.h(139): error C2632: 'long' followed by 'long' is illegal (There's like 50 of these)

c:\code\asss\asss_win32\src\mysql.c(17): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory

c:\code\asss\asss_win32\src\pymod.c(4): fatal error C1083: Cannot open include file: 'Python.h': No such file or directory

---------
I converted it from a .net 2003 to a .net 2002 so that I could open it, although I doubt that's what made mysql.h disappear among other things.

Anyone else get it to compile?
Anonymous - Sat May 22, 2004 12:02 pm
Post subject:
You probably want to remove pymod since no one but Grelminar knows how to make modules in Python (examining pymod.c would probably give clues to entry points though). Might as well save the system resources.

The long long is a 64 bit data type, maybe VS has some equivalent? You could remove the enc_vie module as that is the only one using it so far. Or get an old copy of the source and put the inline asm back in.
Dr Brain - Sat May 22, 2004 12:21 pm
Post subject:
Looks like you also need the mysql headers. But if you don't care about the aliasdb module, you could skip it.
Anonymous - Sat May 22, 2004 12:47 pm
Post subject:
ok I solved the python problem by getting rid of that module... then for mysql i changed it to "vs_net/mysql/include/mysql.h" which yielded some more errors probably because I don't have mysql++ (or the c equivilent) installed. So I took that one out too.

for the long long... I just put #define __WORDSIZE 64 after #include <bits/wordsize.h> in stdint.h.... which seems like a terrible idea, but it compiles. Thanks guys.
Cyan~Fire - Sat May 22, 2004 2:01 pm
Post subject:
__int64 is the VS 64-bit int.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group