Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

TouchDevelop Library with glue.cpp embedded string resource build failed #2

Open
ahnniu opened this issue Oct 21, 2016 · 0 comments
Open

Comments

@ahnniu
Copy link

ahnniu commented Oct 21, 2016

Hello,

We're building a TouchDevelop library for our micro:bit accessories.

We found some guides and examples:

We forked this repo and create our own - github: minodekit/td-minode. We develop our C++ glue layer based on it. We use yt build to ensure our code can be compiled correctly.

But When we copy to the glue.cpp string resource, The compiler took a long time and then we get an error. Then we do some test:

Test cases

Test 1:

  1. Blank typescript without any ts function
  2. simple glue.cpp: only an namespace with some simple enums
  3. build failed

Test 2:

  1. Blank typescript without any ts function
  2. the same glue.cpp with the TCS 34725 example
  3. build success

Test 3:

  1. Blank typescript without any ts function
  2. the same glue.cpp with the TCS 34725 example, but we changed the namespace name / or added some blank line to ensure generated a new SHA256 code.
  3. build failed

Summarize

It seems the mbed cloud complier timeout?

Do you have any suggestions? Thanks.

By the way, We also create some PXT packages. They work well.

Best Regards,
Paul

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant