MikeHart

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 39 total)
  • Author
    Posts
  • in reply to: Fatal mx2cc error, why? #5415

    MikeHart
    Participant

    I am not sure. I think it is by design. For whatever odd reason it might be.

    in reply to: fantomX2 for Monkey2 #5395

    MikeHart
    Participant

    It is slowly coming together 🙂

    Attachments:
    in reply to: Fatal mx2cc error, why? #5384

    MikeHart
    Participant

    Ok, found it. This NULL assigment to an object declaration was causing it:

    Make it

    and it works.

    in reply to: Ted2Go IDE #4655

    MikeHart
    Participant

    Great job on the enhancements. Would love to use it but it closes sometimes without a reason. Saving a source file or closing it for an example.

    Windows 7 Home here.

    in reply to: Virtual Class Declaration errors #4548

    MikeHart
    Participant

    I have a similar problem. With v1.02 it compiled fine. Current version gives this error:

    Super class ‘fanotmX2.cftTween.TweenEquationCall’ has no default constructor

    If I add a New method to it, it still gives this error.

    in reply to: fantomX2 for Monkey2 #4543

    MikeHart
    Participant

    Yes, I will continue with it.


    MikeHart
    Participant

    Thanks guys. Now all i need is to detect the size of the window outside OnRender.

    in reply to: Another modified version of Ted2 #3116

    MikeHart
    Participant

    What i am missing in ted is 2 things.

    -Find in files

    -A code treeview with class/method/function names.

    in reply to: V103 does.makedocs.work.for you? #3080

    MikeHart
    Participant

    Ok. I think that the docs are created for the modules but the browser console shows script errors here. I will try to inverstigate further.

    in reply to: V103 does.makedocs.work.for you? #3066

    MikeHart
    Participant

    It runs but creates no docs for the modules. In the created help files the module section is empty.

    in reply to: fantomX2 for Monkey2 #2946

    MikeHart
    Participant

    And now I can. Mark fixed my User account. 🙂

    in reply to: fantomX2 for Monkey2 #2929

    MikeHart
    Participant

    I would have posted on the MX forum before but for some odd reason i can’t.

    in reply to: What do you do if it parses fine but the linker throws up? #2851

    MikeHart
    Participant

    It could be, that one problem is the initialisation of class fields which represent an object with a NULL value:

    Field engine:ftEngine = Null

    I have to test this further

    in reply to: What do you do if it parses fine but the linker throws up? #2841

    MikeHart
    Participant

    If you are curious, what I see on my screen…

    mx2cc version 1.0.2

    ***** Making module ‘fantomX2’ *****

    Parsing…
    Semanting…
    Translating…
    Compiling….
    Build error: System command ‘g++ -std=c++11 -m32 -O3 -DNDEBUG -I”C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/freetype/freetype-2.6.3/include/” -I”C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/openal/openal-soft/include/” -I”C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/gles20/angle/include/” -I”C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/sdl2/SDL/include/” -I”C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native” -c -o “C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/build_cache/desktop_release_windows/fantomX2_0cftTimer.cpp.o” “C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/build_cache/desktop_release_windows/fantomX2_cftTimer.cpp”‘ failed.

    g++ -std=c++11 -m32 -O3 -DNDEBUG -I”C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/freetype/freetype-2.6.3/include/” -I”C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/openal/openal-soft/include/” -I”C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/gles20/angle/include/” -I”C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/sdl2/SDL/include/” -I”C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native” -c -o “C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/build_cache/desktop_release_windows/fantomX2_0cftTimer.cpp.o” “C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/build_cache/desktop_release_windows/fantomX2_cftTimer.cpp”

    In file included from C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbmonkey.h:10:0,
    from C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/desktop_release_windows/fantomX2_cftTimer.h:5,
    from C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/build_cache/desktop_release_windows/fantomX2_cftTimer.cpp:2:
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h: In instantiation of ‘void bbGCVar<T>::enqueue() [with T = t_fantomX2_ftLayer]’:
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h:194:10: required from ‘bbGCVar<T>::bbGCVar(T*) [with T = t_fantomX2_ftLayer]’
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/desktop_release_windows/fantomX2_cftEngine.h:122:69: required from here
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h:186:16: error: cannot dynamic_cast ‘((bbGCVar<t_fantomX2_ftLayer>*)this)->bbGCVar<t_fantomX2_ftLayer>::_ptr’ (of type ‘struct t_fantomX2_ftLayer*’) to type ‘struct bbGCNode*’ (source is a pointer to incomplete type)
    bbGC::enqueue( dynamic_cast<bbGCNode*>( _ptr ) );
    ^
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h: In instantiation of ‘void bbGCVar<T>::enqueue() [with T = t_fantomX2_ftImageManager]’:
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h:194:10: required from ‘bbGCVar<T>::bbGCVar(T*) [with T = t_fantomX2_ftImageManager]’
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/desktop_release_windows/fantomX2_cftEngine.h:126:77: required from here
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h:186:16: error: cannot dynamic_cast ‘((bbGCVar<t_fantomX2_ftImageManager>*)this)->bbGCVar<t_fantomX2_ftImageManager>::_ptr’ (of type ‘struct t_fantomX2_ftImageManager*’) to type ‘struct bbGCNode*’ (source is a pointer to incomplete type)
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h: In instantiation of ‘void bbGCVar<T>::enqueue() [with T = t_fantomX2_ftFont]’:
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h:194:10: required from ‘bbGCVar<T>::bbGCVar(T*) [with T = t_fantomX2_ftFont]’
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/desktop_release_windows/fantomX2_cftObject.h:79:62: required from here
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h:186:16: error: cannot dynamic_cast ‘((bbGCVar<t_fantomX2_ftFont>*)this)->bbGCVar<t_fantomX2_ftFont>::_ptr’ (of type ‘struct t_fantomX2_ftFont*’) to type ‘struct bbGCNode*’ (source is a pointer to incomplete type)
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h: In instantiation of ‘void bbGCVar<T>::enqueue() [with T = t_fantomX2_ftTileMap]’:
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h:194:10: required from ‘bbGCVar<T>::bbGCVar(T*) [with T = t_fantomX2_ftTileMap]’
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/desktop_release_windows/fantomX2_cftObject.h:112:68: required from here
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h:186:16: error: cannot dynamic_cast ‘((bbGCVar<t_fantomX2_ftTileMap>*)this)->bbGCVar<t_fantomX2_ftTileMap>::_ptr’ (of type ‘struct t_fantomX2_ftTileMap*’) to type ‘struct bbGCNode*’ (source is a pointer to incomplete type)
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h: In instantiation of ‘void bbGCVar<T>::enqueue() [with T = t_fantomX2_ftObjAnimMng]’:
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h:194:10: required from ‘bbGCVar<T>::bbGCVar(T*) [with T = t_fantomX2_ftObjAnimMng]’
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/fantomX2/fantomX2.buildv1.0.2/desktop_release_windows/fantomX2_cftObject.h:121:74: required from here
    C:/Users/Micha/Desktop/FantomMonkey/monkey2/modules/monkey/native/bbgc.h:186:16: error: cannot dynamic_cast ‘((bbGCVar<t_fantomX2_ftObjAnimMng>*)this)->bbGCVar<t_fantomX2_ftObjAnimMng>::_ptr’ (of type ‘struct t_fantomX2_ftObjAnimMng*’) to type ‘struct bbGCNode*’ (source is a pointer to incomplete type)
    ***** Fatal mx2cc error *****

    Build error.

    in reply to: Mark – mx2cc just parse without compile? #2821

    MikeHart
    Participant

    I was missing this as well. Including a Code Listbox like in Ted1.

Viewing 15 posts - 16 through 30 (of 39 total)