View Single Post
Author Message
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 09-12-2015 , 00:48   Compiling AMXX Module
Reply With Quote #1

I'm trying to compile my module, but I'm seeing the below error messages. I have not modified this section within the amxxmodule header or source, so I'm confused on why it is occurring. Commenting out the typedefs causes a significant number of errors to appear similar to:

Code:
1>d:\projects\cpp\logger\public\sdk\amxxmodule.h(155): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Does anyone have any ideas as to why this is occurring? I am also having problems adding other dependencies, e.g., HL SDK headers, however I think I may be able to work through that by configuring "Additional Include Directories" within my VS project.

Thank you for any help!

The source code for my project is located:
https://github.com/collinsmith/LoggerModule

I've been using VS 2015 Community Edition

Code:
1>------ Rebuild All started: Project: logger, Configuration: Debug Win32 ------
1>  amxxmodule.cpp
1>  logger.cpp
1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\stdint.h(19): error C2371: 'int32_t': redefinition; different basic types
1>  d:\projects\cpp\logger\public\sdk\amxxmodule.h(107): note: see declaration of 'int32_t'
1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\stdint.h(23): error C2371: 'uint32_t': redefinition; different basic types
1>  d:\projects\cpp\logger\public\sdk\amxxmodule.h(108): note: see declaration of 'uint32_t'
1>  Generating Code...
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]

Last edited by Tirant; 09-12-2015 at 00:49. Reason: updated output for x86 compilation
Tirant is offline