Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
V12 on Win10
20-04-2016, 09:23 AM,
#1
V12 on Win10
Hello,

I installed Pinguino IDE V12 and when i tried to compile with xc8 i received the message below.

With sdcc everything  it's ok!

May you help me?

Regards,

Enzo



[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 45K50
[INFO] Proc: 18f45k50
[INFO] Arch: 8
[INFO] Bootloader: boot4
[WARNING] Missing '\bin\xc8.exe'
[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\decorators.py", line 161, in wrapped
   if saved: fn(Pinguino, *args, **kwargs)
 File "C:\Python27\lib\site-packages\pinguino\qtgui\ide\methods\decorators.py", line 174, in wrapped
   return fn(Pinguino, *args, **kwargs)
 File "C:\Python27\lib\site-packages\pinguino\qtgui\ide\methods\core.py", line 786, in pinguino_compile
   compile_code()
 File "C:\Python27\lib\site-packages\pinguino\qtgui\ide\methods\core.py", line 765, in <lambda>
   compile_code = lambda Confusedelf.pinguinoAPI.compile_file([filename])
 File "C:\Python27\lib\site-packages\pinguino\qtgui\pinguino_core\pinguino.py", line 85, in compile_file
   data = self.verify(file_path)
 File "C:\Python27\lib\site-packages\pinguino\qtgui\pinguino_core\pinguino_tools.py", line 249, in verify
   retour, error_link = self.link()
 File "C:\Python27\lib\site-packages\pinguino\qtgui\pinguino_core\pinguino_tools.py", line 1125, in link
   stdout=fichier, stderr=STDOUT)
 File "C:\Python27\lib\subprocess.py", line 710, in __init__
   errread, errwrite)
 File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
   startupinfo)
WindowsError: [Error 2] Le fichier sp�cifi� est introuvable
Reply
20-04-2016, 01:51 PM,
#2
RE: V12 on Win10
Verify if XC8 exists in Program Files (x86)\Microchip\xc8. It can be 1.36.
If not we have to install XC8 from Microchip: http://www.microchip.com/mplab/compilers. Today the last version is 1.37.
Then find  the pinguino.windows.conf file in the directory where IDE V12 is installed. Today my file contains :
[Paths]
sdcc_bin = C:\pinguino\compilers\p8\bin\
gcc_bin  = C:\pinguino\compilers\p32\bin\
xc8_bin  = C:\"Program Files"\Microchip\xc8\v1.36\bin\
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

Change the xc8 path according your installation. And now you should compile with xc8.
Good luck !
Reply
21-04-2016, 10:47 AM,
#3
RE: V12 on Win10
Hello,

thanks for your help!

I verified the installation of xc8 and the file paths.

But the problems are the same.

Regards,

Enzo
Reply
21-04-2016, 12:28 PM,
#4
RE: V12 on Win10
verify
xc8_bin  = C:\"Program Files"\Microchip\xc8\v1.36\bin\
perhaps it is v1.37 for you
Furthermore some days ago the path was written  "C:\Program Files (x86)\Microchip\xc8\v1.36\bin\" by the installation script. This is erroneous.
Bye
André
Reply
21-04-2016, 03:51 PM,
#5
RE: V12 on Win10
Hello André,

I verified the and the line "xc8_bin = C:\"Program Files"\Microchip\xc8\v1.37\bin\" I change de 1.36 in 1.37.

But the problems are the same. Angry

Regards,

Enzo
Reply
21-04-2016, 09:04 PM,
#6
RE: V12 on Win10
I detected there is effectively a problem if you install :
the library in C:\pinguino\v12
the IDE in C:\pinguino\v12 :
So the tree is :
C:\pinguino\v12\
                           examples\
                           graphical_examples\
                           p8\
                           p32\
                           source\
                           user\
                           build\
                           cmd\
                           dist\
                           pinguino\     contains qtgui\ and pinguino.bat used to start the ide
C:\pinguino\compilers\            in case of SDCC or GCC compilers


With that I too met your error messages.

Up to now my tree was different :
First,
C:\pinguino\v12\
                           examples\
                           graphical_examples\
                           p8\
                           p32\
                           source\
                           user\
C:\pinguino\compilers\            in case of SDCC or GCC compilers

XC8 is in C:\Program Files (x86)\Microchip\xc8\v1.36

Secondly,
C:\pinguino12-dev\
                              build\
                              cmd\
                              dist\
                              pinguino\     contains qtgui\ and pinguino.bat used to start the ide

So it works for xc8 and SDCC.
Sorry I can't give an explanation. It's just a fact.
Notice I use V12 since five months with these 2 separated folders \pinguino\v12 and \pinguino12-dev.
Bye
André
Reply
27-04-2016, 02:26 PM,
#7
RE: V12 on Win10
Hello André,

I tried to change the tree, without success.

But I found a solution to my problem!

The problem was the path of the xc8 compiler. When I tried to change the path in the pinguino.windows.conf file I had no effects.

While seeking in the tree I found this file C:\Pinguino\v12\user\pinguino.conf. I changed the path of xc8 in this file and now everything's ok.

Regards,

Enzo
Reply
27-04-2016, 04:23 PM,
#8
RE: V12 on Win10
Hello Enzo,
Well done !
Bye
André
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)