View Single Post
Author Message
More
Member
Join Date: Nov 2004
Location: Internet
Old 06-02-2005 , 10:08   Borland C++ Command Line Tools
Reply With Quote #1

Hi,
i am new in writing modules so i have a question:
because i didnt have microsoft visual c++ i downloaded the free borland command line tools for c++.
But i dont understand how to make a dll with them but the readme says it can compile a dll but i dont know the syntax. also can it be that i must declare every include file for itself (will be hard work for the hösdk includes) or is it possible to declare a whole folder as incuded. also maybe someone can make a short step by step example (like the ones for visual c++ 6 & 7).
whould be nice.

EDIT: The syntax is something with: bcc32 -tWD -e"mymodule_amxx.dll" mymodule.cpp

When i try to compile i get always errors:
Code:
<path_to_my_module>\buildinfo.cpp:
Error E2146 <path_to_my_compiler>\Include\dlls\util.h 248: Need an identifier to declare
Error E2040 <path_to_my_compiler>\Include\metamod-source\types_meta.h 149: Declaration terminated incorrectly
Error E2303 <path_to_my_compiler>\Include\metamod-source\mreg.h 157: Type name expected
Error E2139 <path_to_my_compiler>\Include\metamod-source\mreg.h 157: Declaration missing ;
Error E2303 <path_to_my_compiler>\Include\metamod-source\mreg.h 241: Type name expected
Error E2139 <path_to_my_compiler>\Include\metamod-source\mreg.h 241: Declaration missing ;
Error E2040 <path_to_my_compiler>\Include\metamod-source\log_meta.h 151: Declaration terminated incorrectly
Warning W8027 <path_to_my_compiler>\Include\metamod-source\osdep.h 886: Functions containing for are not expanded inline
Error E2209 <path_to_my_compiler>\Include\metamod-source\engine_api.h 79: Unable to open include file 'archtypes.h'
Error E2303 <path_to_my_compiler>\Include\metamod-source\engine_api.h 277: Type name expected
Error E2141 <path_to_my_compiler>\Include\metamod-source\engine_api.h 327: Declaration syntax error
Error E2034 <path_to_my_compiler>\Include\metamod-source\engine_api.h 329: Cannot convert 'int' to 'const char *'
Error E2293 <path_to_my_compiler>\Include\metamod-source\engine_api.h 329: ) expected
Error E2141 <path_to_my_compiler>\Include\metamod-source\engine_api.h 369: Declaration syntax error
Error E2141 <path_to_my_compiler>\Include\metamod-source\engine_api.h 521: Declaration syntax error
Error E2141 <path_to_my_compiler>\Include\metamod-source\engine_api.h 523: Declaration syntax error
Error E2257 <path_to_my_compiler>\Include\metamod-source\engine_api.h 685: , expected
Error E2238 <path_to_my_compiler>\Include\metamod-source\engine_api.h 725: Multiple declaration for 'uint32'
Error E2257 <path_to_my_compiler>\Include\metamod-source\engine_api.h 725: , expected
Error E2238 <path_to_my_compiler>\Include\metamod-source\engine_api.h 757: Multiple declaration for 'int32'
Error E2257 <path_to_my_compiler>\Include\metamod-source\engine_api.h 757: , expected
Error E2238 <path_to_my_compiler>\Include\metamod-source\engine_api.h 873: Multiple declaration for 'sequenceEntry_s'
Error E2257 <path_to_my_compiler>\Include\metamod-source\engine_api.h 873: , expected
Error E2238 <path_to_my_compiler>\Include\metamod-source\engine_api.h 875: Multiple declaration for 'sentenceEntry_s'
Error E2257 <path_to_my_compiler>\Include\metamod-source\engine_api.h 875: , expected
Error E2040 <path_to_my_compiler>\Include\metamod-source\meta_api.h 201: Declaration terminated incorrectly
Error E2228 <path_to_my_compiler>\Include\metamod-source\meta_api.h 201: Too many error or warning messages
*** 26 errors in Compile ***
<path_to_my_module>\amxxmodule.cpp:
Error E2146 <path_to_my_compiler>\Include\dlls\util.h 248: Need an identifier to declare
Error E2040 <path_to_my_compiler>\Include\metamod-source\types_meta.h 149: Declaration terminated incorrectly
Error E2303 <path_to_my_compiler>\Include\metamod-source\mreg.h 157: Type name expected
Error E2139 <path_to_my_compiler>\Include\metamod-source\mreg.h 157: Declaration missing ;
Error E2303 <path_to_my_compiler>\Include\metamod-source\mreg.h 241: Type name expected
Error E2139 <path_to_my_compiler>\Include\metamod-source\mreg.h 241: Declaration missing ;
Error E2040 <path_to_my_compiler>\Include\metamod-source\log_meta.h 151: Declaration terminated incorrectly
Warning W8027 <path_to_my_compiler>\Include\metamod-source\osdep.h 886: Functions containing for are not expanded inline
Error E2209 <path_to_my_compiler>\Include\metamod-source\engine_api.h 79: Unable to open include file 'archtypes.h'
Error E2303 <path_to_my_compiler>\Include\metamod-source\engine_api.h 277: Type name expected
Error E2141 <path_to_my_compiler>\Include\metamod-source\engine_api.h 327: Declaration syntax error
Error E2034 <path_to_my_compiler>\Include\metamod-source\engine_api.h 329: Cannot convert 'int' to 'const char *'
Error E2293 <path_to_my_compiler>\Include\metamod-source\engine_api.h 329: ) expected
Error E2141 <path_to_my_compiler>\Include\metamod-source\engine_api.h 369: Declaration syntax error
Error E2141 <path_to_my_compiler>\Include\metamod-source\engine_api.h 521: Declaration syntax error
Error E2141 <path_to_my_compiler>\Include\metamod-source\engine_api.h 523: Declaration syntax error
Error E2257 <path_to_my_compiler>\Include\metamod-source\engine_api.h 685: , expected
Error E2238 <path_to_my_compiler>\Include\metamod-source\engine_api.h 725: Multiple declaration for 'uint32'
Error E2257 <path_to_my_compiler>\Include\metamod-source\engine_api.h 725: , expected
Error E2238 <path_to_my_compiler>\Include\metamod-source\engine_api.h 757: Multiple declaration for 'int32'
Error E2257 <path_to_my_compiler>\Include\metamod-source\engine_api.h 757: , expected
Error E2238 <path_to_my_compiler>\Include\metamod-source\engine_api.h 873: Multiple declaration for 'sequenceEntry_s'
Error E2257 <path_to_my_compiler>\Include\metamod-source\engine_api.h 873: , expected
Error E2238 <path_to_my_compiler>\Include\metamod-source\engine_api.h 875: Multiple declaration for 'sentenceEntry_s'
Error E2257 <path_to_my_compiler>\Include\metamod-source\engine_api.h 875: , expected
Error E2040 <path_to_my_compiler>\Include\metamod-source\meta_api.h 201: Declaration terminated incorrectly
Error E2228 <path_to_my_compiler>\Include\metamod-source\meta_api.h 201: Too many error or warning messages
*** 26 errors in Compile ***
Fatal: Unable to open file 'C0D32.OBJ'
More is offline