Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
windows 10 xc8 not compiling
24-12-2016, 04:46 AM,
#1
windows 10 xc8 not compiling
has anyone had issues with windows 10 and xc8 not compiling? i can compile under SDCC.
 FRED
Reply
25-12-2016, 10:43 PM,
#2
RE: windows 10 xc8 not compiling
Hello Fred,
For me it works.
Did you install XC8 from Microchip? Habitually this is to do in Program Files (x86)\Microchip\[xc8\v1.36\bin]  (according to the version, here 1.36, you download.
Then You have to indicate the XC8 location in C:\pinguino\V12\user\pinguino.conf as following:
At the beginning of this file already preexisting :
[Paths]
sdcc_bin = C:\pinguino\compilers\p8\bin\
gcc_bin = C:\pinguino\compilers\p32\bin\
*************************************only to show the important
xc8_bin = C:\Program Files (x86)\Microchip\xc8\v1.36\bin\
**********************************************only to show the important
pinguino_8_libs = C:\pinguino\v12\p8\
pinguino_32_libs = C:\pinguino\v12\p32\
install_path = C:\pinguino\v12\
user_path = C:\pinguino\v12\user
user_libs = C:\pinguino\v12\pinguinolibs

Report in case of new troubles !
André
Reply
26-12-2016, 02:39 AM,
#3
RE: windows 10 xc8 not compiling
(25-12-2016, 10:43 PM)gtcbreizh Wrote: Hello Fred,
For me it works.
Did you install XC8 from Microchip? Habitually this is to do in Program Files (x86)\Microchip\[xc8\v1.36\bin]  (according to the version, here 1.36, you download.
Then You have to indicate the XC8 location in C:\pinguino\V12\user\pinguino.conf as following:
At the beginning of this file already preexisting :
[Paths]
sdcc_bin = C:\pinguino\compilers\p8\bin\
gcc_bin = C:\pinguino\compilers\p32\bin\
*************************************only to show the important
xc8_bin = C:\Program Files (x86)\Microchip\xc8\v1.36\bin\
**********************************************only to show the important
pinguino_8_libs = C:\pinguino\v12\p8\
pinguino_32_libs = C:\pinguino\v12\p32\
install_path = C:\pinguino\v12\
user_path = C:\pinguino\v12\user
user_libs = C:\pinguino\v12\pinguinolibs

Report in case of new troubles !
André
Andre`
it now compiles but upload fails in both xc8 and sdcc
[INFO] Welcome to Pinguino IDE 12.0.0-beta.1
[INFO] Compiling: C:\Pinguino\v12\user\examples\01.Basics\Blink\Blink.pde
[INFO] Board: Pinguino 4550
[INFO] Proc: 18f4550
[INFO] Arch: 8
[INFO] Bootloader: boot4
[INFO] compilation done
[INFO] Code size: 6134/29696 bytes (20.00% used)
[INFO] 1.671 seconds process time
[INFO] Looking for a Pinguino device ...
[DEBUG] Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pinguino\qtgui\ide\methods\decorators.py", line 281, in wrapped
return fn(Pinguino, *args, **kwargs)
File "C:\Python27\lib\site-packages\pinguino\qtgui\ide\methods\decorators.py", line 25, in wrapped
return fn(Pinguino, *args, **kwargs)
File "C:\Python27\lib\site-packages\pinguino\qtgui\ide\methods\core.py", line 863, in pinguino_upload
uploaded, result = self.pinguinoAPI.upload()
File "C:\Python27\lib\site-packages\pinguino\qtgui\pinguino_core\pinguino.py", line 137, in upload
data = self.__upload__()
File "C:\Python27\lib\site-packages\pinguino\qtgui\pinguino_core\pinguino_tools.py", line 287, in __upload__
result = self.upload_hex()
File "C:\Python27\lib\site-packages\pinguino\qtgui\pinguino_core\uploader\uploader.py", line 233, in upload_hex
self.uploader.uploadDevice(self.hex_file, self.board)
File "C:\Python27\lib\site-packages\pinguino\qtgui\pinguino_core\uploader\uploader8.py", line 570, in uploadDevice
device = self.getDevice(board)
File "C:\Python27\lib\site-packages\pinguino\qtgui\pinguino_core\uploader\uploader.py", line 115, in getDevice
device = usb.core.find(idVendor=board.vendor, idProduct=board.product)
File "C:\Python27\lib\site-packages\usb\core.py", line 1199, in find
raise ValueError('No backend available')
ValueError: No backend available

[INFO] Submitting bug report

thank you
fred
Reply
26-12-2016, 02:42 AM, (This post was last modified: 26-12-2016, 02:18 PM by derf158.)
#4
RE: windows 10 xc8 not compiling
(26-12-2016, 02:39 AM)derf158 Wrote:
(25-12-2016, 10:43 PM)gtcbreizh Wrote: Hello Fred,
For me it works.
Did you install XC8 from Microchip? Habitually this is to do in Program Files (x86)\Microchip\[xc8\v1.36\bin]  (according to the version, here 1.36, you download.
Then You have to indicate the XC8 location in C:\pinguino\V12\user\pinguino.conf as following:
At the beginning of this file already preexisting :
[Paths]
sdcc_bin = C:\pinguino\compilers\p8\bin\
gcc_bin = C:\pinguino\compilers\p32\bin\
*************************************only to show the important
xc8_bin = C:\Program Files (x86)\Microchip\xc8\v1.36\bin\
**********************************************only to show the important
pinguino_8_libs = C:\pinguino\v12\p8\
pinguino_32_libs = C:\pinguino\v12\p32\
install_path = C:\pinguino\v12\
user_path = C:\pinguino\v12\user
user_libs = C:\pinguino\v12\pinguinolibs

Report in case of new troubles !
André
Andre`
it now compiles and uploads in both xc8 and sdcc

thank you very much
fred
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)