Import Problem
BlitzMax Forums/BlitzMax Programming/Import Problem i have got another problem with import.
i have three files: main.bmx, src/a.bmx, src/b.bmx
main.bmx
src/a.bmx
src/b.bmx
The problem is now that to compile src/a.bmx the import
command should look like this : Import "b.bmx"
but to compile main.bmx correctly it should be : Import "src/b.bmx"
So you can't use sources in other folders with bmax and thats not very good.
i have three files: main.bmx, src/a.bmx, src/b.bmx
main.bmx
Import "src/a.bmx" . . .
src/a.bmx
Import "src/b.bmx" Type TypeA Field bla:TypeB . End Type
src/b.bmx
Type TypeB . . End Type
The problem is now that to compile src/a.bmx the import
command should look like this : Import "b.bmx"
but to compile main.bmx correctly it should be : Import "src/b.bmx"
So you can't use sources in other folders with bmax and thats not very good.
? Why are you specifying import src/b.bmx rather than just b.bmx?
the problem is if u use import "src/b.bmx" blitzmax cannot compile a.bmx and if you use import "b.bmx" bmax cannot compile main.bmx
but they must bee compile both to link them together
but they must bee compile both to link them together