# Strange compile error in VS community

**URL:** <https://forum.juce.com/t/strange-compile-error-in-vs-community/20703>\
**Category:** General JUCE discussion\
**Created:** [January 24, 2017, 9:54am UTC](https://forum.juce.com/t/strange-compile-error-in-vs-community/20703 "2017-01-24T09:54:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wphantom](https://avatars.discourse-cdn.com/v4/letter/w/3be4f8/32.png) [@wphantom](https://forum.juce.com/u/wphantom)\
**Post date:** [January 24, 2017, 9:54am UTC](https://forum.juce.com/t/strange-compile-error-in-vs-community/20703/1 "2017-01-24T09:54:43Z")

</div>

I have my app that compile perfectly on OSX that I wanted to compile on windows using VS community on a windows 7 laptop.

I open the soution file generated by Projucer and try to build the app…

It seems to compile perfectly all files except my “work” i.e. the h/cpp of my app. I have a lot of “undeclared identifiers”… it seems that it does not load the JUCE definitions thus complain on every JUCE identifier, method etc…

The h/cpp file was create by projucer and I edited it with my code…  
Everything works fine on osx/xcode

There is the normal #include “…/JuceLibraryCode/JuceHeader.h” in the beggining of the files (and this doesn’t provoque any errors"

Everything seems in the solution tree…

Note that I can compile projucer without any problem… Thus I guess it is a small & stupid problem in my project but I can’t figure what’s going wrong…

Do you have an idea ?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![wphantom](https://avatars.discourse-cdn.com/v4/letter/w/3be4f8/32.png) [@wphantom](https://forum.juce.com/u/wphantom)\
**Post date:** [January 24, 2017, 1:24pm UTC](https://forum.juce.com/t/strange-compile-error-in-vs-community/20703/2 "2017-01-24T13:24:56Z")

</div>

Problem solved… but was quite strange… it seems it was a problem with a file modified in xcode. and when closing projucer I think it replace the modified file by the one originally opened in projucer… thus 2 lines where missing (inheritance of my class from juce classes)…

Spend 2 hours on that…
