Plugin

This forum is currently in read-only mode.
  • So, I was doing this tutorial on the wiki on making plugins..

    And I somehow familiarized myself with ti..

    However

    I get this error after I finished up..

    Compiling...

    StdAfx.cpp

    c:\program files\scirra\common\internal.hpp(26) : error C2143: syntax error : missing ';' before 'constant'

    c:\program files\scirra\common\internal.hpp(255) : error C2143: syntax error : missing ';' before 'constant'

    Creating browse information file...

    Microsoft Browse Information Maintenance Utility Version 9.00.21022

    Copyright (C) Microsoft Corporation. All rights reserved.

    BSCMAKE: error BK1506 : cannot open file '.\Debug\ConstructSDK.sbr': No such file or directory

  • Internal.hpp(26):

    return IDE_FLAGS;

    Internal.hpp(255):

    objectInfo->ideFlags = IDE_FLAGS;

    Problem is about IDE_FLAGS from main.h:

    If you don't want any set, then you can do it like this:

    #define IDE_FLAGS 0[/code:1m25yr8l]
    
    You can't do it like this:
    [code:1m25yr8l]#define IDE_FLAGS[/code:1m25yr8l]
    Nor deleting this line is allowed.
  • I have set flags.. the line looks like:

    #define IDE_FLAGS OF_NOCOMMONDEBUG OF_NODRAW
    
    [/code:1327llhb]
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You have to have a | inbetween your flags, eg:

    #define IDE_FLAGS OF_NOCOMMONDEBUG | OF_NODRAW

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)