Hi there,
Looks like the Projucer is not correctly resolving paths for some #include statements.
I followed the steps outlined in the Android Studio tutorial (https://www.juce.com/doc/tutorial_android_studio). However, I cannot compile the app "as is" with the generated code. Issues include:
- Some .cpp files in "Builds\AndroidStudio\app\jni" have invalid imports.
- These modules correctly refer to the relative directory under "JuceModules/<module_name>".
e.g. "#include "JuceModules/juce_audio_basics/juce_audio_basics.h"- juce_audio_basics.cpp
- juce_core.cpp
- juce_audio_formats.cpp
- juce_cryptography.cpp
- juce_data_structures.cpp
- These modules incorrectly refer to relative imports, either partially (so some includes are correct) or completely (so all includes are invalid).
e.g. "#include "native/juce_android_Audio.cpp"" in juce_audio_devices.cpp- juce_audio_devices.cpp
- juce_audio_processor.cpp
- juce_events.cpp
- juce_graphics.cpp
- juce_gui_basics.cpp
- juce_gui_extra.cpp
- juce_opengl.cpp
- juce_video.cpp
- JuceHeader.h
- These modules correctly refer to the relative directory under "JuceModules/<module_name>".
- Some module code is missing, even if I choose to create local copies of all the modules.
- e.g. the "juce_audio_formats" module is missing the "flac" and "oggvorbis" directories.
- The "zip" module is missing the "zlib" directory.
- The "juce_graphics" module is missing the "jpglib" and "pnglib" directories.
- Basically, it looks like sub-directories of sub-directories in modules are not copied across. ("juce_graphics" and "juce_graphics/image_formats" are copied, but not "juce_graphics/image_formats/jpglib")
I'm a newbie to C++ development, am I doing something wrong?
I'm reluctant to change any files, since some of them say they are auto-generated by Projucer.
Until JUCE support CMake/CLion, it seems Android Studio is my best hope of using a JetBrains IDE for developing in JUCE, but if I can't get it to work I will be very sad. :(