Hot!MPLAB X IDE v4.00 xc8 can't find xc.h

Page: < 12 Showing page 2 of 2
Author
be80be
New Member
  • Total Posts : 26
  • Reward points : 0
  • Joined: 2008/11/09 10:29:33
  • Location: 0
  • Status: offline
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/13 18:33:01 (permalink)
0
What's the deal here 
You don't have permission to access "http://www.microchip.com/forums/post.aspx?" on this server.
Reference #18.c7c8d917.1502674268.514597b2
 
#21
qhb
Superb Member
  • Total Posts : 5086
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: online
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/13 18:40:16 (permalink)
+2 (2)
be80be
What's the deal here 
You don't have permission to access "http://www.microchip.com/forums/post.aspx?" on this server.
Reference #18.c7c8d917.1502674268.514597b2

A brain-dead firewall on the web server, which simply blocks the forum software when it triggers, so generating those confusing error messages.
See: Expressions which trigger the firewall 
Also note WHEN that topic was started...
 
#22
rodims
Super Member
  • Total Posts : 816
  • Reward points : 0
  • Joined: 2009/02/10 11:08:59
  • Location: 51.9627, 7.6262
  • Status: online
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/14 04:34:35 (permalink)
+1 (1)
be80be
I just installed 4.00 mplab x and now the dang thing tells me it can't find xc8
...
Well I still get it can't find xc.h It's not like all the time it's but something is going on.
I even went back to 3.65 same thing

Not clear what you are doing. It sounds more like a problem in your project.
 
- Which XC8 compiler version did you install ?
- You could use the XC8 without that missing xc.h problem BEFORE installing MpLabX 4.00 ??
- Did you verify that you still have  xc.h in your compiler folder,
   e.g. C:\Program Files (x86)\Microchip\xc8\v1.43\include
- Did you check your project settings ? Usually it's NOT necessary to explicitly specify any include path.
- Did you check your Tools/Options/Embedded/Build Tools ?
 
- And please provide the build error message(s) which you really see.
#23
RISC
Super Member
  • Total Posts : 4229
  • Reward points : 0
  • Status: offline
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/14 05:49:51 (permalink)
0
Hi,
If it does not find xc.h, it may mean that during the compiler installation you did not check the box "add  to the environment path". If you are not sure, just uninstall the compiler and reinstall it again and read carefully the messages at the beginning of the installation
Regards
 
#24
rodims
Super Member
  • Total Posts : 816
  • Reward points : 0
  • Joined: 2009/02/10 11:08:59
  • Location: 51.9627, 7.6262
  • Status: online
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/14 06:28:12 (permalink)
0
be80be
Well I still get it can't find xc.h It's not like all the time it's but something is going on.
I even went back to 3.65 same thing 

Only by chance I was looking at your rather "hidden" link with your posted image.
You are not talking about the red underline below
#include <xc.h>  ? 
As asked before, which error messages apart from this red line to you get, when building your project ?
 
 
#25
Danny_40
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2017/04/07 02:29:42
  • Location: 0
  • Status: offline
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/15 05:27:42 (permalink)
0
After installing MPLABX IDE v 4.0 appear the banner that warn me  "The compiler not found", but I have installed  Xc8; Xc16; Xc32 compilers correctly registered on the System Path variable
#26
Danny_40
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2017/04/07 02:29:42
  • Location: 0
  • Status: offline
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/15 05:35:39 (permalink)
+1 (1)
After install MPLABX IDE v 4.0 appear the banner that warn me "The compiler not found", bt I have installed Xc8; Xc16; Xc32 correctly registered onto System Path Environment Variable

Attachment(s)

Attachments are not available: Download requirements not met
#27
rodims
Super Member
  • Total Posts : 816
  • Reward points : 0
  • Joined: 2009/02/10 11:08:59
  • Location: 51.9627, 7.6262
  • Status: online
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/15 08:24:31 (permalink)
0
So just follow the guide in the first message box.
 
Why do you show a screenshot of "Add new tool chain" with this completely wrong directory ?
The dialog is used to browse for your compilers, i.e. the tool chain.
for XC16 e.g. try
C:\Program Files (x86)\Microchip\xc16\v1.31\bin
The red status text will show what is valid or not.
 
< edit: I do not understand your original post: MPLAB X IDE v4.00 xc8 can't find xc.h
   This is not really related to a your "compiler not found" message.
   As I already asked, it already worked correctly with a previous MPLABx version ? >
 
post edited by rodims - 2017/08/15 08:26:54
#28
Danny_40
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2017/04/07 02:29:42
  • Location: 0
  • Status: offline
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/16 23:58:44 (permalink)
0
yes. Foremore I have reinstalled 3.65 and the IDE found the compiler and work fine. Instead reinstalling 4.00 aside, other that remaining the previous setting like retain the formatting chose for the editor, continuing at not found the compiler that work with 3.65. Seem that the uninstall don't work finest and many instance remain in the PC. I have activate the tracelog and a report explain (I hope) that happen; I attach it (the original zipped and the renamed as .txt instead .log because the uploader don't support .log.

Attachment(s)

Attachments are not available: Download requirements not met
#29
Danny_40
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2017/04/07 02:29:42
  • Location: 0
  • Status: offline
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/17 00:47:12 (permalink)
0
Hi rodims
I follow each suggest in the guide, but neither result from thats.
The red status text show that any selection of the compiler's directory is invalid and the greyed accept button don't allow to accept them.
Also I follow the link into the log and send the report at Net Beans as suggested (MPLABX is NetBeans platform).
#30
rodims
Super Member
  • Total Posts : 816
  • Reward points : 0
  • Joined: 2009/02/10 11:08:59
  • Location: 51.9627, 7.6262
  • Status: online
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/17 05:05:44 (permalink)
0
I follow each suggest in the guide, but neither result from thats. The red status text show that any selection of the compiler's directory is invalid and the greyed accept button don't allow to accept them

I cannot see what you do. To be sure that you are doing the right steps, just test them out in your "working" 3.65 installation. Then you also can see, what is different from there.  (Note that 3.65 will tell you that you are already using that tool chain)
 
I think it's the first time you mention that you have a JAVA Exception here !
 
A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005fddc145, pid=9360, tid=0x0000000000002688
#
# JRE version: Java(TM) SE Runtime Environment (8.0_141-b15) (build 1.8.0_141-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.141-b15 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [msvcr100.dll+0x3c145]
 
This does not look good. I'm surprised that you can work at all, though there are various Java modules which might fail while the rest works. But I know almost nothing about Java.
 
With that type of error either report a ticket to Microchip
Or start reading here.
http://www.microchip.com/forums/m1008494.aspx
It does not cover exactly your problem, its just about MPlabx and Java.
 
 
 
A conclusion MIGHT be that you have no problems with the Java version of MpLabX 3.65, but you do have with the current 1.41.  
What you COULD do just as a test is to use the older Java of 3.65 with your 4.00.  I did that once just as a short test, and at least MpLabX 4.00 startet with the Java 8.0.121 version.
Note, this is only a test, whether your problem is related to this Java crash, which you apparently do not see as an alert in the user interface (?)
To perform the test
a) exit MpLabX (or better restart also Windows, otherwise be sure to kill any Javaw.exe process)
b) start a notepad with admin rights
c) edit C:\Program Files (x86)\Microchip\MPLABX\v4.00\mplab_ide\etc\mplab_ide.conf
and choose the desired Java version.

 
jdkhome="C:\Program Files (x86)\Microchip\MPLABX\v4.00\sys\java\jre1.8.0_141\"
#jdkhome="C:\Program Files (x86)\Microchip\MPLABX\v3.65\sys\java\jre1.8.0_121\"
 

d) save  and test. I.e. do you still get this Java crash, and then does this change your original problem.
e) do not forget to revert your changes afterwards.
 
 
#31
Danny_40
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2017/04/07 02:29:42
  • Location: 0
  • Status: offline
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/17 07:56:22 (permalink)
+1 (1)
Evolution but the server denies access to post te replies
#32
Danny_40
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2017/04/07 02:29:42
  • Location: 0
  • Status: offline
Re: MPLAB X IDE v4.00 xc8 can't find xc.h 2017/08/17 08:30:21 (permalink)
0
Hi rodims
 
after change the config like  this and reactivate the toolset on the plugin panel, the 4.00 resort to life.
Next I try to exange the jdk and see if the ide work.
Thanks rodims for help.
 
If the server allow i try to upload the screenshots
 

# Default location of JDK:
# (set by installer or commented out if launcher should decide)
#
# It can be overridden on command line by using --jdkhome <dir>
# Be careful when changing jdkhome.
# There are two NetBeans launchers for Windows (32-bit and 64-bit) and
# installer points to one of those in the NetBeans application shortcut
# based on the Java version selected at installation time.
#
jdkhome="C:\Program Files (x86)\Microchip\MPLABX\v4.00\sys\java\jre1.8.0_121\"
#jdkhome="C:\Program Files (x86)\Microchip\MPLABX\v4.00\sys\java\jre1.8.0_141\"
# Additional module clusters:
# using ${path.separator} (';' on Windows or ':' on Unix):
#
#extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"
 
#33
Page: < 12 Showing page 2 of 2
Jump to:
© 2017 APG vNext Commercial Version 4.5