Author |
Message |
VampZ Guest
Offline
|
Posted: 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? |
|
Back to top |
|
 |
-Smong- Guest
Offline
|
Posted: 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. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: 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. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Guest
Offline
|
Posted: 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. |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sat May 22, 2004 2:01 pm Post subject: |
 |
|
|
|
__int64 is the VS 64-bit int. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
|