Author |
Message |
Zip Newbie
Joined: Aug 31 2004 Posts: 9 Offline
|
Posted: Tue Aug 31, 2004 2:55 am Post subject: Compiling |
 |
|
|
|
Firstly I have programming several languages, my strongest being php. So when in comes to compiling C++ im a tad bit lost. I have used Dev-C++ and of course the #pragmra not supported any more was getting me. Although I already saw a thread discussing that and that is not my issue. Basicaly I tried the beta 2005 for VSC++ and I got literaly thousands of errors when I tried to compile. So now I have Microsoft Visual C++ Toolkit 2003. Can any one (assuming its possible) how to compile, for example the tutorial dll (the one with Spawn.h, command.cpp, and spawn.ccp) using the toolkit?
Any help or redirection to a thread I missed that already has my answer would be very helpful, TY.
-ZiP |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
|
Back to top |
|
 |
Zip Newbie
Joined: Aug 31 2004 Posts: 9 Offline
|
Posted: Tue Aug 31, 2004 11:37 am Post subject: |
 |
|
|
|
Thank you very much... I think,
and yes I know php is scripting language. I was just saying that most languageds and SCRIPTING languages are simarlar
Edit----
Ty very much, Compiling has always been holding me back, I got the default spawn to compile and my endless hours of trying to get diff compilers to work is finaly over. My best regards! |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Tue Aug 31, 2004 3:30 pm Post subject: |
 |
|
|
|
You can't necessarily just "comment out" #pragma just because the compiler doesn't support it. Specifically, #pragma pack(). This controls the packing of structures and must be used to get the proper alignment of packet definitions. If the compiler has no other way to indicate packing, then you will be unable to get it to work at all. _________________ 4,691 irradiated haggis! |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Aug 31, 2004 5:13 pm Post subject: |
 |
|
|
|
But #pragma once is unnecessary in compiling MERV plugins. It is redundant with #ifndef WHATEVER_H, you know the sytem. |
|
Back to top |
|
 |
|