Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to initial open cv with adding environment path for opencv.
for example the path added in following link
http://siddhantahuja.wordpress.com/2011/07/18/getting-started-with-opencv-2-3-in-microsoft-visual-studio-2010-in-windows-7-64-bit/[^]
Posted
Comments
Richard MacCutchan 23-Jan-15 4:12am    
Why not just do what the documentation tells you?

1 solution

To elaborate, you can set environment variables in a command prompt, start the MSVC developer environment from that command prompt, and MSVC will inherit those env. vars.

There is no need to set user-wide (or worse, system-wide) env. vars.

This can be useful in many instances. Say you have one or more projects using zlib, but don't want to include the whole source distribution. You can from a batchfile f.ex. set env. var "ZLIB" to point to your local zlib directory, start msdev from it, and then refer to this env. var. for includes. etc like "${ZLIB}\include" or "$(ZLIB)\include".

++luck;
 
Share this answer
 
Comments
Surya Ravi 27-Feb-15 0:23am    
Thanks mike.
I want to use OpenCV library Without environment Variable.
Without using env. var setting can i use OpenCV .
Because in client side i have no rights for change or add env. var.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900