First of all I want to say, this is a really great news for Arduino
users.
I am trying to learn how to run ECG app. However, when I run it, it
always misses btstack.dylib and files like that. I filled out the
"other c flags" part as it shown in the vide and tutorial. However, it
still looks for dylib files in developers file (for iphone sdk). Does
anybody know what I am missing?
Thanks
mustafa
what dylib are you looking for? Is it libBTstack.dylib? This should be
in the Plugins directory of the project folder.
As you said you have set the other c flags, mine points to for
instance:
-I/Users/nikolaionken/dev/git/humanapi/prototypes/dev/ecg/iphone/
Plugins
and in that Plugins folder I have the libBTstack.dylib. Can you check
this and if it seems correct, send me your c flag settings?
Btw. did "make ecg" work for you? There have been some problems it
seems and I am trying to figure out what they were because it is
running for me even if I start with a clean checkout.
Regards,
Nikolai
Yes "make ecg" worked fine for me. However I changed some file
locations for that. I think it was the phonegap directory that you
included. I changed it with the one that I downloaded from phonegap
site and made the setup before I run "make ecg" (That's what I
remember, I hope I am not wrong.)
Also, "www" folder in ecg wasn't pointing the folder which has
phonegap.js. So, I also made some changes in there.
my other c flags shows this location
-I/Users/mustafabagdatli/humanapi/prototypes/dev/ecg/iphone/Plugins
which didn't have libBTstack.dylib
I just copied it to that folder and now, this is what I am getting:
warning: Unable to read symbols for "/Library/MobileSubstrate/
MobileSubstrate.dylib" (file not found).
dyld: Library not loaded: /usr/local/lib/libBTstack.dylib
Referenced from: /var/mobile/Applications/
3201350A-4D5E-4B8D-8837-48316C1F3ED7/ecg.app/ecg
Reason: image not found
mi_cmd_stack_list_frames: Not enough frames in stack.
mi_cmd_stack_list_frames: Not enough frames in stack.
I will have to check this, never got this error message myself and I
am not sure why it is looking for /Library/MobileSubstrate/
MobileSubstrate.dylib (it doesn't seem to exist). Can you remove that
dependency?
Nikolai