I've successfully installed Cuda SDK and tested the compiler with an HelloWorld Then I've opened Nsight but Nsight can not opened - nsight

I've successfully installed Cuda SDK and tested the compiler with a HelloWorld. Then I've opened Nsight but Nsight can not opened.
Error that I get:
nsight
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
CompileCommand: exclude java/lang/reflect/Array.newInstance
Gtk-Message: 16:52:26.477: Failed to load module "canberra-gtk-module"
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.osgi.storage.FrameworkExtensionInstaller (file:/usr/local/cuda-10.2/libnsight/plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.storage.FrameworkExtensionInstaller
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Gtk-Message: 16:52:34.530: Failed to load module "canberra-gtk-module"

I had the same problem and all the posts I found about installing various canberra-gtk-whatever packages didn't fix it. What finally fixed it was to install OpenJdk8 and then start nsight with that vm. Apparently Nvidia requires that exact vm and didn't document it. Typical poor documentation from Nvida.
I also have Oracle JDK 11 installed and only use OpenJdk8 to run insight.

Related

Error building Ada Web Server (AWS) on macOS Sierra

I have updated my gnat to the latest version from AdaCore and trying to rebuild the latest AWS (Ada Web Server) also downloaded from AdaCore. I got some errors when building:
aws-services-web_block-context.ads:106:21: argument of pragma "SUPPRESS" is not valid check name
aws-services-web_block-context.ads:106:21: argument of pragma "SUPPRESS" is not valid check name
compilation of aws-services-web_block-context.adb failed
compilation of aws-services-web_block-registry.adb failed
gprbuild: *** compilation phase failed
make: *** [build-native] Error 4
What could have been wrong? Or, have I overlook something?
Thanks.
Adrian
The check that is invalid is Tampering_Check, which is to do with the resource-intensive ARM-specified checks on improper use of Containers (basically, is one part of the code trying to change the structure of a Container that another is already using?)
I don’t know why you’ve had this problem: both GNAT GPL 2016 and FSF GCC 6.1.0 are OK with the pragma. Are you sure you’re using the latest compiler?
One other thing to watch out for is that the master branch at Github may rely on compiler features not available in compiler releases available to unsupported customers; if using GNAT GPL 2016, maybe the gpl-2016 branch would be safer, if not up to date.

Errors while compiling the generated C++ SDK

I have installed the kaa server and did a compilation of a SDK i generated, first everything went well but after i changed the IP settings in the administrative GUI of the kaa-server things went wrong.
The C++ SDK wont compile anymore and gives the following error:
In file included from kaa/IKaaClientStateStorage.hpp:24:0,
from kaa/channel/transport/IKaaTransport.hpp:20,
from kaa/channel/transport/AbstractKaaTransport.hpp:20,
from kaa/event/registration/UserTransport.hpp:22,
from /impl/event/registration/UserTransport.cpp:17:
kaa/notification/gen/NotificationDefinitions.hpp:34:27: error: ‘Notification’ in namespace ‘kaa_notification’ does not name a type
typedef kaa_notification::Notification KaaNotification;

Macdeployqt: ERROR: no file at "/Users/michael/Qt5.3.2/5.3/clang_64/lib/QtQuick.framework/Versions/5/QtQuick"

I recently updated from Qt 5.3 to Qt 5.5. Since the update, I can't seem to get macdeployqt to work properly. When I call it for my application, I get the following output:
Michaels-Mac-mini:Desktop michael$ ~/Qt/5.5/clang_64/bin/macdeployqt FlySightViewer.app
ERROR: Cannot resolve rpath "libvlc-qt.dylib (compatibility version 0.0.0, current version 0.0.0)"
ERROR: using QSet("/Users/michael/Qt/5.5/clang_64/lib")
ERROR: Cannot resolve rpath "libvlc-qt.dylib (compatibility version 0.0.0, current version 0.0.0)"
ERROR: using QSet("/Users/michael/Qt/5.5/clang_64/lib")
ERROR: no file at "/Users/michael/Qt5.3.2/5.3/clang_64/lib/QtQuick.framework/Versions/5/QtQuick"
ERROR: no file at "/Users/michael/Qt5.3.2/5.3/clang_64/lib/QtQml.framework/Versions/5/QtQml"
ERROR: no file at "/Users/michael/Qt5.3.2/5.3/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork"
ERROR: no file at "/Users/michael/Qt5.3.2/5.3/clang_64/lib/QtGui.framework/Versions/5/QtGui"
ERROR: no file at "/Users/michael/Qt5.3.2/5.3/clang_64/lib/QtCore.framework/Versions/5/QtCore"
ERROR: no file at "/Users/michael/Qt5.3.2/5.3/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets"
WARNING: Plugin "libqsqlodbc.dylib" uses private API and is not Mac App store compliant.
WARNING: Plugin "libqsqlpsql.dylib" uses private API and is not Mac App store compliant.
ERROR: no file at "/usr/local/lib/libpq.5.dylib"
What catches my attention in particular are the six errors that refer to ~/Qt5.3.2/5.3. This is where the old version of Qt was installed, but the only version I currently have installed is Qt 5.5. It seems like there is some reference in my project/system to the old version, but I have no idea where to look for it. Any help would be greatly appreciated!

v-play installation - Cant deploy on desktop and device

I’ve just installed v-play but when i compile to desktop i get error :-1: error: cannot find -lGL and exits.
Then if i compile to android it will compile and install but the it never successfully opens the app and it exits on deployment.
These are the warnings i get :
Warnings while parsing QML type information of /home/theguy/V-Play/5.5/android_armv5/qml/QtCanvas3D:
/home/theguy/V-Play/5.5/android_armv5/qml/QtCanvas3D/plugins.qmltypes:1:24: Reading only version 1.1 parts.
/home/theguy/V-Play/5.5/android_armv5/qml/QtCanvas3D/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.
Warnings while parsing QML type information of /home/theguy/V-Play/5.5/gcc_64/qml/QtWebSockets:
/home/theguy/V-Play/5.5/gcc_64/qml/QtWebSockets/plugins.qmltypes:1:24: Reading only version 1.1 parts.
/home/theguy/V-Play/5.5/gcc_64/qml/QtWebSockets/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.
Warnings while parsing QML type information of /home/theguy/V-Play/5.5/gcc_64/qml/QtCanvas3D:
/home/theguy/V-Play/5.5/gcc_64/qml/QtCanvas3D/plugins.qmltypes:1:24: Reading only version 1.1 parts.
/home/theguy/V-Play/5.5/gcc_64/qml/QtCanvas3D/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.
And these are the compile issues I get:
15:03:42: Packaging error: Command “/home/theguy/Android/Sdk/platform-tools/adb -s 9cc172fdedea pull /system/bin/sh: readlink: not found /home/theguy/Desktop/Projects/v-play/ConverseLanguages/build-ConverseLanguages-Android_for_armeabi_GCC_4_9_Qt_5_5_0-Release/app_process” failed.Exit code: 1
15:03:42: Package deploy: Failed to pull “/system/bin/sh: readlink: not found” to “/home/theguy/Desktop/Projects/v-play/ConverseLanguages/build-ConverseLanguages-Android_for_armeabi_GCC_4_9_Qt_5_5_0-Release/app_process”.
15:03:42: Package deploy: Running command “/home/theguy/Android/Sdk/platform-tools/adb -s 9cc172fdedea pull /system/lib/libc.so /home/theguy/Desktop/Projects/v-play/ConverseLanguages/build-ConverseLanguages-Android_for_armeabi_GCC_4_9_Qt_5_5_0-Release/libc.so”.
Error while building/deploying project ConverseLanguages (kit: Android for armeabi (GCC 4.9, Qt 5.5.0))
When executing step “Deploy to Android device”
please see here for a reply: https://v-play.net/developers/forums/t/installation-problem-error-cannot-find-lgl/
Cheers, Chris

Depmod - unresolved symbols in rt73 module

I'm trying to install a linux driver for my wireless network card (D-Link DWL-G510) on my Red Hat Linux 7.1 machine with a 2.4.37.9 kernel. I downloaded the serial monkey driver from the sourceforge site and was able to successfully compile the module. However, whenever I do a "make install", the make script executes a "depmod -a" command which then complains with the message: "Unresolved symbols in /lib/modules/2.4.37.9/extra/rt73.o".
I then executed a "depmod -e" command to show unresolved symbols and it indicates the following information:
request_firmware_Rsmp_38ce5074
release_firmware_Rsmp_33934162
I did a grep on the above information and it showed no source files making reference to it. I searched for it on google and it returned no results. Can anyone help?
I found out the reason - it was missing the firmware_class module. I had to rebuild kernel modules with the experimental feature CONFIG_FW_LOADER as a module which is found under Library routines\Hotplug firmware loading support. After loading the firmware_class module, the rt73 module loaded successfully also.

Resources