Code Monkey home page Code Monkey logo

Comments (3)

maartenweyn avatar maartenweyn commented on August 10, 2024

Framework_defs.h is created by cmake based on your cmake options. did you execute cmake?

For more info: http://mosaic-lopow.github.io/dash7-ap-open-source-stack/doxygen/md_gettingstarted.html

Regards

Maarten

From: d7ab [mailto:[email protected]]
Sent: Saturday, October 1, 2016 22:39
To: MOSAIC-LoPoW/dash7-ap-open-source-stack [email protected]
Subject: [MOSAIC-LoPoW/dash7-ap-open-source-stack] debug.h uses framework_defs.h which cannot be found (#46)

Hi,

I'm trying to compile d7ap_test in Simplicity Studio and getting errors relating to missing file framework_defs.h included form debug.h. I couldn't fine that file anywhere in your repo. Am I missing something?

Thanks.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/46, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFYmjfzu6-UAxhcOU1wxiBEhr893lJRqks5qvsTJgaJpZM4KL21z.

from sub-iot-stack.

d7ab avatar d7ab commented on August 10, 2024

Thanks. I'm new to these tools, sorry if my questions sounds silly.

Do you know how to cmake dependencies in Simplicity Studio as part of a bigger project?

If you can supply Simplicity Studio project where I can just build d7ap_test - would be great.

I'm on MAC OSX and SS has it's internal toolchain. Not sure how to use/expose it for external making...

from sub-iot-stack.

glennergeerts avatar glennergeerts commented on August 10, 2024

cmake can generate an Eclipse project (which you can also use in Simplicity Studio) for you by specifiying the correct generator using the -G "Eclipse CDT4 - Unix Makefile" option. After running cmake with this option you should be able to import the project by pointing to the build dir.
You can use the toolchain which comes with Simplicity Studio by either specifying the path with -DTOOLCHAIN_DIR=<path> or adding it to your PATH env var.
The getting started guide shows how to build d7ap_test http://mosaic-lopow.github.io/dash7-ap-open-source-stack/doxygen/md_gettingstarted.html .

With regard to integrating in a bigger Simplicity Studio project: i personally don't have experience with this. What we typically do is use cmake or Makefiles to build the project and call the oss7 cmake scripts from here. You can probably do something similar using cmake and then generate an eclipse project from this, but i'm not sure how well cmake generator for eclipse copes with nested projects.
Alternatively, you can just use the existing build infrastructure to build a library and then include and link this library in your native Simplicity Studio project. Again, i have no experience in using this in Simplicity Studio but i don't see why it shouldn't work.

from sub-iot-stack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.