Click here to Skip to main content
14,664,588 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: compiler "unresolved inclusion" is not an error ? Pin
k505418-Jul-20 7:44
mvek505418-Jul-20 7:44 
GeneralRe: compiler "unresolved inclusion" is not an error ? Pin
Vaclav_18-Jul-20 7:55
MemberVaclav_18-Jul-20 7:55 
GeneralPutting pkg-config as options generates this error Pin
Vaclav_18-Jul-20 16:39
MemberVaclav_18-Jul-20 16:39 
GeneralRe: Putting pkg-config as options generates this error Pin
leon de boer21-Jul-20 19:22
Memberleon de boer21-Jul-20 19:22 
GeneralRe: compiler "unresolved inclusion" is not an error ? Pin
Richard MacCutchan18-Jul-20 22:06
mveRichard MacCutchan18-Jul-20 22:06 
Question[SOLVED CLOSED] See addendum GCC ` backtick` CLI - what does it actually do ? Pin
Vaclav_16-Jul-20 14:30
MemberVaclav_16-Jul-20 14:30 
AnswerRe: GCC ` backtick` CLI - what does it actually do ? Pin
Peter_in_278016-Jul-20 15:44
professionalPeter_in_278016-Jul-20 15:44 
GeneralRe: GCC ` backtick` CLI - what does it actually do ? Pin
Vaclav_16-Jul-20 15:57
MemberVaclav_16-Jul-20 15:57 
Thanks, but I know what is does - look at all the -I in the attached file. I think g++ also needs -l - libraries or library - for GTK.
But I am not sure how to do it if I need more.
Can I use similar method
as pkg-config to get -l /-L ?

Addendum

Did some research and found this

z@z-desktopUnsure | :~ $ pkg-config --libs gtk+-3.0
-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0

That is what is needed.

However adding another backtick string `pkg-config --libs gtk+-3.0` did not produced expected libraries.

Will do some experimentation with that - it should work.

More edit

If I add
`pkg-config --libs gtk+-3.0` to linker options I get about 20 additional -l libraries in output.

However I still get "undefined reference " error.
Later...

modified 16-Jul-20 22:43pm.

GeneralRe: GCC ` backtick` CLI - what does it actually do ? Pin
k505417-Jul-20 3:53
mvek505417-Jul-20 3:53 
GeneralRe: GCC ` backtick` CLI - what does it actually do ? Pin
Vaclav_17-Jul-20 4:55
MemberVaclav_17-Jul-20 4:55 
GeneralRe: GCC ` backtick` CLI - what does it actually do ? Pin
Vaclav_17-Jul-20 5:19
MemberVaclav_17-Jul-20 5:19 
GeneralRe: GCC ` backtick` CLI - what does it actually do ? Pin
k505417-Jul-20 5:38
mvek505417-Jul-20 5:38 
GeneralRe: GCC ` backtick` CLI - what does it actually do ? Pin
Vaclav_17-Jul-20 6:05
MemberVaclav_17-Jul-20 6:05 
GeneralRe: GCC ` backtick` CLI - what does it actually do ? Pin
Richard MacCutchan17-Jul-20 6:19
mveRichard MacCutchan17-Jul-20 6:19 
GeneralRe: GCC ` backtick` CLI - what does it actually do ? Pin
k505417-Jul-20 6:57
mvek505417-Jul-20 6:57 
GeneralUndefined reference GTK issue was Re: GCC ` backtick` CLI - what does it actually do ? Pin
Vaclav_17-Jul-20 7:35
MemberVaclav_17-Jul-20 7:35 
GeneralRe: GCC ` backtick` CLI - what does it actually do ? Pin
Richard MacCutchan17-Jul-20 21:54
mveRichard MacCutchan17-Jul-20 21:54 
QuestionDevelop VC++ for IPad Pin
_Flaviu15-Jul-20 7:01
Member_Flaviu15-Jul-20 7:01 
AnswerRe: Develop VC++ for IPad Pin
Richard MacCutchan15-Jul-20 22:56
mveRichard MacCutchan15-Jul-20 22:56 
GeneralRe: Develop VC++ for IPad Pin
_Flaviu16-Jul-20 0:56
Member_Flaviu16-Jul-20 0:56 
GeneralRe: Develop VC++ for IPad Pin
Richard MacCutchan16-Jul-20 1:37
mveRichard MacCutchan16-Jul-20 1:37 
QuestionFFMPEG encrypt & decrypt Video offline Pin
DARA ALAVI13-Jul-20 21:50
MemberDARA ALAVI13-Jul-20 21:50 
AnswerRe: FFMPEG encrypt & decrypt Video offline Pin
Victor Nijegorodov13-Jul-20 21:55
MemberVictor Nijegorodov13-Jul-20 21:55 
GeneralRe: FFMPEG encrypt & decrypt Video offline Pin
DARA ALAVI13-Jul-20 22:09
MemberDARA ALAVI13-Jul-20 22:09 
GeneralRe: FFMPEG encrypt & decrypt Video offline Pin
Victor Nijegorodov13-Jul-20 22:23
MemberVictor Nijegorodov13-Jul-20 22:23 

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.