Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Jochen Arndt13-Nov-16 21:49
professionalJochen Arndt13-Nov-16 21:49 
GeneralRe: Eclipse IDE GCC linker options ? Pin
leon de boer13-Nov-16 22:35
leon de boer13-Nov-16 22:35 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Vaclav_14-Nov-16 4:31
Vaclav_14-Nov-16 4:31 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Vaclav_14-Nov-16 5:08
Vaclav_14-Nov-16 5:08 
GeneralRe: Eclipse IDE GCC linker options ? Pin
leon de boer14-Nov-16 5:40
leon de boer14-Nov-16 5:40 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Vaclav_14-Nov-16 7:24
Vaclav_14-Nov-16 7:24 
GeneralRe: Eclipse IDE GCC linker options ? Pin
leon de boer14-Nov-16 14:43
leon de boer14-Nov-16 14:43 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Richard MacCutchan14-Nov-16 6:01
mveRichard MacCutchan14-Nov-16 6:01 
ld is the linker which collects all the object modules and libraries, and combines them into a new library, or an executable program. The library options to the linker are as follows:
-L followed by a directory path, adds that directory to the list of locations to be searched for any additional libraries.
-l add the undecorated library name to the list of libraries required by the object code. Note that libraries are commonly held in files which are named liblibraryname.suffix, where suffix is .a or .so. However the name specified on the option line should just be libraryname, i.e. no preceing lib and no suffix. And no directory paths.

So the options you should be using for /media/jim/OpenCL/OpenCV/build/lib/libopencv_flann_pch_dephelp.a should be something like:
-L/media/jim/OpenCL/OpenCV/build/lib
-lopencv_flann_pch_dephelp

And it would really make your questions easier to read if you would use <pre> tags as requested many times.
GeneralRe: Eclipse IDE GCC linker options ? Pin
Jochen Arndt14-Nov-16 10:33
professionalJochen Arndt14-Nov-16 10:33 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Vaclav_14-Nov-16 13:16
Vaclav_14-Nov-16 13:16 
GeneralRe: Eclipse IDE GCC linker options ? Pin
Richard MacCutchan14-Nov-16 20:55
mveRichard MacCutchan14-Nov-16 20:55 
QuestionNeed Help in writing a Windows device driver Pin
C++myLife11-Nov-16 1:37
C++myLife11-Nov-16 1:37 
AnswerRe: Need Help in writing a Windows device driver Pin
Jochen Arndt11-Nov-16 2:17
professionalJochen Arndt11-Nov-16 2:17 
AnswerRe: Need Help in writing a Windows device driver Pin
Eddy Vluggen11-Nov-16 2:34
professionalEddy Vluggen11-Nov-16 2:34 
GeneralRe: Need Help in writing a Windows device driver Pin
C++myLife14-Nov-16 0:23
C++myLife14-Nov-16 0:23 
GeneralRe: Need Help in writing a Windows device driver Pin
Eddy Vluggen14-Nov-16 3:49
professionalEddy Vluggen14-Nov-16 3:49 
QuestionGaneric Class Define Pin
bestbear10-Nov-16 18:27
bestbear10-Nov-16 18:27 
AnswerRe: Ganeric Class Define Pin
leon de boer10-Nov-16 19:04
leon de boer10-Nov-16 19:04 
GeneralRe: Ganeric Class Define Pin
bestbear10-Nov-16 19:10
bestbear10-Nov-16 19:10 
GeneralRe: Ganeric Class Define Pin
leon de boer10-Nov-16 19:31
leon de boer10-Nov-16 19:31 
AnswerRe: Ganeric Class Define Pin
Stefan_Lang1-Dec-16 3:55
Stefan_Lang1-Dec-16 3:55 
QuestionSave the image from window buffer Pin
Onic77710-Nov-16 4:26
Onic77710-Nov-16 4:26 
AnswerRe: Save the image from window buffer Pin
leon de boer10-Nov-16 16:10
leon de boer10-Nov-16 16:10 
QuestionERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
ForNow10-Nov-16 2:41
ForNow10-Nov-16 2:41 
AnswerRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
Chris Losinger10-Nov-16 3:07
professionalChris Losinger10-Nov-16 3:07 

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.