Loaded the ESP8266 and getting error with a simple print

Discussion of issues related to writing ZBasic applications for targets other than ZX devices, i.e. generic targets.
Post Reply
lhatch
Posts: 1
Joined: 26 May 2016, 6:33 AM

Loaded the ESP8266 and getting error with a simple print

Post by lhatch »

Not sure if I missed a patch or addon or something.

On all three machine I loaded it. XP, Win10 and Win10. With compatability mode on for Win10 machines. Press F7 and get:

Error: one or more errorsoccurred in the back-end build process for "test.esp"

I selected the ESP for the target. Used

Sub Main()
'
End Sub

ALSO
Sub Main()
debug.print "TEST"
End Sub
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: Loaded the ESP8266 and getting error with a simple print

Post by dkinzer »

lhatch wrote:Error: one or more errors occurred in the back-end build process for "test.esp"
In order to get more information about what's going wrong, add the following two lines to your project file near the top. The project file can be opened by selecting "Open Project File" from the Options menu.

Code: Select all

--version
--verbose
--keep-files
The first option causes the compiler version to be output during the build process. The second one causes the actual build output to be displayed in the Output window so that the specific error can be seen. The third option causes the generated C files to be kept.

Once these lines are in place, hit F7 again. You should see much more text displayed in the Output window. You can select all of the emitted text and use ctrl-C to copy it to the clipboard and then paste it here in a reply. Depending on what is in the output, it may be useful to get the generated files later.
- Don Kinzer
Post Reply