Re: Developing tS 6.6 (Modeler) PlugIns in a Basic Language
Posted: 04 Oct 2016, 17:48
I know it's old topic, but i want to try to compile the wheely example source code with the last Freebasic 1.0.5.0 version but all time i fail to compil the code, i follow the pdf tutorial, but some steps it's not clear for me. here the steps order.
1) I install freebasic at c:\
2) i install fbedit IDE in freebasic at "c:\freebasic\fbedit"
3) i put all examples files folder TSX Wheely, TSX ViewCam etc.. in "c:\freebasic"
4) i put "tsxapi" folder in "c:\freebasic"
5) Now i launch FBedit, i open "Wheely.bas" file, i make the Compil TSX setting in build option.
6) i launch the compil and i get this error message:
Build error(s)
c:\FreeBASIC\fbc -w 3 -s gui -dll -export "wheely.bas" "wheely.rc"
C:\FreeBASIC\tsxapi\tsxMouse.bi(88) error 14: Expected identifier, found 'Pointer' in 'Type tsxMousetool As Pointer'
C:\FreeBASIC\tsxapi\tsxExtOb.bi(22) error 14: Expected identifier, found 'Pointer' in 'Type tsxFile As Pointer'
What's wrong here ? and where is "windows.bi" file ? i don't find it , sorry i'm noob in programming, maybe i make a bad step in the processus.
i want make this test to see if there is no trouble with freebasic 1.0.5.0, maybe i need to try with freebasic 0.20.0b from the tutorial pdf file.
EDIT: i found windows.bi file, it autodetect when i compil.
1) I install freebasic at c:\
2) i install fbedit IDE in freebasic at "c:\freebasic\fbedit"
3) i put all examples files folder TSX Wheely, TSX ViewCam etc.. in "c:\freebasic"
4) i put "tsxapi" folder in "c:\freebasic"
5) Now i launch FBedit, i open "Wheely.bas" file, i make the Compil TSX setting in build option.
6) i launch the compil and i get this error message:
Build error(s)
c:\FreeBASIC\fbc -w 3 -s gui -dll -export "wheely.bas" "wheely.rc"
C:\FreeBASIC\tsxapi\tsxMouse.bi(88) error 14: Expected identifier, found 'Pointer' in 'Type tsxMousetool As Pointer'
C:\FreeBASIC\tsxapi\tsxExtOb.bi(22) error 14: Expected identifier, found 'Pointer' in 'Type tsxFile As Pointer'
What's wrong here ? and where is "windows.bi" file ? i don't find it , sorry i'm noob in programming, maybe i make a bad step in the processus.
i want make this test to see if there is no trouble with freebasic 1.0.5.0, maybe i need to try with freebasic 0.20.0b from the tutorial pdf file.
EDIT: i found windows.bi file, it autodetect when i compil.