Adding .mes and .mc files to a c++ project in visual studio 2010 - c++

I am trying to compile a piece of code to a static library that was developed using visual studio version 6 in vs2010. During compilation I see errors related to error codes that were defined in .mes and .mc files as I didn't add these files to source files or header files, but they are part of include directories.
Can some one let me know how to add .mes and .mc files to a vs 2010 project.
Thanks in advance.

Related

How to produce platform independent source files (which can generate project files for anyone using cmake) from a visual studio solution?

I know cmake is a tool which can produce visual studio solution files from source files. I see many of c++ projects are stored in the github in that way. My problem is how create that source. Is there anyway to generate it on visual studio or anyother way.? I have created a project by using visual studio . So I have the solution file. I want to upload it in to github as a portable source which can produce project files later using cmake for anyone.

Visual studio 2013 auto complete for project files

My directory structure seems to be messing up the auto-complete for project created files. Here's a hierarchical representation (The project is called "Asdf"):
Asdf
src
Asdf (Contains the source files for the project.)
SDL (Contains include files for SDL.)
vc (Contains the actual visual studio solution file and configuration files.)
Any ideas on how to fix this?
Additional note: Project files are included in Project Properties->Include Directories. The Visual studio 2013 is the software in question.

Creating a C++ visual studio project based on existing files

I've never worked with C++ or C. I'm trying to create a Visual studio project based on existing files which can be found here: example1.cpp together with the resources. As you can see this is example code of a book for OpenGl. I have opengl and glut present on my computer and they work ( tested it).
Based on the files mentioned above a created an empty C++ project in visual studio 2012 (i also have other versions installed if you can provide a solution in 2010 or so). I included the header files & the source file. Though I still get the following in my IDE:
with errors such as:
cannot open source file "Angle.h"
( Though the file is present in the project)
Can anyone tell me how I get these files to compile and run ?
Make sure that the file angel.h it's in the same path that the .cpp file.
Header files need to be in same directory with source files in order to use #include with quotes.
#include "header.h"
In other words Angel.h must be in same directory with example1.cpp.
However,you can add spesicific paths to your project from Project Settings>VC++ Directories and include header files which exists in those paths using
#include <header.h>

How do you compile and run a project in Visual Studio when you have multiple source and header files involved in the same project?

I mostly worked with linux env, new to visual studio. (If you are in Linux, you would use the make utility...) How do you compile and run a project in Visual Studio when you have multiple source and header files involved in the same project? I have main.cpp, and few other source and corresponding header files, and when i built the project, I couldn't see an output although the project compiled fine and 'exited gracefully'. How do I tell Visual Studio that these files are part of the project?
To do that:
Select Project -->
Add Existing Item....
You should be looking in the same directory where you saved the project/solution.
Highlight the .h and .cpp files: date.cpp, date.h and main.cpp
Select "Add" to add the files to the project.
Result: Once I added the 'main.cpp' and other files in the project, it works fine and I am able to view the output.
References:
1 [http://www.cs.uregina.ca/Links/class-info/210/Lab1_VCIntro/]

Trouble With Building Live555 Media Server in VS2005

This could be a very silly question to any long time C++, visual studio or live555 users but I am having problems building the live555 source code with visual studio 2005. I have found a good walk through guide for creating the projects manually because .mak files are no longer supported by newer versions of visual studio but am still having problems. It seems that visual studio cannot open the .hh files that come in the include folders and I have added to the header folders of each seperate project.
Is there something special you have to do to the compilier or a plugin for the IDE to allow VS2005 to open .hh header files?
This is the error I am getting:
fatal error C1083: Cannot open include file
'BasicUsageEnvironment.hh': No such file or directory.
It seems to me that Visual studios cannot find the file, rather than it not being able to open that file type. If you right click on your project and go to
Properties->C/C++->General->Additional Include Directories
Now browse to the location of the .hh file and add it to the path. Visual studios should now be able to find the file in question. You may also have to add library paths to your solution. Please let me know if there are additional errors.