SOLVED: BricxCC Compilation Error, line 1 file "Files"...

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
jld001
Posts: 19
Joined: 07 Sep 2012, 21:32

SOLVED: BricxCC Compilation Error, line 1 file "Files"...

Post by jld001 »

This is the Error:

Code: Select all

line 1, file "Files": Error: Unable to find the specified input file
Windows 7, BricxCC 3.3, NXC.
My first line is a comment. Any ideas? Thanks in advance!
Last edited by jld001 on 08 Sep 2012, 14:11, edited 1 time in total.
My Githubz of Source Codez, in order of awesomeness:
https://github.com/ArtskydJ/NXC_Source
https://github.com/ArtskydJ/NXC_Tests
My Lego Creations, in no particular order:
LEGO Bop-It - http://www.youtube.com/watch?v=6TsqrBVKbj0
LEGO Safe - http://www.youtube.com/watch?v=MyDRfVquHuY
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: BricxCC Compilation Error, line 1 file "Files"...

Post by HaWe »

what a pity! I just lent my soothsayer's crystal ball to somebody else :(
so all I can assume is that the compiler is probably unable to find the specified input file "Files" in line 1 of your source code
;)
h-g-t
Posts: 552
Joined: 07 Jan 2011, 08:59
Location: Albania

Re: BricxCC Compilation Error, line 1 file "Files"...

Post by h-g-t »

Perhaps you could post the actual line of code?
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
jld001
Posts: 19
Joined: 07 Sep 2012, 21:32

Re: BricxCC Compilation Error, line 1 file "Files"...

Post by jld001 »

Thanks for the concern. ;)
The problem is that I had a path in the EXE Path in the settings. Maybe something to do with the path having the word "Files" in it. I deleted the line, and it works fine now.
(Edit>Preferences>Compiler>NBC/NXC>EXE path)
My Githubz of Source Codez, in order of awesomeness:
https://github.com/ArtskydJ/NXC_Source
https://github.com/ArtskydJ/NXC_Tests
My Lego Creations, in no particular order:
LEGO Bop-It - http://www.youtube.com/watch?v=6TsqrBVKbj0
LEGO Safe - http://www.youtube.com/watch?v=MyDRfVquHuY
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: SOLVED: BricxCC Compilation Error, line 1 file "Files"...

Post by HaWe »

well, my crystal ball prognosticates that your first code line actually could have been no comment. ;)
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: SOLVED: BricxCC Compilation Error, line 1 file "Files"...

Post by afanofosc »

You can grab a new test release from http://bricxcc.sourceforge.net/test_releases/

This latest test release includes changes to fix this bug. You should now be able to have an EXE Path containing spaces configured in the Preferences dialog for the NBC/NXC compiler without causing compiler errors. Of course, if you use the external compiler then this path must be a valid path to the nbc.exe executable.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests