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

C / C++ / MFC

 
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 
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 
You only need one of these for cv2
-l/cv2 -l/cv2.so

but as neither is working, try fully qualifying it as a single entry which means use a colon
-l:cv2.so

The reason I think you are having to do that is you have not set GCC command with the -shared cv2.so if you look you have -shared and nothing after it

You have can set the -L directory I don't think the -l command can have directory entries Smile | :)
-L/my/long/directory -lfoo -L/my/other/even/longer/directory -lfoo1

That I believe is how you do library foo & foo1 from different long directories

Edit: I also see above you got the make file sort of working so you must be able to see the actual command lines to the linker.
In vino veritas


modified 14-Nov-16 11:54am.

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 
QuestionGaneric Class Define Pin
bestbear10-Nov-16 19:27
bestbear10-Nov-16 19:27 
AnswerRe: Ganeric Class Define Pin
leon de boer10-Nov-16 20:04
leon de boer10-Nov-16 20:04 
GeneralRe: Ganeric Class Define Pin
bestbear10-Nov-16 20:10
bestbear10-Nov-16 20:10 
GeneralRe: Ganeric Class Define Pin
leon de boer10-Nov-16 20:31
leon de boer10-Nov-16 20:31 
AnswerRe: Ganeric Class Define Pin
Stefan_Lang1-Dec-16 4:55
Stefan_Lang1-Dec-16 4:55 
QuestionSave the image from window buffer Pin
Onic77710-Nov-16 5:26
Onic77710-Nov-16 5:26 

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.