Problems with optix and cuda when using CLion - clion

I have simply downloaded the OptiX SDK (7.1), and have obviously installed CUDA (11). When opening a sample project in CLion, everything runs as it should, however, all the optix libraries are unknown to the IDE. Do you know anything about this?

Related

Fldigi open-source project compiling in windows 10

How to compile open-source project in windows?
I want to use Fldigi project. I am not getting how to edit the source code of fldigi and compile it in windows 10? Please help.

Loading OpenSSL dynamic libraries arm & x86 (FMX, C++)

I am able to use OpenSSL static libraries (libcrypto.a and libssl.a) in my iOS app thanks to this help. Now i can also use OpenSSL dynamic libraries (libcrypto.so and libssl.so) in my Android app version thanks to this info. I downloaded the files for Android in the OpenSSL_1.0.2g_Android.zip file from here. I just guessed and used the ARM files (armeabi-v7a folder) instead of the Intel files (x86 folder) and it worked on my Android test phone.
My question: How do I make an Android build that uses the correct library files on ARM devices AND also on Intel? I don't know how to deploy both sets of files for this. Below is snip of project window showing where i test added the second libcrytpo.so library file for x86.
But, this second libcrypto.so does not show up in the deployment window, only the first version i added (the ARM version) remains.
I was hoping i could somehow use compiler directives but maybe i just need 2 independent projects altogether? One built for Android ARM and other for Android x86? Further, all i'm needing in my code is an IdHTTP1->Get() so maybe their is a way i can use the built in BoringSSL fork? If so, how?
russ
C++Builder 10.3 Version 26.0.33219.4899
RAD Studio does not support producing Android apps for Intel, only for ARM, so don't even worry about trying to use the x86 libs on Android.
Also, Indy does not support BoringSSL at this time.

Entry point not found error using external lib

Im using the qwt lib (version 6.1.4) to make plots in c++. I have build the library from the source code by using Qt5.5.1 using msvc2013 compiler. I have done this by loading the qwt.pro file in qt-creator and building it. So far so good and the examples work fine when I load them in Qt.
However I am now trying to include the qwt.dll that was created in the previous steps into an existing project using an older version of Qt (5.4.0). This project uses cmake and visual studio 2013 to build and compile. I have managed to include the header files and link to the qwt.dll in the project, but now I get an error when I use the library:
'Entry Point Not Found' in the dynamic link library Qt5Core.dll
This qt5core.dll is the one from q5.4.0. Could this error be caused by the fact that I used a newer version of Qt when building the lib? Or is there another reason for this?
And for my understanding what does the error actually mean?
It was indeed the problem that I build the Qwt lib with a different version of Qt then the existing project used. I solved it by adding a Kit to qt that used the other Qt version. Then I used that kit to build qwt in qtcreator and the resulting lib worked like a charm!

port an existing c++11 app which runs on Android and IOS to Windows Phone 8

currently I have to port an existing mobile application which runs on Android and IOS to Windows 8. Unfortunately it is using a lot of C++11 Stuff, which is not supported by Windows Phone 8.0. The project itself was written with cocos2d-x 2.0. It contains a C# Part which loads a C++ library with the major part of the application. Also it includes modules from "Project Angle", which is a library to convert OpenGL calls into DirectX calls.
The first thing I tried was to upgrade the project to Windows Phone 8.1 using the 'reassign project' option from Visual Studio. I still had to remove a bit of C++11 Code, but now at least the project itself compiles. After compiling I got some linker errors for functions like 'getenv'. The angle libraries don't even compile and gives me errors like 'Cant find include file vccorlib.h' for every single source file.
Since I'm completely new to Windows development, I don't know if something went wrong on upgrading the projects, or if I have to fix something within the projects. But I tried to upgrade an other project, which was already ported to WP8, and got the same errors.
Now I have to deceide if I have to fix the Windows Phone 8.1 version or if it's easier to remove C++11 Code for 8.0 (which means a few days of work and let my heart bleed)
I also found a compiler update for Visual Studio 2012, which has extended support for C++11, but it seems it's not compatible for Windows Phone.
I hope someone of you could give me a hint, what I have missed for WP 8.1 or has another idea. Thanks for your help!
Cocos2d-x should work on Windows Phone, but you have to get the right version. You can't use pre-built binaries for other platforms (even desktop Windows) and you need to make sure you're building correctly. See the download page.
Visual Studio 2013 Update 4 is the latest stable release of VS that supports Windows Phone projects; you can see the level of C++11 support listed here along with support in the not-yet-finished Visual Studio 2015 compiler.

Qt example named Boxes working on Ubuntu but not on Windows (Qt 5.0.2)

I have been searching for a cross platform GUI application development framework (Same code for building Linux, Android, Windows apps and OS X) and I found Qt is best for that (Inspired because VLC media player is build with Qt).
First installed it in Ubuntu I had some problem in building examples but I managed to solve it and every examples given in Qt is working fine.
But in Windows every example is working except the "Boxes" example.
Issues:
warning: Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c
error: This example requires Qt to be configured with -opengl desktop
After installing Qt 5.0.2 for Windows 32-bit (VS 2010, OpenGL, 476 MB)
error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
So, I checked Build & Run Option and it shows
you need to have qt built with opengl desktop option.
http://qt-project.org/downloads
look for Qt 5.0.2 for Windows 32-bit (VS 2010, OpenGL, 476 MB)
http://download.qt-project.org/official_releases/qt/5.0/5.0.2/qt-windows-opensource-5.0.2-msvc2010_32_opengl-x86-offline.exe.mirrorlist
after installing this qt release your example should work
Problem resolved after installing :
Microsoft Visual Studio 2010
Qt 5.0.2 for Windows 32-bit (VS 2010, OpenGL, 476 MB)
But, running the program form Qt alone works when I open the compiled exe file it shows Qt5***.dll missing.
Solving missing dll :
Open compiled exe in Dependency Walker and it will show all missing dll. Now go to
\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\bin
there we can find all Qt5***.dll copy it and past it in exe location.

Resources