Using Open CV

When using Open CV you may come accross the following errorr message when trying to compile your code.

error message

You will need to edit the environment variables from within the Visual Studio project. There are different paths depending on your project being 32-bit or 64-bit. For 32-bit in Visual Studio 2010 the folder is:


For 64-bit in Visual Studio 2010 the folder is:


Under 'Project / Properties' from inside the Visual Studio project go to 'Configuration Properties / Debugging'. In the right-hand pane click the drop down arrow at the end of the item called 'Environment' and click ''.