Hey this is my first question here on stackoverflow, allow me to add that i'm a newbie in programming.
Which would be the best or the "right" way/approach to start a OpenCV with a friendly GUI (not console based) software.
Which IDE should i be using to achieve this ?
I have Visual Studio 2012 and Qt.
1.Empty CLR Project
File -> New -> Project -> VC++ -> CLR-> CLR Empty Project
Then:
Project -> Add New Item -> VC++ -> UI -> Windows Form
2. MFC Application
File -> New -> Project -> VC++ -> MFC -> MFC Application
I've also searched for Emgu CV which seems to be working better with C#.
What about Qt ???
Thank you in advance
Try Code blocks or Visual Studio 2013.
I would prefer VS2013 if I was you.
Related
I am on Visual Studio Community 2017 v. 15.3.1 and I can't seem to find Win32 console application or Win32 project. Still have empty c++ project template and Windows Console Application template.
On the start page, I still have win 32 console project available, but if I click it, I get a prompt about removing it from the list
EDIT: I have currently installed following Workloads:
Universal Windows Platform
Net desktop development
Desktop development with C++
Game Development with C++
Visual Studio extensions development
I've done no changes to workload configuration, save from adding a few extra components.
I've been fiddling with installer for a while but can't figure out which package I need for this. Any suggestions?
The new updated changed some things. Go to file -> new project -> visual c++ -> windows desktop -> windows desktop wizard -> select whatever you want
If you haven't installed C++ at all (doesn't come by default as mentioned above) look here
This seems to work. Credit all goes to the original website! :)
(https://developercommunity.visualstudio.com/content/problem/93159/cant-find-win32-console-application-for-new-projec.html )
If you are using Visual Studio 2017, and can't find "win32 console project" after File ->> New ->> Project:
(https://imgur.com/a/3mmgyP3 : VS 2017 "New Project" without "win32 console project" )
Go to File ->> New ->> Project ->> Windows Desktop Wizard ->> select "Empty Project"
VISUAL STUDIO 2015
(https://imgur.com/a/9H7sHfV : File ->> New ->> Project ->> "Win32 Console Application")
VISUAL STUDIO 2017
(https://imgur.com/a/5Qqzf1L : File ->> New ->> Project ->> "Windows Desktop Wizard")
With the hope of getting trained for C++ as a zero newbie, I was following directives to create a C++ dev environment on a PC equipped with Windows 10 and Visual Studio 2015 Community Edition.
I create a new C++ project on VS 2015 CE
When I right-click project properties, I cannot locate C/C++ > Preprocessor - it's just not there as can be seen from the screenshot.
So trying to figure out how on Earth I can add some custom preprocessor definitions here. :-(
Add at least one .cpp or .c file to your project (or, more generally, an item with ItemType "C/C++ Compiler").
A desired entry will appear in Project Property Pages (exactly where you expect it to be):
Configuration properties -> C/C++
There will be subentry "Preprocessor".
Alternatively, you may create a project of type
Visual C++ -> Win32 -> Win32 Console Application (or, more general, Win32 Project)
This type of projects already contains C++ files with some simple code.
This error makes my code wrong & I can't debug my code correctly.
This is my screen when I am debugging my code:
I can't understand the error. What is it and how can it be solved?
It means you do not have SDK (and tools) for Windows XP target compilation.
You either need to:
change platform target of the Project ( Yer Project -> Properties -> General -> Platform Toolset)
or install that feature (Control Panels -> Programs and functions -> Visual Studio X -> modify -> select "Windows XP support for C++")
I was new to Visual Studio and I want it to debug some of my c++ files.
The VS 2010 Ultimate was already installed in my lab system.
Now to debug after referring to internet and also here I came to know that we need to start a new project as below
File -> New -> Project -> Visual C# -> Win32 -> Win32 Console application
But in my VS there was no Win32 under Visual C# but there was Windows in which there was Console application, which I selected.
Then we need to add the C++ files under the source files directory. But I didn't find any such directory in this console application.
Is there any problem with installation or configuration.
Can anyone please help me.
the correct path to start a win32 C++ console project is
File -> New -> Project -> Visual C++ -> Win32 -> Win32 Console application
and if you don ´t find path it mean that you.have a custom setup.
find your setup DVD and/or use Add and Remove program to " modify " the setup. When installation program ask for the component you need check the C++ box. finish the setup and and after you will have a specific section for c++ project ....
I am getting started in C++. How can I setup Visual Studio 2008 to create native (not managed) code?
Choose a Win32 Project.
If you're just getting started you probably want a Win32 Console Application, and not a Win32 App. File -> New -> Project -> Visual C++ -> Win32 -> Win32 Console Application
When you create the project itself you'll probably want to click Next before you click Finish, and select Empty Project so that VS won't add a bunch of junk to your project for you.
File -> New -> project (maybe go to other lang if you see c#) -> visuall c++ -> win32
You can choose other types there it still be native.
(like mfc, but I doubt if you really need something other then the basic win32)
In the new projects dialog, choose any project type under the Visual C++ group. You'll need Visual Studio Pro, or Visual Studio Express for C++.