MapInfo Pro

 View Only
  • 1.  Animation layer

    Posted 02-16-2023 12:10

    Hi, 

    Does anyone have a copy of the animator.mbx referenced in the mapbasic user guide?

    In the samples under mapbasic program it only has the .mb and when I (being a mapbasic idiot) try and to compile it there are loads of errors.  Is there an actual mbx that exists?

    Thanks

    Nick



    ------------------------------
    Nick Hall
    Mapchester LTD
    Manchester
    ------------------------------


  • 2.  RE: Animation layer

    Posted 02-17-2023 02:20
    Edited by Uffe Kousgaard 02-17-2023 02:20

    Start by creating a new folder, since you can't compile within the program files folder.

    So, I have d:\xx\animator, d:\xx\inc and d:\xx\lib, which keep copies of the similar folders from samples.

    Now open mapbasic and compile lib\Resstrng.mb and animator\animator.mb.

    Finally open the project file, animator\ani_proj.mbp and hit "Compile > Link".

    Now you have animator.mbx

    It would be cool if mapbasic could compile modules listed in a project file on its own, but unfortunately not. You have to do it manually for every file referenced in the mbp file.



    ------------------------------
    Uffe Kousgaard
    ROUTEWARE
    Roskilde
    ------------------------------



  • 3.  RE: Animation layer

    Posted 02-17-2023 04:27

    Thanks Uffe, I'll give that a go.

    The annoying thing for me is that the manual actually refers to a .mbx that doesn't exist!

    Nick



    ------------------------------
    Nick Hall
    Mapchester LTD
    Manchester
    ------------------------------