how to "include" this...
-
I have "include" (cloned) a full project from "github". It is missing ONE header file, hence ,it won't compile. I have found another resource which contains the missing file. This resource appears to be a "stand alone" header and it does not give much explanation how to use it. I am asking for suggestion how to "merge" these resources, basically how to change the working clone "dbus/files" to "stand alone " "dbus/files" Simple include both does not work Here is my current setup UNDER construction
this contains the missing header BUT NO OTHER CODE !
INCLUDEPATH += "/home/nov25-1/Downloads/nobus-master/include/dbus-1.0/dbus"temp removed contains usable code, but missing ONE header file
INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/simplebluez/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/simpledbus/advanced/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simpledbus/include/"
///usr/include/core/dbus/dbus.h
#INCLUDEPATH += "/usr/include/"
#INCLUDEPATH += "/usr/include/dbus-1.0/"links to first dbus.h "missing" file
#INCLUDEPATH += "/usr/lib64/dbus-1.0/include/"
#INCLUDEPATH += "/home/nov25-1/Downloads/nobus-master/include/dbus-1.0/dbus"
INCLUDEPATH += "/mnt/A_BT_DEC10/BT__PROGRAMS/A_JAN11 _FEB26/A_BT_LIBRARY/CCC_SOURCE/BT_no_bus/nobus-master/include/dbus-1.0"
#//dding -I/usr/lib64/dbus-1.0/include/ in c
#include
INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simpledbus/include/"
INCLUDE_DIRECTORIES("../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/simplebluez")
#INCLUDEPATH = c:/msdev/include d:/stl/includePS. If it is unclear what I am asking for please ask for clarification.
-
I have "include" (cloned) a full project from "github". It is missing ONE header file, hence ,it won't compile. I have found another resource which contains the missing file. This resource appears to be a "stand alone" header and it does not give much explanation how to use it. I am asking for suggestion how to "merge" these resources, basically how to change the working clone "dbus/files" to "stand alone " "dbus/files" Simple include both does not work Here is my current setup UNDER construction
this contains the missing header BUT NO OTHER CODE !
INCLUDEPATH += "/home/nov25-1/Downloads/nobus-master/include/dbus-1.0/dbus"temp removed contains usable code, but missing ONE header file
INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/simplebluez/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/simpledbus/advanced/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simpledbus/include/"
///usr/include/core/dbus/dbus.h
#INCLUDEPATH += "/usr/include/"
#INCLUDEPATH += "/usr/include/dbus-1.0/"links to first dbus.h "missing" file
#INCLUDEPATH += "/usr/lib64/dbus-1.0/include/"
#INCLUDEPATH += "/home/nov25-1/Downloads/nobus-master/include/dbus-1.0/dbus"
INCLUDEPATH += "/mnt/A_BT_DEC10/BT__PROGRAMS/A_JAN11 _FEB26/A_BT_LIBRARY/CCC_SOURCE/BT_no_bus/nobus-master/include/dbus-1.0"
#//dding -I/usr/lib64/dbus-1.0/include/ in c
#include
INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simpledbus/include/"
INCLUDE_DIRECTORIES("../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/simplebluez")
#INCLUDEPATH = c:/msdev/include d:/stl/includePS. If it is unclear what I am asking for please ask for clarification.
You can add any header files to your project repository, or in another location using the
INCLUDEPATH
variable as you have shown. But I am not sure what you mean by "a "stand alone" header", so yes, your question is not clear. Maybe if you showed the relevant code plus any error messages, it will become clearer. -
I have "include" (cloned) a full project from "github". It is missing ONE header file, hence ,it won't compile. I have found another resource which contains the missing file. This resource appears to be a "stand alone" header and it does not give much explanation how to use it. I am asking for suggestion how to "merge" these resources, basically how to change the working clone "dbus/files" to "stand alone " "dbus/files" Simple include both does not work Here is my current setup UNDER construction
this contains the missing header BUT NO OTHER CODE !
INCLUDEPATH += "/home/nov25-1/Downloads/nobus-master/include/dbus-1.0/dbus"temp removed contains usable code, but missing ONE header file
INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/simplebluez/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/simpledbus/advanced/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simpledbus/include/"
///usr/include/core/dbus/dbus.h
#INCLUDEPATH += "/usr/include/"
#INCLUDEPATH += "/usr/include/dbus-1.0/"links to first dbus.h "missing" file
#INCLUDEPATH += "/usr/lib64/dbus-1.0/include/"
#INCLUDEPATH += "/home/nov25-1/Downloads/nobus-master/include/dbus-1.0/dbus"
INCLUDEPATH += "/mnt/A_BT_DEC10/BT__PROGRAMS/A_JAN11 _FEB26/A_BT_LIBRARY/CCC_SOURCE/BT_no_bus/nobus-master/include/dbus-1.0"
#//dding -I/usr/lib64/dbus-1.0/include/ in c
#include
INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simpledbus/include/"
INCLUDE_DIRECTORIES("../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/simplebluez")
#INCLUDEPATH = c:/msdev/include d:/stl/includePS. If it is unclear what I am asking for please ask for clarification.
Salvatore Terress wrote:
I have "include" (cloned) a full project from "github"
Presumably you mean a single repo.
Salvatore Terress wrote:
how to "merge" these resources,
Repo A has the code. Repo B has the include file. Copy the file from B and put it into A. You do nothing at all with B after that. Modify whatever you need to in A so the include file, in A, is used correctly. Compile and test A.
-
Salvatore Terress wrote:
I have "include" (cloned) a full project from "github"
Presumably you mean a single repo.
Salvatore Terress wrote:
how to "merge" these resources,
Repo A has the code. Repo B has the include file. Copy the file from B and put it into A. You do nothing at all with B after that. Modify whatever you need to in A so the include file, in A, is used correctly. Compile and test A.
-
I have "include" (cloned) a full project from "github". It is missing ONE header file, hence ,it won't compile. I have found another resource which contains the missing file. This resource appears to be a "stand alone" header and it does not give much explanation how to use it. I am asking for suggestion how to "merge" these resources, basically how to change the working clone "dbus/files" to "stand alone " "dbus/files" Simple include both does not work Here is my current setup UNDER construction
this contains the missing header BUT NO OTHER CODE !
INCLUDEPATH += "/home/nov25-1/Downloads/nobus-master/include/dbus-1.0/dbus"temp removed contains usable code, but missing ONE header file
INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/simplebluez/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/simpledbus/advanced/"
#INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simpledbus/include/"
///usr/include/core/dbus/dbus.h
#INCLUDEPATH += "/usr/include/"
#INCLUDEPATH += "/usr/include/dbus-1.0/"links to first dbus.h "missing" file
#INCLUDEPATH += "/usr/lib64/dbus-1.0/include/"
#INCLUDEPATH += "/home/nov25-1/Downloads/nobus-master/include/dbus-1.0/dbus"
INCLUDEPATH += "/mnt/A_BT_DEC10/BT__PROGRAMS/A_JAN11 _FEB26/A_BT_LIBRARY/CCC_SOURCE/BT_no_bus/nobus-master/include/dbus-1.0"
#//dding -I/usr/lib64/dbus-1.0/include/ in c
#include
INCLUDEPATH += "../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simpledbus/include/"
INCLUDE_DIRECTORIES("../../A_BT_LIBRARY/SimpleBluetooth/SimpleBLE-main/simplebluez/include/simplebluez")
#INCLUDEPATH = c:/msdev/include d:/stl/includePS. If it is unclear what I am asking for please ask for clarification.
which github ?
CI/CD = Continuous Impediment/Continuous Despair
-
which github ?
CI/CD = Continuous Impediment/Continuous Despair
A SimpleBluetooth - full code B nodbus dbus header only both have dbus as a "wrapper' folder. I am busy trying to keep the separate but in my own directory stricture. So I have not actually compare the real headers. I won't be surprised if the foundation is "bluez library. There are too many "clones" of this undocumented source... seems a waste of talent to keep reinventing " bluez"...
-
That is what I thought would work... I may have to change A to be read / write... I'll let you know the outcome... Thanks