Setup libopc in Windows / Visual Studio:

  1. Download the latest SDKs (e.g. libopc-sdk-win32-release-msvc-0.0.2.zip and libopc-sdk-win32-debug-msvc-0.0.2.zip) and unpack it in LIBOPC_ROOT.
  2. Create a new Visual Studio Solution.
  3. Add %LIBOPC_ROOT%/include to the “Additional Includes Directories” in the Release and Debug configuration: vs_debug_includedirs.jpg vs_release_includedirs.jpg
  4. Set LIBXML_STATIC in the "Preprocessor Definitions" of "All Configurations": vs_defines.jpg
  5. Add %LIBOPC_ROOT%/lib to the „Additional Library Directories” in the Release and Debug configuration: vs_debug_libdir.jpg vs_release_libdir.jpg
  6. Add mce.lib;opc.lib;plib.lib;xml.lib;zlib.lib to the “Additional Dependencies” of "All Configurations": vs_libs.jpg
  7. Start Hacking...

Last edited Jun 13, 2011 at 10:43 AM by flr, version 3

Comments

No comments yet.