Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Webduino Favicon Change Breaks Intellisense (Read 3387 times)
Brett15
Junior Member
**
Offline


Posts: 15
Joined: Apr 30th, 2014
Webduino Favicon Change Breaks Intellisense
Apr 30th, 2014 at 6:34pm
Print Post  
I have run into a problem with intellisense and I'm looking for some help.  I'm working with the webduino sketch and when I change the favicon to mine, intellisense breaks, specifically I start getting this error in VS 2010:

IntelliSense: PCH warning: header stop needs to be at global scope. An intellisense PCH file was not generated.


Compilation is successful and the favicon is displayed correctly in the client browser.

I am making the following change in the webserver.h code from this: 
Code
Select All
#define WEBDUINO_FAVICON_DATA { 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x10, \
                                0x10, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00, \
                                0xb0, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, \
                                0x00, 0x28, 0x00, 0x00, 0x00, 0x10, 0x00, \
                                0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x01, \
                                0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, \
                                0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, \
                                0x00, 0xff, 0xff, 0x00, 0x00, 0xcf, 0xbf, \
                                0x00, 0x00, 0xc7, 0xbf, 0x00, 0x00, 0xc3, \
                                0xbf, 0x00, 0x00, 0xc1, 0xbf, 0x00, 0x00, \
                                0xc0, 0xbf, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0xc0, 0xbf, 0x00, 0x00, 0xc1, 0xbf, \
                                0x00, 0x00, 0xc3, 0xbf, 0x00, 0x00, 0xc7, \
                                0xbf, 0x00, 0x00, 0xcf, 0xbf, 0x00, 0x00, \
                                0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
                                0x00, 0x00 }
 


To this:
Code
Select All
#define WEBDUINO_FAVICON_DATA  {0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x10, 0x10, 0x00, 0x00, 0x01, 0x00, 0x08, 0x00, 0x86,  \
0x01, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A,  \
0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,  \
0x10, 0x08, 0x06, 0x00, 0x00, 0x00, 0x1F, 0xF3, 0xFF, 0x61, 0x00, 0x00, 0x01, 0x4D, 0x49,  \
0x44, 0x41, 0x54, 0x38, 0x8D, 0x7D, 0x93, 0x3D, 0x4E, 0xC3, 0x40, 0x10, 0x85, 0xBF, 0x58,  \
0xDB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C, 0x70, 0xF1, 0xD9, 0x5A, 0x60, 0x10, 0x4A, 0x02, 0x10, 0x52, 0x59, 0xFF, 0x25, 0x14,  \
0xD1, 0x98, 0x7A, 0x6D, 0xAC, 0x85, 0x5B, 0x14, 0x8A, 0xC8, 0xC3, 0x5A, 0x26, 0x01, 0xA8,  \
0xD2, 0xCE, 0xB8, 0x85, 0x29, 0x58, 0xE9, 0x0E, 0x88, 0x52, 0x89, 0xEA, 0x0D, 0xAA, 0x22,  \
0x5C, 0xBE, 0x2F, 0x93, 0x88, 0x2A, 0x8B, 0xFE, 0xE7, 0xBB, 0x6F, 0xEF, 0xEF, 0x0A, 0x87,  \
0x12, 0xB3, 0xAF, 0x4E, 0x79, 0x0D, 0xA5, 0x39, 0x1E, 0xA8, 0x08, 0x35, 0xB2, 0x8A, 0x98,  \
0xCF, 0xB8, 0x39, 0x6A, 0x4A, 0xA0, 0x99, 0xAC, 0xA3, 0x89, 0xC4, 0x08, 0xA1, 0x9E, 0x66,  \
0xA1, 0xDD, 0x6E, 0xB1, 0x18, 0x51, 0xB9, 0x96, 0x64, 0x26, 0x1A, 0x8D, 0xE5, 0x53, 0x03,  \
0x94, 0xC3, 0x44, 0x9A, 0x44, 0x8B, 0x91, 0xF4, 0xB7, 0x5D, 0x81, 0x28, 0xB2, 0x8A, 0x23,  \
0xF9, 0x8F, 0x00, 0x90, 0xA6, 0xF2, 0xFD, 0x33, 0x8F, 0xB3, 0x4D, 0x44, 0xD5, 0x0B, 0xE2,  \
0x80, 0x5F, 0xEF, 0xD9, 0xA6, 0x8B, 0x8C, 0xB4, 0x82, 0x53, 0x00, 0x00, 0x00, 0x00, 0x49,  \
0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82}
 



Any ideas where to start?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Webduino Favicon Change Breaks Intellisense
Reply #1 - Apr 30th, 2014 at 6:40pm
Print Post  
Yes the intellisense and compiler and not linked. The compile is full arduino compatibility the intellisense in vs2010 is c++ and on the odd occasion  gets confused.

I guess you closed and re-open the ide?  Did you try switch to a different board and then back again?

Failing that - What happens if you copy the whole #define into notepad text editor then remove the define from webserver.h then copy and paste back from notepad?
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint