Click here to Skip to main content
15,849,616 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CMake whose "source directory" ? Pin
Vaclav_14-Nov-16 6:10
Vaclav_14-Nov-16 6:10 
AnswerRe: CMake whose "source directory" ? Pin
Albert Holguin15-Nov-16 8:22
professionalAlbert Holguin15-Nov-16 8:22 
GeneralRe: CMake whose "source directory" ? Pin
Vaclav_15-Nov-16 10:27
Vaclav_15-Nov-16 10:27 
AnswerRe: CMake whose "source directory" ? Pin
Vaclav_17-Nov-16 6:11
Vaclav_17-Nov-16 6:11 
QuestionEclipse IDE GCC linker options ? Pin
Vaclav_13-Nov-16 5:40
Vaclav_13-Nov-16 5:40 
AnswerRe: Eclipse IDE GCC linker options ? Pin
NotPolitcallyCorrect13-Nov-16 8:00
NotPolitcallyCorrect13-Nov-16 8:00 
AnswerRe: Eclipse IDE GCC linker options ? Pin
leon de boer13-Nov-16 16:17
leon de boer13-Nov-16 16:17 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Vaclav_13-Nov-16 17:42
Vaclav_13-Nov-16 17:42 
Thanks Leon,
this is my first usage of Eclipse and I am in "GUI" stage so far.
The problem is little too much for me.
First I used install.sh script for OpenCV and added "library search path" (-L) /usr/local/lib.
Than I am suppose to choose the actual library to use via (-l) from pull down box - but there is no pull down , only text box.
After "updating " Eclipse to newest I noticed that when I type in search path /usr/local/lib it ends up as "/usr/local/lib" , but still no pull down box with the libraries. I must be missing some other option.
( I do wish I was better using command line, but I am not ready for it.)

So I added cv2.so under library add (-l) .
Now everything compiles , but linker stops because it cannot find the "cv2.so" - but I can see it in correct directory.


I still think my (-l) syntax is wrong.

I also tryied to link to OpenCV .../build/lib with same results . This "build/lib" was a product of CMake I found with OpenCV.

I think my biggest issue is - I do not understand how does "shared" library works in Elipse and which library search path is correct.
GeneralRe: Eclipse IDE GCC linker options ? Pin
Richard MacCutchan13-Nov-16 22:42
mveRichard MacCutchan13-Nov-16 22:42 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Jochen Arndt13-Nov-16 22:49
professionalJochen Arndt13-Nov-16 22:49 
GeneralRe: Eclipse IDE GCC linker options ? Pin
leon de boer13-Nov-16 23:35
leon de boer13-Nov-16 23:35 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Vaclav_14-Nov-16 5:31
Vaclav_14-Nov-16 5:31 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Vaclav_14-Nov-16 6:08
Vaclav_14-Nov-16 6:08 
GeneralRe: Eclipse IDE GCC linker options ? Pin
leon de boer14-Nov-16 6:40
leon de boer14-Nov-16 6:40 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Vaclav_14-Nov-16 8:24
Vaclav_14-Nov-16 8:24 
GeneralRe: Eclipse IDE GCC linker options ? Pin
leon de boer14-Nov-16 15:43
leon de boer14-Nov-16 15:43 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Richard MacCutchan14-Nov-16 7:01
mveRichard MacCutchan14-Nov-16 7:01 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Jochen Arndt14-Nov-16 11:33
professionalJochen Arndt14-Nov-16 11:33 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Vaclav_14-Nov-16 14:16
Vaclav_14-Nov-16 14:16 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Richard MacCutchan14-Nov-16 21:55
mveRichard MacCutchan14-Nov-16 21:55 
QuestionNeed Help in writing a Windows device driver Pin
C++myLife11-Nov-16 2:37
C++myLife11-Nov-16 2:37 
AnswerRe: Need Help in writing a Windows device driver Pin
Jochen Arndt11-Nov-16 3:17
professionalJochen Arndt11-Nov-16 3:17 
AnswerRe: Need Help in writing a Windows device driver Pin
Eddy Vluggen11-Nov-16 3:34
professionalEddy Vluggen11-Nov-16 3:34 
GeneralRe: Need Help in writing a Windows device driver Pin
C++myLife14-Nov-16 1:23
C++myLife14-Nov-16 1:23 
GeneralRe: Need Help in writing a Windows device driver Pin
Eddy Vluggen14-Nov-16 4:49
professionalEddy Vluggen14-Nov-16 4:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.