If your fbc.exe is not on path, and you are compiling fbfrog via an ide.
You could try this:
create an empty file called nil.bas say, and save it in the source folder.(along with all the other files)
Then set your ide settings to
*.bas -m fbfrog
and compile nil.bas.
include files with same name not ignored
Re: include files with same name not ignored
Hi dodicat, I'm compiling from console (aka: no IDE) with:
- current dir = ../FBFrog/src/
- FBC = fully qualified (not relative) path, to the compiler ...
(as written in a earlier post)
C:\DEV_TOOLS\FreeBASIC\source\FBFrog\src>c:\dev_tools\freebasic\1071_64\fbc *.bas -m FbFrog
It fails on: __FB_ARGC__ which I'm using successfully, in other programs.
That is, what makes it so difficult to understand, what's going on ...
- current dir = ../FBFrog/src/
- FBC = fully qualified (not relative) path, to the compiler ...
(as written in a earlier post)
C:\DEV_TOOLS\FreeBASIC\source\FBFrog\src>c:\dev_tools\freebasic\1071_64\fbc *.bas -m FbFrog
It fails on: __FB_ARGC__ which I'm using successfully, in other programs.
That is, what makes it so difficult to understand, what's going on ...
Re: include files with same name not ignored
Mr dodicat
you come up with novel solutions, how did you arrive at this?
you come up with novel solutions, how did you arrive at this?
Re: include files with same name not ignored
Maybe it works with -m fbfrog instead of -m FbFrog, unfortunately it seems that the -m option is case-sensitive (it needs to match the file name fbfrog.bas).MrSwiss wrote:C:\DEV_TOOLS\FreeBASIC\source\FBFrog\src>c:\dev_tools\freebasic\1071_64\fbc *.bas -m FbFrog
It fails on: __FB_ARGC__
Re: include files with same name not ignored
Mr swiss
OK, I get the same errors if I compile the fbfrog.bas file with options *.bas -m fbfrog.(with my command line tool)
Try compiling an empty file nil.bas with the options.
srvaldez
I never have fbc.exe on path, an ide needs a file to compile, I have done this before when compiling .bas source and it works OK.
OK, I get the same errors if I compile the fbfrog.bas file with options *.bas -m fbfrog.(with my command line tool)
Try compiling an empty file nil.bas with the options.
srvaldez
I never have fbc.exe on path, an ide needs a file to compile, I have done this before when compiling .bas source and it works OK.
Re: include files with same name not ignored
@dkl,
you where "spot on" with the -m 'name' (case matching), it's all OK now!
Thanks a lot to all, that provided input on this issue!
(Yet again: a tiny little detail, makes all the difference!)
you where "spot on" with the -m 'name' (case matching), it's all OK now!
Thanks a lot to all, that provided input on this issue!
(Yet again: a tiny little detail, makes all the difference!)