Cannot Port Existing Visual Studio Qt Project To Ubuntu - c++

I developped a Qt 5.5 application using OpenCV and Flycapture camera libraries in Visual Studio 2013. Now, I would like to compile, build, and run this code in Ubuntu 14.04. I kept track of the steps in that link. After applying the step 11, I encountered this error message. Actually, I added the include path of Flycapture in Visual Studio. I don’ t know how to fix this problem.

You need to compile that library on Ubuntu then include it in your project.

Related

Installing Magick++ in visual studio 2019

I have tried to install Magick++.h in visual studio 2019.
First I download ImageMagick++ and installed my pc. Then I copied include & library path to project properties. there is no error when I am writing the program. after compiling, there is a build error. Can someone help to solve this problem?

Qt Creator Compiler Config Issue visual studio 2017

I have a problem very similar to
Qt Creator Compiler Config Issue
I have a code in one computer that run with qt 5.4.2msvc2013. In this computer everything works fine, I have these packages installed for the kit:
Build & run kits
but now I am trying to run the same program in a new computer and I can not get my projects to 'Build and Run'.
I tried to install visual studio 2017 but it didn't work. I think the problem is that I don't know what do I have to install in the visual studio package to run something with Qt 5.4.2msvc2013 64bit2
Here is what I installed of visual studio 2017 in the computer that doesn't work
Visual Studio 2017
thank you for any help!
To compile VS2013/Qt5 project under VS2017 you need to install full VS2013 together with VS2017. I tried MS Build Tools but that's not sufficient because does not include unmanadged C++ compiler (cl.exe). Also, you need proper version of Qt itself and Qt VS Tools (aka Qt VS Addin). At the moment beta with VS2017 support is available.

OpenCV3.0: linking error WITH_CUDA=ON

I downloaded opencv3.0 & opencv_contrib then used Cmake-GUI to compile the libraries. I have my flags WITH_CUDA=ON, WITH_OPENCL=ON, WITH_OPENMP=ON.
I made sure I am generating for VS 2013 64-bit. Cmake-GUI runs perfectly fine.
Issue is building OpenCV solution file in VS 2013. I keep getting errors like in the below attached photo.
My CUDA samples are running perfectly fine.
I am not sure whether if i am missing something in the process or is it a bug?
CUDA - 7.5
OpenCV3.0
VS 2013

Problem deploying a project that uses Intel Parallel studio

So I have this small application of mine I'm trying to deploy using visual studio. I have Intel parallel studio 2011 added to visual studio, and I'm compiling this program using Intel within VS because I'm using OpenMP task construct which is not supported in VS2010. I added a deployment project to my solution and built a setup. Dependencies are detected as follows:
glu32.dll opengl32.dll and libiomp5md.dll
Now I'm trying to test this setup file to see if it works. I have Windows XP Mode installed and I access the setup file, I setup my application, decencies are copied just fine but:
When I try to run the application first time I got an error saying:
The entry point _ftol2 could not be loacted in the dynamic link library msvcrt.dll
I found solution to this problem by removing glu32.dll and opengl32.dll and adding glut32.dll to my windows/system folder.
But then it comes up with this second error saying:
The application or dll ".....\libiomp5md.dll" is not a valid windows image. please check this against your installation diskette
again I googled and I got this and it didn't work.
Reminder: I'm using Win7 x64 and Visual Studio 2010 with Intel Parallel Studio 2011.
I guess you need to install the redistributable libraries on the target machine.

Qt 4.7.1, Qt Creator and VS 2010 installation problems

On my computer (Win7 32, VS2010 Ultimate) I would like to use Qt Creator and Qt Visual Studio add in, both LGPL versions.
There are minGW and VS2008 versions of Qt frameworks on the Nokia websites, I did not find VS 2010 version.
So I have installed Qt 2010.05 SDK and in the VS 2010 Command prompt the following steps have been performed:
configure -static
nmake sub-src
I checked Qt Creator and it successfully runs. After the translation has been finished I installed VS 2010 add I tried to add new Qt version int the path
C:\Qt\2010.05\qt
But the following error message has been appeared:
Qt in the given path was built using minGW
It do not understand why because the translation has been performed for the VS2010.
Where is the error? How to install it correctly?
I found out from a German Qt forum that, VS add-in looks for libqtmain.a and libqtmaind.a files to determine if it is built with MinGW. Guess what? Qt ships with those files.
Delete them, and you will be fine.
FWIW, The Vs2008 version works fine with VS2010. I didn't need to build it or anything. You can install that and then just run the latest version of the VS plug-in installer and you should see the Qt menu options in VS2010.
AFAIR your command line is incomplete: I remember one had to specify the build platform. It could be that it's using mingw to build Qt since you didn't specify the VS version in the parameters. The following post might be of interest to you: Building Qt 4.5 with Visual C++ 2010