SlickEdit Community

General => General Programming => Topic started by: zh920307 on August 06, 2014, 02:22:41 pm

Title: how to configure opencv in Slickedit?
Post by: zh920307 on August 06, 2014, 02:22:41 pm
Hi! Everyone!
I need to use opencv library, and I know how to configure it in eclipse, but I don't know how to configure it in Slickedit. Can everyone help me?

In Eclipse, I configure opencv like that:
    create an project, than setting follows:
    Project->Properties->C/C++ Build->Settings
        in GCC C++ Compiler->includes, add /usr/local/include/opencv/
        in GCC C++ Linker->Libraries
            add /usr/local/lib in Library search path
            add opencv_core; opencv_imgproc; opencv_highgui; opencv_ml; opencv_video; opencv_features2d; opencv_calib3d; opencv_objdetect; opencv_contrib; opencv_legacy; opencv_flann in Libraries

Just like that, Can someone help me configure it in Slickedit? Thank you very much!
Title: Re: how to configure opencv in Slickedit?
Post by: hs2 on August 06, 2014, 06:41:06 pm
@zh920307 Did you already check the docs and didn't get it right ? What's your problem exactly ?
HS2

PS: When asking questions it's good to tell SE version, installed hotfixes, OS platform etc. (see Help>About: copy)
Title: Re: how to configure opencv in Slickedit?
Post by: zh920307 on August 07, 2014, 01:23:20 am
I'm sorry. My OS is CentOS7 x86_64, my slickedit version is se2013. I didn't install any patches(I downloaded it from slickedit‘s website yesterday)
Because in my project, I need to use opencv library. I want to know how to add this lib to my project.
Title: Re: how to configure opencv in Slickedit?
Post by: zh920307 on August 07, 2014, 11:56:11 am
Oh! I know how to configure it!
It is different from eclipse, in slickedit, I don't need to add "library search path" to the project, in "Library / Object" field, I add the *.so, and it contains the library path!
Thank you for your reponse!
Title: Re: how to configure opencv in Slickedit?
Post by: hs2 on August 07, 2014, 05:53:44 pm
Good that you solved it yourself :) Didn't had the time to go into details...
HS2