be80be
Well-Known Member
For some reason it's not finding the WI2C.c
Code:
:: advisory: (1233) Employing 18F1220 errata work-arounds:
:: advisory: (1234) * GOTO instruction at reset vector must be preceded by NOP
:: advisory: (1234) * DAW instruction may improperly clear CARRY bit
:: warning: (1273) Omniscient Code Generation not available in Free mode
../WI2C.c:12: warning: (520) function "_i2c_start" is never called
../WI2C.c:28: warning: (520) function "_i2c_stop" is never called
../WI2C.c:46: warning: (520) function "_bit_out" is never called
../WI2C.c:63: warning: (520) function "_bit_in" is never called
../WI2C.c:79: warning: (520) function "_i2c_wr" is never called
../WI2C.c:99: warning: (520) function "_i2c_rd" is never called
../WI2C.c:118: warning: (520) function "_ack_poll" is never called
../main.c:169: warning: (1464) number of arguments passed to function "_WI2C_wr_byte" does not match function's prototype
:0: error: (499) undefined symbol:
_WI2C_wr_byte(dist/default/production\I2c.X.production.obj)
(908) exit status = 1
nbproject/Makefile-default.mk:147: recipe for target 'dist/default/production/I2c.X.production.hex' failed
make[2]: Leaving directory 'C:/Users/USER/Desktop/Clearning/PICI2C/I2c.X'
make[2]: *** [dist/default/production/I2c.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/USER/Desktop/Clearning/PICI2C/I2c.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 969ms)