Skip to content

Having issues compiling with ambuilder #13

@bottiger1

Description

@bottiger1

Hello I am having a lot of issues compiling with ambuilder.

It seems like it is made for some old build of sourcemod. I had to include additional directories for files that moved such as:

/sourcemod/sourcepawn/include/sp_vm_types.h
/sourcemod/public/amtl/amtl/am-string.h

    compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD14'], 'build', 'includes'))
    compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD14'], 'public'))
    compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD14'], 'public', 'amtl'))
    compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD14'], 'public', 'amtl', 'amtl'))
    compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache['SOURCEMOD14'], 'sourcepawn', 'include'))

And also comment out "AMBuild.Include(os.path.join('buildbot', 'Versioning'), globals)".

Then smsdk_config.hpp complains about SM_VERSION not being defined.

Is this intended? Will there be any effort to get it to compile with a recent version of sourcemod?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions