Setting OpenCV environmental variables for Eclipse in linux

  • After installing the CDT Plugin, you can use opencv in eclipse provided that you set the following variables:
  • Open Project Properties
  • Choose Settings
    • In GCC C++ Compiler – in include: enter: /usr/local/include/opencv
    • In GCC C++ Linker
      • in Miscellaneous – Linker Flags: enter: -lcxcore -lcv -lhighgui -lcvaux -lml
      • in Libraries:/usr/local/lib


Originally Posted By Laila Hussein to Thoughts & Tips at 5/01/2008 01:23:00 PM

Advertisements

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: