Added Lights.h & lamps.h and pressed F5. This appeared to build but could not copy output due to pop-up that "This project is out of date:" Traffic_Light - Debug Win32 "Would you like to build it? I clicked Yes, output:
1>------ Build started: Project: Traffic_Light, Configuration: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(40,5): warning MSB8005: The property 'NMakeBuildCommandLine' doesn't exist. Skipping...
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Output.Micro Build has:
#####################
Compiling 'Traffic_Light' for 'Arduino/Genuino Zero (Programming Port)'
Program size: 8,620 bytes (used 3% of a 262,144 byte maximum) (0.56 secs)
Uploading 'Traffic_Light' to 'Arduino/Genuino Zero (Programming Port)' using 'COM18'
Open On-Chip Debugger 0.9.0-gd4b7679 (2015-06-10-22:24)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html debug_level: 0
adapter speed: 500 kHz
adapter_nsrst_delay: 100
cortex_m reset_config sysresetreq
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x81000000 pc: 0x000005e8 msp: 0x20007ffc
** Programming Started **
auto erase enabled
wrote 24576 bytes from file fic_Light.ino.bin in 3.012172s (7.968 KiB/s)
** Programming Finished **
** Verify Started **
verified 8812 bytes in 0.748043s (11.504 KiB/s)
** Verified OK **
** Resetting Target **
The upload process has finished.
shutdown command invoked
########################
If I click No to pop-up that "This project is out of date:" Traffic_Light - Debug Win32 "Would you like to build it? The new pop-up is "Unable to start debugging. Cannot access as disposed object. Object name: 'Debugger'."
If I Build. Clean Build & Build.Rebuild Output.Micro Build is:
Compiling 'Traffic_Light' for 'Arduino/Genuino Zero (Programming Port)'
Traffic_Light.ino:In function 'void SetNewState(int)
Lights.ino:42:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
:char *activeLamp = "yellow"
Lights.ino:41:6: warning: unused variable 'delayTime' [-Wunused-variable]
:int delayTime = 100
Lights.ino:42:8: warning: unused variable 'activeLamp' [-Wunused-variable]
:char *activeLamp = "yellow"
Traffic_Light.ino:In function 'LampState* FindStartState2()
Lamps.ino:29:1: warning: control reaches end of non-void function [-Wreturn-type]
Program size: 8,620 bytes (used 3% of a 262,144 byte maximum) (17.93 secs)
Pressing F5 generates "This project is out of date:" Traffic_Light - Debug Win32 "Would you like to build it? Yes, No or Cancel generates pop-up is "Unable to start debugging. Cannot access as disposed object. Object name: 'Debugger'." which is as occurs in
http://www.visualmicro.com/forums/YaBB.pl?num=1468416233