Page 1 of 1

need help to compile MTDBG using Fasm on windows

Posted: Wed Jun 11, 2014 12:56 am
by seppe
I try to compile MTDBG on windows to learn its innerworking and to experiment with it.
I have little experiance with Fasm and could use some help.
I downloaded the latest MTDBG folder from KolibriOS 0.7.
To resolve assembly errors,
1. I added the macro.inc file from the LibGUI folder.
2. I added a "include 'kglobals.inc'" in the .asm file.
3. I commented the $Revision line in the kglobals.inc file
Now I get the error "In gui.inc [1768] undefined symbol 'thread_info.box.width' :(
I have no clue where those symbols are defined. :?:
All help is appreciated.

Re: need help to compile MTDBG using Fasm on windows

Posted: Wed Jun 11, 2014 8:38 am
by SoUrcerer
Please, use Kolibri OS SVN to get sources. svn://kolibrios.org

Re: need help to compile MTDBG using Fasm on windows

Posted: Wed Jun 11, 2014 2:55 pm
by hidnplayr
You are messing with old source files, and copying files from the wrong places.
Like Sourcerer suggested, getting the whole source tree from SVN will fix all those problems.

Re: need help to compile MTDBG using Fasm on windows

Posted: Wed Jun 11, 2014 3:10 pm
by seppe
Off course. What I missed was the way to get to the svn browser: "svn://kolibrios.org/". :D
Using the browser I immediately noticed the mistake: I must use the macro.inc file from the "programs" folder.
Now the assembly works without problem, and I can start digging in.
Thank you SoUrcerer and hidnplayr.