Home > My Original Post > Weird VS2010 Project Properties sheets

Weird VS2010 Project Properties sheets

Trying to build new opencv project with default include paths

D:\Program Files\OpenCV242\build\myx86\install\include

D:\Program Files\OpenCV242\build\myx86\install\lib

and linker input files

opencv_calib3d242d.lib; opencv_contrib242d.lib; opencv_core242d.lib; opencv_features2d242d.lib; opencv_flann242d.lib; opencv_gpu242d.lib; opencv_highgui242d.lib; opencv_imgproc242d.lib; opencv_legacy242d.lib; opencv_ml242d.lib; opencv_objdetect242d.lib; opencv_ts242d.lib; opencv_video242d.lib;

If I put all of these information into

C:\Users\bf109\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.Win32.user.props

The project can be built normally, but the exe can not read command line arguments.

I have to restore Microsoft.Cpp.Win32.user.props into original status:

<?xml version=”1.0″ encoding=”utf-8″?>
<Project DefaultTargets=”Build” ToolsVersion=”4.0″ xmlns=”http://schemas.microsoft.com/developer/msbuild/2003″&gt;

</Project>

Then the exe can read args normally.

Don’t understand Microsoft.

Advertisements
Categories: My Original Post
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: