Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Linking libraries - follow-up- gcc++ won't link Pin
Richard MacCutchan28-Jan-20 5:04
mveRichard MacCutchan28-Jan-20 5:04 
AnswerRe: Linking libraries - follow-up- gcc++ won't link Pin
k505428-Jan-20 5:08
mvek505428-Jan-20 5:08 
AnswerRe: Linking libraries - follow-up- gcc++ won't link Pin
CPallini28-Jan-20 5:13
mveCPallini28-Jan-20 5:13 
GeneralRe: Linking libraries - follow-up- gcc++ won't link Pin
k505428-Jan-20 6:47
mvek505428-Jan-20 6:47 
GeneralRe: Linking libraries - follow-up- gcc++ won't link Pin
CPallini28-Jan-20 9:52
mveCPallini28-Jan-20 9:52 
AnswerRe: Linking libraries - follow-up- gcc++ won't link Pin
Vaclav_28-Jan-20 7:07
Vaclav_28-Jan-20 7:07 
GeneralRe: Linking libraries - follow-up- gcc++ won't link Pin
Richard MacCutchan28-Jan-20 9:22
mveRichard MacCutchan28-Jan-20 9:22 
AnswerSOLVED (?) Re: Linking libraries - follow-up- gcc++ won't link Pin
Vaclav_29-Jan-20 4:00
Vaclav_29-Jan-20 4:00 
Post-mortem FYI
SOLVED(?)
1.Both projects ( IDE terminology) works as expected.
NOT REALLY SURE WHY.
2.The “mother” executable - project has -lbluetooth -lRPI_BT_LIB, but ONLY
-L "${workspace_loc:/RPI_BT_LIB/Debug}" optioned.
3. There are NO references / options to “bluetooth” in RPI_BT_LIB, only source includes.
3. Adding “bluetooth” as per this ( no -l or -L !)
other
An object file to be fed straight into linking. Any file name with no recognized suffix is treated this way.
Creates “cannot find ...” error
4. Adding “/usr/…/bluetooth” creates “ did not link ...” error but has no effect on processing.
(It was pointed out that GCC was not optioned to link )
5. running “make clear” idefinites full library file name - “libRPI_RT_LIB.a”
6. Using “standard IDE” ( I am calling IDE UI form "standard" ) to build type .a library gives NO linking options, however building .so gives ALL options.
7. Using “standard IDE form” to build a project – executable or library – creates “system” default includes.
NOT sure if they are used only for source or linking libraries.

As far as I can tell this whole mess was because I could not tell if I was using
wrong GCC options
or
wrong syntax

It was NEVER about (-l / -L ).


The unanswered question remains - how does the RPI_BT_LIB library manages to use "bluetooth" library.
GeneralRe: SOLVED (?) Re: Linking libraries - follow-up- gcc++ won't link Pin
Richard MacCutchan29-Jan-20 4:16
mveRichard MacCutchan29-Jan-20 4:16 
QuestionReverse engineering GCC output - need library file (name) and path. Pin
Vaclav_27-Jan-20 5:34
Vaclav_27-Jan-20 5:34 
AnswerRe: Reverse engineering GCC output - need library file (name) and path. Pin
Gerry Schmitz27-Jan-20 5:55
mveGerry Schmitz27-Jan-20 5:55 
GeneralRe: Reverse engineering GCC output - need library file (name) and path. Pin
Vaclav_28-Jan-20 2:44
Vaclav_28-Jan-20 2:44 
AnswerRe: Reverse engineering GCC output - need library file (name) and path. Pin
Richard MacCutchan27-Jan-20 6:09
mveRichard MacCutchan27-Jan-20 6:09 
AnswerRe: Reverse engineering GCC output - need library file (name) and path. Pin
k505427-Jan-20 6:24
mvek505427-Jan-20 6:24 
GeneralRe: Reverse engineering GCC output - need library file (name) and path. Pin
Vaclav_27-Jan-20 7:00
Vaclav_27-Jan-20 7:00 
AnswerRe: Reverse engineering GCC output - need library file (name) and path. Pin
leon de boer27-Jan-20 22:28
leon de boer27-Jan-20 22:28 
GeneralRe: Reverse engineering GCC output - need library file (name) and path. Pin
Vaclav_28-Jan-20 2:45
Vaclav_28-Jan-20 2:45 
QuestionDPI aware, I am confused Pin
Erich Jarz23-Jan-20 7:25
Erich Jarz23-Jan-20 7:25 
AnswerRe: DPI aware, I am confused Pin
Gerry Schmitz23-Jan-20 7:37
mveGerry Schmitz23-Jan-20 7:37 
GeneralRe: DPI aware, I am confused Pin
Erich Jarz23-Jan-20 8:27
Erich Jarz23-Jan-20 8:27 
GeneralRe: DPI aware, I am confused Pin
leon de boer24-Jan-20 7:05
leon de boer24-Jan-20 7:05 
GeneralRe: DPI aware, I am confused Pin
Erich Jarz24-Jan-20 7:42
Erich Jarz24-Jan-20 7:42 
GeneralRe: DPI aware, I am confused Pin
leon de boer24-Jan-20 19:41
leon de boer24-Jan-20 19:41 
GeneralRe: DPI aware, I am confused Pin
Erich Jarz26-Jan-20 20:22
Erich Jarz26-Jan-20 20:22 
GeneralRe: DPI aware, I am confused Pin
Gerry Schmitz24-Jan-20 8:27
mveGerry Schmitz24-Jan-20 8:27 

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.