Building ACI outside of OpenCPI project

CH
Chris Hinkey
Fri, Dec 6, 2019 10:14 PM

I am looking at section 7.6 (Building ACI Programs) of the OpenCPI
Application Development Guide. I am trying to just take a look at the
variables that ocpisetup.mk is supposed to setup.

include $(OCPI_CDK_DIR)/include/ocpisetup.mk
$(info OCPI_LIB_DIR: $(OCPI_LIB_DIR))
$(info OCPI_EXPORT_DYNAMIC: $(OCPI_EXPORT_DYNAMIC))
$(info OCPI_INC_DIR: $(OCPI_INC_DIR))
$(info OCPI_PREREQUISITE_LIBS: $$(OCPI_PREREQUISITE_LIBS))

all:
@echo "this is a test makefile"

I get all blank variables back.  Does this method of building with the ACI
in the document not work ?

I am looking at section 7.6 (Building ACI Programs) of the OpenCPI Application Development Guide. I am trying to just take a look at the variables that ocpisetup.mk is supposed to setup. include $(OCPI_CDK_DIR)/include/ocpisetup.mk $(info OCPI_LIB_DIR: $(OCPI_LIB_DIR)) $(info OCPI_EXPORT_DYNAMIC: $(OCPI_EXPORT_DYNAMIC)) $(info OCPI_INC_DIR: $(OCPI_INC_DIR)) $(info OCPI_PREREQUISITE_LIBS: $$(OCPI_PREREQUISITE_LIBS)) all: @echo "this is a test makefile" I get all blank variables back. Does this method of building with the ACI in the document not work ?
JK
James Kulp
Fri, Dec 6, 2019 10:20 PM

Release 1.5?

On 12/6/19 5:14 PM, Chris Hinkey wrote:

I am looking at section 7.6 (Building ACI Programs) of the OpenCPI
Application Development Guide. I am trying to just take a look at the
variables that ocpisetup.mk is supposed to setup.

include $(OCPI_CDK_DIR)/include/ocpisetup.mk
$(info OCPI_LIB_DIR: $(OCPI_LIB_DIR))
$(info OCPI_EXPORT_DYNAMIC: $(OCPI_EXPORT_DYNAMIC))
$(info OCPI_INC_DIR: $(OCPI_INC_DIR))
$(info OCPI_PREREQUISITE_LIBS: $$(OCPI_PREREQUISITE_LIBS))

all:
@echo "this is a test makefile"

I get all blank variables back.  Does this method of building with the ACI
in the document not work ?

Release 1.5? On 12/6/19 5:14 PM, Chris Hinkey wrote: > I am looking at section 7.6 (Building ACI Programs) of the OpenCPI > Application Development Guide. I am trying to just take a look at the > variables that ocpisetup.mk is supposed to setup. > > include $(OCPI_CDK_DIR)/include/ocpisetup.mk > $(info OCPI_LIB_DIR: $(OCPI_LIB_DIR)) > $(info OCPI_EXPORT_DYNAMIC: $(OCPI_EXPORT_DYNAMIC)) > $(info OCPI_INC_DIR: $(OCPI_INC_DIR)) > $(info OCPI_PREREQUISITE_LIBS: $$(OCPI_PREREQUISITE_LIBS)) > > all: > @echo "this is a test makefile" > > I get all blank variables back. Does this method of building with the ACI > in the document not work ? >
CH
Chris Hinkey
Fri, Dec 6, 2019 10:25 PM

I am off a branch of 1.5 with some major Makefile edits but I do get the
same functionality on a clean 1.5 clone.

On Fri, Dec 6, 2019 at 5:21 PM James Kulp jek@parera.com wrote:

Release 1.5?

On 12/6/19 5:14 PM, Chris Hinkey wrote:

I am looking at section 7.6 (Building ACI Programs) of the OpenCPI
Application Development Guide. I am trying to just take a look at the
variables that ocpisetup.mk is supposed to setup.

include $(OCPI_CDK_DIR)/include/ocpisetup.mk
$(info OCPI_LIB_DIR: $(OCPI_LIB_DIR))
$(info OCPI_EXPORT_DYNAMIC: $(OCPI_EXPORT_DYNAMIC))
$(info OCPI_INC_DIR: $(OCPI_INC_DIR))
$(info OCPI_PREREQUISITE_LIBS: $$(OCPI_PREREQUISITE_LIBS))

all:
@echo "this is a test makefile"

I get all blank variables back.  Does this method of building with the
ACI
in the document not work ?

I am off a branch of 1.5 with some major Makefile edits but I do get the same functionality on a clean 1.5 clone. On Fri, Dec 6, 2019 at 5:21 PM James Kulp <jek@parera.com> wrote: > Release 1.5? > > On 12/6/19 5:14 PM, Chris Hinkey wrote: > > I am looking at section 7.6 (Building ACI Programs) of the OpenCPI > > Application Development Guide. I am trying to just take a look at the > > variables that ocpisetup.mk is supposed to setup. > > > > include $(OCPI_CDK_DIR)/include/ocpisetup.mk > > $(info OCPI_LIB_DIR: $(OCPI_LIB_DIR)) > > $(info OCPI_EXPORT_DYNAMIC: $(OCPI_EXPORT_DYNAMIC)) > > $(info OCPI_INC_DIR: $(OCPI_INC_DIR)) > > $(info OCPI_PREREQUISITE_LIBS: $$(OCPI_PREREQUISITE_LIBS)) > > > > all: > > @echo "this is a test makefile" > > > > I get all blank variables back. Does this method of building with the > ACI > > in the document not work ? > >
JK
James Kulp
Fri, Dec 6, 2019 11:33 PM
An HTML attachment was scrubbed... URL: <http://lists.opencpi.org/pipermail/discuss_lists.opencpi.org/attachments/20191206/5cd11f80/attachment.html>