I have some error when I try to import Simu5G in Omnet++
here is my error.
**** Build of configuration gcc-debug for project simu5G ****`enter code here`
Error: cannot resolve import 'inet.common.INETDefs'
Error: cannot resolve import 'inet.common.packet.chunk.Chunk'
Error: cannot resolve import 'inet.common.geometry.Geometry'
Error: 'MultihopD2DPacket': unknown base class 'inet::FieldsChunk'
Error: unknown type 'inet::Coord' for field 'srcCoord' in 'MultihopD2DPacket'
Error: Unknown field 'chunkLength' (not found in any super class)
Error: cannot resolve import 'inet.common.INETDefs'
Error: cannot resolve import 'inet.common.packet.chunk.Chunk'
Error: 'AlertPacket': unknown base class 'inet::FieldsChunk'
[Makefile:339: apps/cbr/CbrPacket_m.h] Error 1
*** [Makefile:2: all] Error 2
You do not have (an installed) INET project in your workspace, or the INET project is not open or it is not set as a project dependency in Simu5G's project properties dialog.
I have experienced the similar issue in SimuLTE. This is due to an invalid project reference setting. To fix it:
Right Click the projet - Property - Project Reference, then select the inet you installed.
Related
I am trying to create an api with fastapi.
I have installed and imported uvicorn and fastapi. However I get these errors messages:
Exception has occurred: ModuleNotFoundError
No module named 'uvicorn' I have the same error for fastapi.
What shall I do ?
Thanks for your help
I am currently working on a project through github. My local project is connected to the github project folder through folder reference.Current File/Folder setup There hasn't been a problem, but now I keep getting the error "There is a problem launching using posix_spawn (error code: 2)." Before that, earlier today, I was receiving the error: "could not launch 'PROJECT NAME'. Internal error"
with the initial error ("could not launch 'PROJECT NAME'. Internal error") I attempted to fix the Schema configuration by following option B in this link (https://github.com/olilarkin/wdl-ol/issues/120). After attempting that I began receiving the later error ("There is a problem launching using posix_spawn (error code: 2).")posix_spawn Error
please help. Thanks
I am using react-native 0.57.1
react-native track player 0.2.5
I have got following error:
C:\zzzprojects\app\node_modules\react-native-track-player\android\src\main\java\guichaguri\trackplayer\metadata\Metadata.java:9:
error: package android.support.v4.media does not exist import
android.support.v4.media.MediaMetadataCompat;
^
C:\zzzprojects\app\node_modules\react-native-track-player\android\src\main\java\guichaguri\trackplayer\metadata\Metadata.java:10:
error: package android.support.v4.media does not exist import
android.support.v4.media.RatingCompat;
^
C:\zzzprojects\app\node_modules\react-native-track-player\android\src\main\java\guichaguri\trackplayer\metadata\Metadata.java:11:
error: package android.support.v4.media.session does not exist import
android.support.v4.media.session.MediaButtonReceiver;
^
C:\zzzprojects\app\node_modules\react-native-track-player\android\src\main\java\guichaguri\trackplayer\metadata\Metadata.java:12:
error: package android.support.v4.media.session does not exist import
android.support.v4.media.session.MediaControllerCompat;
^
...........
...........
..........
C:\zzzprojects\app\node_modules\react-native-track-player\android\src\main\java\guichaguri\trackplayer\metadata\components\CustomVolume.java:14:
error: cannot find symbol super(canControl ? VOLUME_CONTROL_ABSOLUTE :
VOLUME_CONTROL_FIXED, maxVolume, (int)(volume * maxVolume));
^
symbol: variable VOLUME_CONTROL_ABSOLUTE
location: class CustomVolume
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
100 errors
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-track-player:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 43s
36 actionable tasks: 25 executed, 11 up-to-date
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
I have tried a lot of methods I even init a new project and just install react native it is giving same error again .
...
thanks.
do answer me soon
I'm trying to bind "AWSCognito" using Sharpie and Cocoapods using following command:
sharpie pod init -force ios AWSCognito && sharpie pod bind
It ran good but build was failed with following errors:
Parsing 1 header files...
While building module 'AWSCognito' imported from /private/var/folders/0r/y26zbgwn7kx_vn2gr8qjztlm0000gp/T/com.xamarin.ObjectiveSharpie/83195091ba274dc1817fbb79ea9f60ad.h:1:
In file included from :1:
In file included from _ usr /build/Release-iphoneos/AWSCognito/AWSCognito.framework/Headers/AWSCognito-umbrella.h:3:
In file included from _ _usr /build/Release-iphoneos/AWSCognito/AWSCognito.framework/Headers/AWSCognito.h:26:
_ _usr _/build/Release-iphoneos/AWSCognito/AWSCognito.framework/Headers/AWSCognitoService.h:19:9: fatal error:
'AWSCore/AWSCore.h' file not found
#import <AWSCore/AWSCore.h>
^
/private/var/folders/0r/y26zbgwn7kx_vn2gr8qjztlm0000gp/T/com.xamarin.ObjectiveSharpie/83195091ba274dc1817fbb79ea9f60ad.h:1:9: fatal error:
could not build module 'AWSCognito'
#import AWSCognito;
~~~~^~~~~~
Binding...
2 errors generated.
Error while processing /private/var/folders/0r/y26zbgwn7kx_vn2gr8qjztlm0000gp/T/com.xamarin.ObjectiveSharpie/83195091ba274dc1817fbb79ea9f60ad.h.
Submitting usage data to Xamarin...
Submitted - thank you for helping to improve Objective Sharpie!
Done. Exiting with error code 1.
error: Clang failed to parse input and exited with code 1```
I can't figure out why and how do I solve this issue. Any help is appreciated. Thanks.
During building core-image-sato on Yocto sumo distro for pcDuino3 using meta-sunxi I get the following QA error during finalizing gstreamer1.0-plugins-bad:
ERROR: gstreamer1.0-plugins-bad-1.12.4-r0 do_package_qa: QA Issue: /usr/lib/gstreamer-1.0/libgstopengl.so contained in package gstreamer1.0-plugins-bad-opengl requires libGLESv2.so, but no providers found in RDEPENDS_gstreamer1.0-plugins-bad-opengl? [file-rdeps]
ERROR: gstreamer1.0-plugins-bad-1.12.4-r0 do_package_qa: QA Issue: /usr/lib/gstreamer-1.0/libgstopengl.so contained in package gstreamer1.0-plugins-bad-opengl requires libEGL.so, but no providers found in RDEPENDS_gstreamer1.0-plugins-bad-opengl? [file-rdeps]
ERROR: gstreamer1.0-plugins-bad-1.12.4-r0 do_package_qa: QA Issue: /usr/lib/libgstgl-1.0.so.0.1204.0 contained in package libgstgl-1.0 requires libEGL.so, but no providers found in RDEPENDS_libgstgl-1.0? [file-rdeps]
ERROR: gstreamer1.0-plugins-bad-1.12.4-r0 do_package_qa: QA Issue: /usr/lib/libgstgl-1.0.so.0.1204.0 contained in package libgstgl-1.0 requires libGLESv2.so, but no providers found in RDEPENDS_libgstgl-1.0? [file-rdeps]
ERROR: gstreamer1.0-plugins-bad-1.12.4-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: gstreamer1.0-plugins-bad-1.12.4-r0 do_package_qa: Function failed: do_package_qa
My local.conf file contains
PACKAGECONFIG_remove_pn-xserver-xorg = "glamor"
IMAGE_FEATURES += "x11"
DISTRO_FEATURES_append = " opengl x11"
DISTRO_FEATURES_remove = "wayland"
It seems that I forgot to add a few *.so library as an error suggest. Unfortunately, I still learn Yocto and don't know many things and packages dependencies. In the end, I add that processes "do_conifugre, do_compile, do_package" done success but stuck on generating "do_package do_package_write_ipk". How to add missing dependencies?