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!
Related
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.
I've started working on a vanilla Xamarin.Forms project, and I get the below warning when trying to build the iOS project, straight after adding Moq to the Forms project.
MTOUCH : warning MT0109: The assembly 'System.Diagnostics.TraceSource.dll' was loaded from a different path than the provided path (provided path: /Users/{me}/.nuget/packages/system.diagnostics.tracesource/4.3.0/runtimes/win/lib/netstandard1.3/System.Diagnostics.TraceSource.dll, actual path: /Library/Frameworks/Xamarin.iOS.framework/Versions/12.8.0.0/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.TraceSource.dll).
There are no warnings reported when adding the NuGet package itself, only when building the iOS project. In fact, there were two warnings when building but I managed to fix one.
I've tried with various versions of Moq (4.7.x, 4.8.x, 4.9.x, 4.10.x). Same issue.
I've Googled extensively but it hasn't been much help. I came across the following threads which provided some insight but didn't actually help solve the issue:
How do I get rid of these compiler warnings about wrong paths
https://developercommunity.visualstudio.com/content/problem/121551/xamarin-ios-build-assembly-path-mismatch.html
https://github.com/dotnet/standard/issues/481
Questions: How can I resolve this warning? Is this an issue with Moq that needs a bug repro submitted?
My environment:
VS for Mac 2019 V8.0.4 (build 0)
Xamarin.Forms project uses
Xamarin.Forms 3.6.0.x, Xamarin.Essentials 1.0.1, Moq (causing the
warning), and the target framework is .NET Standard 2.0.
I downloaded ArcGIS Runtime SDK for Xamarin (Quartz Beta).
On installing it out of the box in portable project I get following error :
Could not install package 'Esri.ArcGISRuntime.Xamarin.Forms
100.0.0.1369-beta'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile7
I tried to change the profile number but it doesn't seem to work. How should I proceed?
The sample code from their github project shows that they set up their projects using a shared code approach rather than a Portable Class Library. I'm not sure they designed their library with PCL support in mind.
In the beta forums, an esri employee answered this with regards to whether the SDK could support PCL:
Unfortunately PCL isn't possible for the Runtime due to some of the native dependencies. We recommend using shared projects to share the code you otherwise would have put in a PCL.
hi! Help me please to build pcl 1.7 on windows 7 x64, vs10. As i know there are not 3rd party dependencies. such as boost, vtk etc. so first of all i want to build and install boost 1.55. there are also no cmake config files and cmakelists in boost. It needs for me to run pcl 3D recognition example.
Since your question is quite general, you get a general answer...
PCL has a good tutorial on how to build PCL on Windows.
There are dependencies on other software. There is also a tutorial on how to build them from source.
Have you done those tutorials and still have problems? If yes, be more precise.
I'm sure there must be a simple explanation, I have downloaded the latest sdk and installed it using default settings in 10.7.5. I've used QT on windows before so I know how to make a project, however when I try and make a project expecting something like this to appear:
http://doc.qt.digia.com/qtcreator/images/qtcreator-new-qt-quick-project-wizard.png
But this is what I actually see:
http://trollfx.com/qt_whatisee.jpg
There are no gui project available, also none of the samples are present on the welcome page. searching for them just does nothing. I'm completely stumped, can anyone advise please?
I had the same problem.
I think what you've done is you've downloaded QtCreator as a stand alone app, and you're missing the actual Qt base files.
Uninstall QtCreator and then go to http://qt-project.org/downloads and download Qt itself, which comes with QtCreator bundled with it.
Make sure you have correctly configured the directory where Qt is installed. It needs to know where to find the qmake utility. (Specifically, go to Preferences|Build & Run|Qt Versions, click Add and locate the qmake executable).
Btw, it is assumed that you have installed XCode (at least its Unix command-line development tools.) In contrast to Windows, the Mac version does not come with a compiler. You need XCode for that.