Picture of Uwe 2460
Registered 9 years 311 days
Uwe 2460 Tuesday, 16 April 2019, 01:39 PM
included SDK header files are not found in new project
Hi,

installed SDK beta3 today.
I tried to cretae a new "innvaphone App" project.
After finishing creation/assignment of remote connection, the project is created smile
Having a look int ...-main.cpp shows a lot of missing include files:
e.g.: "#include "platform/platform.h"
The file is in forject folder:
\\\sdk\platform\

So when I manually add the folder "sdk/" to relative path, then header files are found:
e.g.: "#include "sdk/platform/platform.h"

But I don't think, that this is the intention to change all this manually. In “platform.h” the included files are also not found.
What am I doing wrong?

kind regards
Uwe

Picture of PBA
Registered 6 years 232 days
PBA Tuesday, 16 April 2019, 04:51 PM
Re: included SDK header files are not found in new project
I have the same issue!

Patrick
Picture of Marc Schodermayr (innovaphone)
Moderator Registered 9 years 315 days
Marc Schodermayr (innovaphone) Tuesday, 16 April 2019, 10:22 PM in response to Uwe 2460
Re: included SDK header files are not found in new project
Does the project compile? Are that errors only show in Visual Studio? Which Visual Studio Version do you have?

Picture of PBA
Registered 6 years 232 days
PBA Tuesday, 16 April 2019, 10:28 PM
Re: included SDK header files are not found in new project
No, the project doesn't compile. There are a lot of errors, because the sdk header files of the sdk are not found. I have VS2017 with all patches. If you want, I can show you the problem in a teamviewer session. Yust send me a PN.

Picture of Marc Schodermayr (innovaphone)
Moderator Registered 9 years 315 days
Marc Schodermayr (innovaphone) Tuesday, 16 April 2019, 10:48 PM
Re: included SDK header files are not found in new project
Ok, well than let's another thing first:

Copy the SDK files again (Tools - Innovaphone SDK - Install / Update SDK). Maybe something went wrong during copying the SDK files to your project. Would be nice if you can post the LOG data (View - Output - Show Output from: innovaphone SDK).

Picture of PBA
Registered 6 years 232 days
PBA Wednesday, 17 April 2019, 08:23 AM
Re: included SDK header files are not found in new project
I copied the files already once more. Everything seems fine, the SDK folder is filled in the project tree. I think something is wrong with the search path.

Here is the LOG output:
[04-17 08:19:02.037] innovaphone SDK Visual Studio Package v1.0
[04-17 08:19:02.037] copyright (c) 2018 innovaphone AG

[04-17 08:19:02.037] Initializing...
[04-17 08:19:02.162] innovaphone SDK extension initialized successfully.
[04-17 08:19:04.722] Scanning solution for AppPlatform projects...
[04-17 08:19:04.722] Project: NewApp1 => done
[04-17 08:19:04.724] 1 innovaphone AppPlatform projects found
[04-17 08:19:04.726] Checking projects for the need of install / update innovaphone SDK...
[04-17 08:19:04.726] Checking project NewApp1 => SDK is up to date.
[04-17 08:19:04.733] Checking PBX settings for current project build...
[04-17 08:19:06.334] Checking PBX settings for current project build done - everything seems to be fine.

Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 235 days
Daniel Deterding (innovaphone) Wednesday, 17 April 2019, 08:32 AM
Re: included SDK header files are not found in new project
Can you take a look at the vcxproj file of your app and verify, that the NMakeIncludeSearchPath for Debug/Release builds of x64 look like this:

<NMakeIncludeSearchPath>sdk;.;common\lap;$(innovaphone-sdk)\x86_64-7.2.0-linux-gnu\x86_64-linux-gnueabi\include\c++\7.2.0;$(innovaphone-sdk)\app-platform-libs\8\x86_64\usr\include;$(innovaphone-sdk)\app-platform-libs\8\x86_64\usr\include\postgresql;$(innovaphone-sdk)\x86_64-7.2.0-linux-gnu\lib\gcc\x86_64-linux-gnueabi\7.2.0\include;$(innovaphone-sdk)\x86_64-7.2.0-linux-gnu\x86_64-linux-gnueabi\include\c++\7.2.0\x86_64-linux-gnueabi</NMakeIncludeSearchPath>

For ARM:
<NMakeIncludeSearchPath>sdk;.;common\lap;$(innovaphone-sdk)\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0;$(innovaphone-sdk)\app-platform-libs\8\armel\usr\include;$(innovaphone-sdk)\app-platform-libs\8\armel\usr\include\postgresql;$(innovaphone-sdk)\arm-7.2.0-linux-gnu\lib\gcc\arm-linux-gnueabi\7.2.0\include;$(innovaphone-sdk)\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\arm-linux-gnueabi</NMakeIncludeSearchPath>
Picture of PBA
Registered 6 years 232 days
PBA Wednesday, 17 April 2019, 09:03 AM
Re: included SDK header files are not found in new project
Yes, it seems to be ok.

<NMakeIncludeSearchPath>sdk;.;common\lap;$(innovaphone-sdk)\x86_64-7.2.0-linux-gnu\x86_64-linux-gnueabi\include\c++\7.2.0;$(innovaphone-sdk)\app-platform-libs\8\x86_64\usr\include;$(innovaphone-sdk)\app-platform-libs\8\x86_64\usr\include\postgresql;$(innovaphone-sdk)\x86_64-7.2.0-linux-gnu\lib\gcc\x86_64-linux-gnueabi\7.2.0\include;$(innovaphone-sdk)\x86_64-7.2.0-linux-gnu\x86_64-linux-gnueabi\include\c++\7.2.0\x86_64-linux-gnueabi</NMakeIncludeSearchPath>


Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 235 days
Daniel Deterding (innovaphone) Wednesday, 17 April 2019, 09:10 AM
Re: included SDK header files are not found in new project
Yes, looks good.

Can you create a new "innovaphone App" project for a test and see, if this compiles?

Picture of PBA
Registered 6 years 232 days
PBA Wednesday, 17 April 2019, 09:37 AM
Re: included SDK header files are not found in new project
I tested this already, but I did another test. Same issue.

z.B.:

Schweregrad Code Beschreibung Projekt Datei Zeile Unterdrückungszustand
Fehler (aktiv) E1696 Die Datei "Quelle" kann nicht geöffnet werden: "platform/platform.h". NewApp3 C:\Users\xxxxxx\Documents\Visual Studio 2017\Projects\NewApp3\NewApp3\NewApp3-main.cpp 8

Perhaps is there a problem: I must cancel the project-installer becaue I can't conntect to a arm plattform, because I have a x64 test environment? I change and connect to the x64 platform manualy.
Picture of PBA
Registered 6 years 232 days
PBA Wednesday, 17 April 2019, 10:03 AM in response to Daniel Deterding (innovaphone)
Re: included SDK header files are not found in new project
I recently de- and reinstalled the whole SDK, but I have the same issue. Nothing changed.
Picture of Uwe 2460
Registered 9 years 311 days
Uwe 2460 Wednesday, 17 April 2019, 02:15 PM in response to Daniel Deterding (innovaphone)
Re: included SDK header files are not found in new project
Hi,
just to understand this.
When project is created, then SDk files are copied to projekt files and then they are used to compile - right?.

The files are there. But are they at the right location?



files.png

Picture of Uwe 2460
Registered 9 years 311 days
Uwe 2460 Wednesday, 17 April 2019, 02:16 PM in response to Daniel Deterding (innovaphone)
Re: included SDK header files are not found in new project
And when I manually add the folder “sdk/” to relative path, then header file is found added_sdk_to_path.png

Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 235 days
Daniel Deterding (innovaphone) Wednesday, 17 April 2019, 03:48 PM
1 of 1 users consider this post helpful
Re: included SDK header files are not found in new project
There is a file from Visual Studio itself which is buggy in 2017:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Application Type\Linux\1.0\Linux.Makefile.targets

Can you make a backup of this file, replace it with the attached file and restart Visual Studio?

Does this help?
Linux.Makefile.targets
Picture of PBA
Registered 6 years 232 days
PBA Wednesday, 17 April 2019, 04:04 PM
Re: included SDK header files are not found in new project
Ok, that fixed the bug. But now I have a lot of other errors if I just compile the new project:

Schweregrad Code Beschreibung Projekt Datei Zeile Unterdrückungszustand
Fehler (aktiv) E0351 Der erste Parameter der Speicherbelegungsfunktion muss vom Typ "size_t" sein. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\new 111
Fehler (aktiv) E1696 Die Datei "Quelle" kann nicht geöffnet werden: "dlfcn.h". NewApp1 C:\Users\XXXXXXXXXXX\Documents\Visual Studio 2017\Projects\NewApp1\NewApp1\sdk\platform\platform.h 34
Fehler (aktiv) E1696 Die Datei "Quelle" kann nicht geöffnet werden: "unistd.h". NewApp1 C:\Users\XXXXXXXXXXX\Documents\Visual Studio 2017\Projects\NewApp1\NewApp1\sdk\platform\platform.h 35
Fehler (aktiv) E1696 Die Datei "Quelle" kann nicht geöffnet werden: "arpa/inet.h". NewApp1 C:\Users\XXXXXXXXXXX\Documents\Visual Studio 2017\Projects\NewApp1\NewApp1\sdk\platform\platform.h 36
Fehler (aktiv) E2484 Ungültiger zweiter Parametertyp ("unsigned int") für Literaloperator; muss size_t sein NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\basic_string.h 5553
Fehler (aktiv) E2484 Ungültiger zweiter Parametertyp ("unsigned int") für Literaloperator; muss size_t sein NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\basic_string.h 5559
Fehler (aktiv) E2484 Ungültiger zweiter Parametertyp ("unsigned int") für Literaloperator; muss size_t sein NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\basic_string.h 5566
Fehler (aktiv) E2484 Ungültiger zweiter Parametertyp ("unsigned int") für Literaloperator; muss size_t sein NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\basic_string.h 5571
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\range_access.h 116
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\range_access.h 127
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 236
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 251
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 266
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 281
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 296
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 311
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 418
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 433
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 448
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 463
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 478
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 493
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 561
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 576
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 591
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 660
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 674
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 688
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_function.h 702
Fehler (aktiv) E0351 Der erste Parameter der Speicherbelegungsfunktion muss vom Typ "size_t" sein. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\new 113
Fehler (aktiv) E0351 Der erste Parameter der Speicherbelegungsfunktion muss vom Typ "size_t" sein. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\new 119
Fehler (aktiv) E0351 Der erste Parameter der Speicherbelegungsfunktion muss vom Typ "size_t" sein. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\new 121
Fehler (aktiv) E0351 Der erste Parameter der Speicherbelegungsfunktion muss vom Typ "size_t" sein. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\new 129
Fehler (aktiv) E0351 Der erste Parameter der Speicherbelegungsfunktion muss vom Typ "size_t" sein. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\new 131
Fehler (aktiv) E1825 Einem Funktionsdeklarator mit einem nachstehenden Rückgabetyp muss ein einfacher Typspezifizierer "auto" voranstehen. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\tuple 1114
Fehler (aktiv) E0260 Der explizite Typ fehlt ("int" wird angenommen). NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\tuple 1155
Fehler (aktiv) E0147 Die Deklaration ist nicht mit ""const std::pair<_T1, _T2> std::pair<_T1, _T2>::pair" (deklariert in Zeile 128 von "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_pair.h")" kompatibel. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\tuple 1157
Fehler (aktiv) E0260 Der explizite Typ fehlt ("int" wird angenommen). NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\tuple 1167
Fehler (aktiv) E0147 Die Deklaration ist nicht mit ""const std::pair<_T1, _T2> std::pair<_T1, _T2>::pair" (deklariert in Zeile 128 von "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\bits\stl_pair.h")" kompatibel. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\tuple 1169
Fehler (aktiv) E0452 Der Rückgabetyp darf nicht in einer Konvertierungsfunktion angegeben werden. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\Linux\include\usr\include\c++\5\type_traits 74
Fehler (aktiv) E0084 Ungültige Kombination von Typspezifizierern. NewApp1 C:\Users\XXXXXXXXXXX\Documents\Visual Studio 2017\Projects\NewApp1\NewApp1\sdk\platform\platform.h 15
Fehler (aktiv) E0084 Ungültige Kombination von Typspezifizierern. NewApp1 C:\Users\XXXXXXXXXXX\Documents\Visual Studio 2017\Projects\NewApp1\NewApp1\sdk\platform\platform.h 16

Picture of Marc Schodermayr (innovaphone)
Moderator Registered 9 years 315 days
Marc Schodermayr (innovaphone) Wednesday, 17 April 2019, 04:44 PM
Re: included SDK header files are not found in new project
Ok, one final try - I'v updated the files on GitHub manually. It seems that there was some error with the automatically update. Please delete the build.txt inside the SDK directory and run the installer again. The SDK should be installed again.

After that, open your Project in Visual Studio and update the SDK as I told before. If it still won't compile, please write me an email (mschodermayr@innovaphone.com), so that we can combine a TeamViewer session to dig into the problem.
Picture of Elias Lievens (innovaphone)
Moderator Registered 13 years 153 days
Elias Lievens (innovaphone) Tuesday, 23 April 2019, 10:52 AM in response to PBA
Re: included SDK header files are not found in new project
Any update on this?
Having the same errors over here with an empty new Innovaphone-project.

Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 235 days
Daniel Deterding (innovaphone) Tuesday, 23 April 2019, 11:02 AM
Re: included SDK header files are not found in new project
Did you try my solution from a few posts above to replace a file from the visual studio solution?
This should fix the intellisense issues.

You can also delete the build.txt from the sdk/13r1 folder and run the innovaphoneSDKSetup.exe again to reinstall the SDK header files.

If you have problems with building, please post the build output here.
Picture of Elias Lievens (innovaphone)
Moderator Registered 13 years 153 days
Elias Lievens (innovaphone) Tuesday, 23 April 2019, 02:18 PM
Re: included SDK header files are not found in new project
Replacing the file did solve the intellisense-issues, that's fine and correct!
I also reinstalled the SDK (after deleting build.txt).

Build Output (same as above, but in English):
Severity Code Description Project File Line Suppression State
Error (active) E1696 cannot open source file "dlfcn.h" NewApp1 C:\Users\Elias Lievens\source\repos\NewApp1\NewApp1\sdk\platform\platform.h 34
Error (active) E1696 cannot open source file "unistd.h" NewApp1 C:\Users\Elias Lievens\source\repos\NewApp1\NewApp1\sdk\platform\platform.h 35
Error (active) E1696 cannot open source file "arpa/inet.h" NewApp1 C:\Users\Elias Lievens\source\repos\NewApp1\NewApp1\sdk\platform\platform.h 36
Error (active) E0040 expected an identifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\predefined_ops.h 54
Error (active) E0321 data member initializer is not allowed NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\predefined_ops.h 54
Error (active) E0040 expected an identifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\predefined_ops.h 79
Error (active) E0321 data member initializer is not allowed NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\predefined_ops.h 79
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\range_access.h 116
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\range_access.h 127
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 235
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 250
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 265
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 280
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 295
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 310
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 417
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 432
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 447
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 462
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 477
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 492
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 560
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 575
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 590
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 659
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 673
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 687
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_function.h 701
Error (active) E0457 "__is_uses_allocator_constructible_v" is not a function or static data member NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\uses_allocator.h 138
Error (active) E0457 "__is_nothrow_uses_allocator_constructible_v" is not a function or static data member NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\uses_allocator.h 152
Error (active) E1825 a function declarator with a trailing return type must be preceded by a simple 'auto' type specifier NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\tuple 1575
Error (active) E0260 explicit type is missing ('int' assumed) NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\tuple 1635
Error (active) E0147 declaration is incompatible with "const std::pair<_T1, _T2> std::pair<_T1, _T2>::pair" (declared at line 293 of "C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_pair.h") NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\tuple 1637
Error (active) E0260 explicit type is missing ('int' assumed) NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\tuple 1647
Error (active) E0147 declaration is incompatible with "const std::pair<_T1, _T2> std::pair<_T1, _T2>::pair" (declared at line 293 of "C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\bits\stl_pair.h") NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\tuple 1649
Error (active) E0452 return type may not be specified on a conversion function NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\type_traits 74
Error (active) E0457 "is_swappable_v" is not a function or static data member NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\type_traits 2659
Error (active) E0457 "is_nothrow_swappable_v" is not a function or static data member NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\type_traits 2664
Error (active) E0457 "is_swappable_with_v" is not a function or static data member NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\type_traits 2743
Error (active) E0457 "is_nothrow_swappable_with_v" is not a function or static data member NewApp1 C:\innovaphone\sdk\arm-7.2.0-linux-gnu\arm-linux-gnueabi\include\c++\7.2.0\type_traits 2748
Error (active) E0084 invalid combination of type specifiers NewApp1 C:\Users\Elias Lievens\source\repos\NewApp1\NewApp1\sdk\platform\platform.h 15
Error (active) E0084 invalid combination of type specifiers NewApp1 C:\Users\Elias Lievens\source\repos\NewApp1\NewApp1\sdk\platform\platform.h 16
Error MSB3073 The command "make -j5 -f NewApp1.mak arm DEBUG=1" exited with code 2. NewApp1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Application Type\Linux\1.0\Linux.Makefile.Targets 197

Picture of Marc Schodermayr (innovaphone)
Moderator Registered 9 years 315 days
Marc Schodermayr (innovaphone) Tuesday, 23 April 2019, 02:30 PM
Re: included SDK header files are not found in new project
I'm investigating a potential problem at the moment with the installation. It seems that the libs had been installed to a wrong directory.

Can you please have a look to the installation directory (%INNOVAPHONE-SDK%\app-platform-libs\8). If there is an other subfolder called 8, then something had been installed wrong.
Picture of Uwe 2460
Registered 9 years 311 days
Uwe 2460 Tuesday, 23 April 2019, 03:04 PM
2 of 2 users consider this post helpful
Re: included SDK header files are not found in new project
Yes there is:
...\sdk\app-platform-libs\8\8\...
Picture of Marc Schodermayr (innovaphone)
Moderator Registered 9 years 315 days
Marc Schodermayr (innovaphone) Tuesday, 23 April 2019, 08:00 PM
1 of 1 users consider this post helpful
Re: included SDK header files are not found in new project
A new version of the installer is available, which should fix the problem. Please do the following:
  • Delete the app-platform-libs directory in %INNOVAPHONE-SDK%
  • Run the installer again. It should update itself (if not, download the latest version from the homepage).
  • Let the installer run. After that, the app should compile fine.
Picture of Uwe 2460
Registered 9 years 311 days
Uwe 2460 Wednesday, 24 April 2019, 09:36 AM
Re: included SDK header files are not found in new project
This problem is solved with new installed SDK files, after creating new project.
Now just one file is not found: "stubs-hard.h"
Picture of PBA
Registered 6 years 232 days
PBA Wednesday, 24 April 2019, 11:13 AM
Re: included SDK header files are not found in new project
I don't have this problem. Is this a new unmodified project?
Picture of Uwe 2460
Registered 9 years 311 days
Uwe 2460 Wednesday, 24 April 2019, 11:44 AM
Re: included SDK header files are not found in new project
Yes, unmodified.
But I have removed the SDK completely before new installation. Maybe you have this file from previous installation (?).
Picture of PBA
Registered 6 years 232 days
PBA Wednesday, 24 April 2019, 02:08 PM
Re: included SDK header files are not found in new project
No, I reinstalled the SDK and I have only a linker error.
Picture of Johan 223
Registered 13 years 153 days
Johan 223 Thursday, 25 April 2019, 09:26 AM in response to Uwe 2460
Re: included SDK header files are not found in new project
I have the same problem here

stubs.h says:

the gnu-directory only contains:

so we are missing the -hard- file, or the define, or something else is wrong...
Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 235 days
Daniel Deterding (innovaphone) Thursday, 25 April 2019, 10:29 AM
1 of 1 users consider this post helpful
Re: included SDK header files are not found in new project
This is just an Intellisense issue and doesn't prevent building the app itself.

I updated the SDK this morning to version 131817 and opened an own App after the update.
The SDK was updated inside the App to this version and everything builds fine.
Intellisense also shows me this issue but I just disabled the Intellisense output at all ...

Interestingly this stubs-hard.h "error" just happens for ARM builds, for x64 it is fine.


Picture of PBA
Registered 6 years 232 days
PBA Wednesday, 24 April 2019, 11:10 AM in response to Marc Schodermayr (innovaphone)
Re: included SDK header files are not found in new project
Hello again,

now, I think a last little error with the sdk, cleanly new installed and with a new project I have a problem with the linker, which returns a error "cannot find -lsdk-131805":

c:/innovaphone/sdk/x86_64-7.2.0-linux-gnu/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../x86_64-linux-gnu/bin/ld.exe: cannot find -lsdk-131805
1>collect2.exe : error : ld returned 1 exit status
1>make: *** [sdk/sdk.mak:37: x86_64-debug/NewApp2/NewApp2] Error 1
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Application Type\Linux\1.0\Linux.Makefile.Targets(197,5): error MSB3073: Der Befehl "make -j5 -f NewApp2.mak x86_64 DEBUG=1" wurde mit dem Code 2 beendet.
1>Die Erstellung des Projekts "NewApp2.vcxproj" ist abgeschlossen -- FEHLER.
========== Erstellen: 0 erfolgreich, 1 fehlerhaft, 0 aktuell, 0 übersprungen ==========
Picture of Elias Lievens (innovaphone)
Moderator Registered 13 years 153 days
Elias Lievens (innovaphone) Tuesday, 23 April 2019, 03:33 PM in response to Marc Schodermayr (innovaphone)
1 of 1 users consider this post helpful
Re: included SDK header files are not found in new project
Hello Marc,

Same as with Uwe: I also have such a directory.
← You can define your color theme preference here