I want to set up a development environment to make C++ applications which use QGIS elements like 'map canvas' etc.
I could not find any working tutorial or documentation to solve it with Qt or Visual Studio C++.
Could You please give me some idea to solve it or show the main steps i need to follow?
Related
I've recently installed CLion in the hopes that I can start using this over visual studios and it seems to be decent for at least regular c++ projects etc but I am wondering how and if I can use it to develop directx code. In visual studios you simply have the directx folder along side your project like so
C:/myproject/main.cpp
C:/DirectXTK/directxfiles etc
and you can import and link the files by either dragging them onto the project or using the import files and it will link them up etc is there anyway I can do this using CLion? for a fairly new programmer it's super confusing. I tried googling adding libraries and such but I struggled to understand most of what exactly was said, could someone explain it to me please? and if you can will it run just as it would run in visual studio?(and would it run on a mac)
My reason for wanting to use CLion is simply because I'd like to be able to run CLion on my mac and be able to run and test without having to use my current solution which is parallels/bootcamp/running windows then visual studios etc. Unless someone has a better idea?
Thanks in advance if someone can help!
There is no DirectX on Mac OS X, OS X uses OpenGL instead.
So using CLion would not solve your problem.
So i'm new to libraries and learning to design API's.. I need this library to create a program that checks if a username already exist using an API provided by site. Anyway, i already installed the ZIP File v2.7.0 on Github
https://github.com/Microsoft/cpprestsdk/tree/v2.7.0
I read the documentation but it's too hard to understand.. For me it's not a noob friendly.. But i choose the "Build from source" What i did so far is open the cpprestsdk140.sln and build it using VS 2015. What's next after it? Is it installed already ? How will i use this for the program i want to accomplish?
Thanks you in advance!
I am new Lua user. No experience with C++. I need to have test code coverage functionality my tests in Lua so after googling I found this site:
https://github.com/nmcveity/lcovtools
Nice but the author says:
"Turn luacov/luacov.cpp into a Lua module"
and I stopped here. No experience what tool to use to do this.
I am Windows 8.1 user; Lua ver 5.1.4 .
Can somebody deliver me a ready to use solution for my problem (eg which compilator with all magic options to have ready to use Lua module)
Thanks in advance.
Rafal
compile it as DLL named lcovtools.dll. You can use any compiler you want but i recommend using Visual Studio. Create a new DLL Project. Delete all files and just add luacov.cpp
You can follow http://msdn.microsoft.com/en-gb/library/ms235636.aspx on how to setup the project
http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-8 here is a free version of Visual Studio.
I just don't seem to be able to get OpenCV to work properly. Here's what I want to accomplish:
Use CodeBlocks (which I installed using codeblocks-10.05mingw-setup.exe) with OpenCV (installer: OpenCV-2.4.2.exe) on my Windows x64.
I've tried a lot of different configurations which will only bother you if I posted them all, so I hope you don't mind if I just ask the simple question: how do I get this to work?
I think I'm missing the smallest detail right now, so a detailed description of how to get started would be welcome.
If the OpenCV installer did the job, you should have by now OpenCV libraries and headers already installed in your system.
I would then go ahead and try to compile a hello world basic code, like the one you can get from here. If you would like to program using an IDE, like VisualC++ in Windows, you can follow this guide that will help you setting up the environment.
OpenCV team just introduced their new web site. There you can find Introduction to OpenCV section with installation instructions, including detailed instructions for Windows. Don't forget to cleanup your system before installation to avoid problems with mixing different install options. If you still can't get it working with CodeBlocks, follow Dan's advice and try compiling from command line.
When you are done with installation, go on and read there great new tutorials!
I'll begin with an apology since I am new to c++ and maybe my questions make no sense.
I have a c# app, unfortunately it requires .Net framework to be installed on the machine.
I'd like to make a c++ application that will copy a .Net installer from a cd, and run the installer on quite mode.
The c++ app must be hidden, no console or what so ever, and also the most important thing is: it must run on a clean install of windows xp/
Please help me :)
I have no idea how to approach this, since I've never used c++ before.
P.S. (if it's possible to run a c# app that can do the above, saying how would be appreciated).
I tried googling but failed to get an answer
I dont know why you want to have a c++ app to launch the dot net installer. This can be achieved from within DOT NET env itself.
Add a Setup project to your current solution. It can detect installed .net framework and depending on your application's dependencies can offer to install one automatically.
However by default it will try to download the framework but if you intend to supply it on your CD you can configure it to pick up the installer from a local location as well.
Refer here to get you started
http://support.microsoft.com/kb/307353