Click here to Skip to main content
14,971,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: terminology refresher class ?? Pin
Member 1496877129-May-21 5:42
MemberMember 1496877129-May-21 5:42 
GeneralRe: terminology refresher class ?? Pin
Richard MacCutchan29-May-21 5:53
mveRichard MacCutchan29-May-21 5:53 
AnswerRe: terminology refresher class ?? Pin
Richard MacCutchan27-May-21 21:26
mveRichard MacCutchan27-May-21 21:26 
GeneralRe: terminology refresher class ?? Pin
Member 1496877128-May-21 5:32
MemberMember 1496877128-May-21 5:32 
GeneralRe: terminology refresher class ?? Pin
Richard MacCutchan28-May-21 5:47
mveRichard MacCutchan28-May-21 5:47 
QuestionHow to find include directive path? Pin
Member 1496877126-May-21 15:22
MemberMember 1496877126-May-21 15:22 
AnswerRe: How to find include directive path? Pin
Richard MacCutchan26-May-21 21:11
mveRichard MacCutchan26-May-21 21:11 
GeneralRe: How to find include directive path? Pin
Member 1496877127-May-21 11:29
MemberMember 1496877127-May-21 11:29 
I am using Linux and QtCreator (IDE?)
One of the "features" of QTCreator is to manage several applications - they call it "projects" .
These projects are independent from each other, they only appear together in SUBDIRS tree.
Sort of nice management tool.

I can build a library using QtCreator and "add it " to the project. Works as expected.

I can add a standard Qt project to my SUBDIRS tree and change plain .cpp project to static library. No problem there.

I can make a reference - using #include - to the library, same as I did when "including" the real library.

The compiler "access" the library file - no issue.
The problem is - the library include file has / contains a slew of another includes and compiler fails to find the first one and build process is finished...

In my interpretation
since when I build the library and there is no issue with the includes
my usage of the library "Includes" is on different level - hence I am missing another
include directive.

The directive should be in my source code , not in the library.

I prefer to solve this in C code , but I do have an option to add it to "make".

"Make" has sort of "includes" added by building the library, but they are for linker.
GeneralRe: How to find include directive path? Pin
Richard MacCutchan27-May-21 21:13
mveRichard MacCutchan27-May-21 21:13 
GeneralRe: How to find include directive path? Pin
Member 1496877128-May-21 5:42
MemberMember 1496877128-May-21 5:42 
GeneralRe: How to find include directive path? Pin
Richard MacCutchan28-May-21 5:49
mveRichard MacCutchan28-May-21 5:49 
GeneralRe: How to find include directive path? Pin
Member 1496877128-May-21 6:13
MemberMember 1496877128-May-21 6:13 
GeneralRe: How to find include directive path? Pin
Richard MacCutchan28-May-21 6:37
mveRichard MacCutchan28-May-21 6:37 
GeneralRe: How to find include directive path? Pin
Member 1496877128-May-21 7:20
MemberMember 1496877128-May-21 7:20 
GeneralRe: How to find include directive path? Pin
Richard MacCutchan28-May-21 21:04
mveRichard MacCutchan28-May-21 21:04 
AnswerRe: How to find include directive path? Pin
Member 1496877128-May-21 8:19
MemberMember 1496877128-May-21 8:19 
Questionc+ + coding Pin
javaid musa24-May-21 18:17
Memberjavaid musa24-May-21 18:17 
AnswerRe: c+ + coding Pin
CPallini24-May-21 20:00
mveCPallini24-May-21 20:00 
QuestionOptimizing this code ? Pin
Duc Axenn24-May-21 0:56
MemberDuc Axenn24-May-21 0:56 
SuggestionRe: Optimizing this code ? Pin
Richard MacCutchan24-May-21 0:02
mveRichard MacCutchan24-May-21 0:02 
GeneralRe: Optimizing this code ? Pin
Duc Axenn24-May-21 0:56
MemberDuc Axenn24-May-21 0:56 
SuggestionRe: Optimizing this code ? Pin
Randor 24-May-21 2:30
professional Randor 24-May-21 2:30 
GeneralRe: Optimizing this code ? Pin
Duc Axenn24-May-21 4:21
MemberDuc Axenn24-May-21 4:21 
GeneralRe: Optimizing this code ? Pin
Duc Axenn24-May-21 8:36
MemberDuc Axenn24-May-21 8:36 
GeneralRe: Optimizing this code ? Pin
Randor 24-May-21 14:30
professional Randor 24-May-21 14:30 

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.