User Tag List

Results 1 to 7 of 7

Thread: Build failure for SDK?

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    America
    Posts
    404
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Build failure for SDK?

    Umm, yeah, probably noob question. I went to debug my first extension in the MMF2 sdk, and got these errors:
    []------ Build started: Project: Template, Configuration: Debug Win32 ------
    Compiling...
    Main.cpp
    c:\documents and settings\jacob ryan mccollum\desktop\cick_ide\mmf2sdk\mmf2sdk\extensio ns\sp_math\main.cpp(25) : error C2065: 'CND_conCPR' : undeclared identifier
    c:\documents and settings\jacob ryan mccollum\desktop\cick_ide\mmf2sdk\mmf2sdk\extensio ns\sp_math\main.cpp(25) : error C2065: 'M_CND_P1' : undeclared identifier
    c:\documents and settings\jacob ryan mccollum\desktop\cick_ide\mmf2sdk\mmf2sdk\extensio ns\sp_math\main.cpp(25) : error C2065: 'M_CND_P2' : undeclared identifier
    c:\documents and settings\jacob ryan mccollum\desktop\cick_ide\mmf2sdk\mmf2sdk\extensio ns\sp_math\main.cpp(37) : error C2065: 'EXP_expADD' : undeclared identifier
    c:\documents and settings\jacob ryan mccollum\desktop\cick_ide\mmf2sdk\mmf2sdk\extensio ns\sp_math\main.cpp(38) : error C2065: 'EXP_expSUB' : undeclared identifier
    c:\documents and settings\jacob ryan mccollum\desktop\cick_ide\mmf2sdk\mmf2sdk\extensio ns\sp_math\main.cpp(39) : error C2065: 'EXP_expMUL' : undeclared identifier
    c:\documents and settings\jacob ryan mccollum\desktop\cick_ide\mmf2sdk\mmf2sdk\extensio ns\sp_math\main.cpp(40) : error C2065: 'EXP_expDIV' : undeclared identifier
    Build log was saved at "file://c:\Documents and Settings\Jacob Ryan McCollum\Desktop\CICK_IDE\MMF2SDK\MMF2SDK\Extensio ns\sp_MATH\Debug\BuildLog.htm"
    Template - 7 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== [/]

    Why won't it recognize my actions and conditions?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Build failure for SDK?

    You probably don't declare them...
    Look at :
    - main.h : define ID for all your actions, conditions and expressions
    - res.rc : define menus and strings for your actions, conditions and expressions
    - ressource.h : verify that IDMN_* ID are correct (25000,26000,27000)
    - main.cpp : verify that your functions names are referenced in the same order as in the main.h in the 3 arrays at the bottom of the file

    <img src="/center/images/graemlins/wink.gif" alt="" />

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    America
    Posts
    404
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Build failure for SDK?

    I'll check all of that! Thanks, n_K.
    I appreciate it.

    EDIT: I can't find any 'res.rc'. Can you please point me to where it's stored?

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2006
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Build failure for SDK?

    It's called "Ext.rc"

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    America
    Posts
    404
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Build failure for SDK?

    Oh, that. How do you edit that? I have VC++ 2005 express edition. When I open that up, it says something like:
    []Resource Editing not allowed![/]

    Any suggestions?

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2006
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Build failure for SDK?

    You need to edit it manually with Notepad, or an external resource editor, if you can find one. I've only ever been able to find commercial ones which didn't really work all that well.

  7. #7
    No Products Registered

    Join Date
    Jul 2006
    Location
    America
    Posts
    404
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Build failure for SDK?

    <img src="/center/images/graemlins/tongue.gif" alt="" /> Thanks... I appreciate it, you guys!

Similar Threads

  1. New submission criteria causes failure.
    By animdude in forum XNA Export Module Version 2.0
    Replies: 2
    Last Post: 26th October 2013, 06:04 AM
  2. Failure to read from Ini when using Sub App
    By JoKa in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 21st July 2010, 09:10 AM
  3. Item spawning failure
    By SuperChiken in forum The Games Factory 2 - Technical Support
    Replies: 9
    Last Post: 4th August 2009, 12:53 AM
  4. RGB Failure!
    By Mantoid in forum File Archive
    Replies: 2
    Last Post: 4th October 2008, 01:35 PM
  5. Update Failure
    By Sterling7 in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 25th December 2007, 07:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •