Strange compile error in VS community


#1

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


#2

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…