michelcandido / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

problems to compile cocoatouch project #208

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, first thanks for the job.

I have some problems to compile the cocoatouch project and i have this output 
although the "hci_cmds.h" is correctly include :

1>   + Linking project files...
1>  Undefined symbols:
1>    "_btstack_set_system_bluetooth_enabled", referenced from:
1>        _btstack_set_system_bluetooth_enabled$non_lazy_ptr in BTstackManager.o
1>    "_btstack_get_system_bluetooth_enabled", referenced from:
1>        _btstack_get_system_bluetooth_enabled$non_lazy_ptr in BTstackManager.o
1>    "_hci_link_key_request_reply", referenced from:
1>        _hci_link_key_request_reply$non_lazy_ptr in BTInquiryViewController.o
1>  ld: symbol(s) not found

regards, Régis.

Original issue reported on code.google.com by regis.bo...@gmail.com on 5 Nov 2011 at 4:26

GoogleCodeExporter commented 8 years ago
did you compile libBTstack.dylib from the command line first? see getting 
started.
please post to the mailing list, it's not a issue/bug in BTstack itself.

fwiw, I added a compiler flag, so it could find config.h in the root dir

Original comment by matthias.ringwald@gmail.com on 11 Nov 2011 at 7:31

GoogleCodeExporter commented 8 years ago
Hi, thanks for the answer. I'm a newbie in compiling iphone app and more i 
compile on windows platform with Ios Build Environnement 
(http://www.pmbaty.com/iosbuildenv/index-en.html). It’s more difficult 
because there’s not any debugger or simulator. My first apps works but i have 
some problem to compile btstack apps. Don’t worry, i continue to search and i 
progress more en more when my job let me time.

    Actually, i can compile cocoatouch project (the problem was that i haven’t got the good compiled btstack library) but when i lauch it on my iphone, activation of btstack works, searchong works but once i activate any bluetooth peripheral (mouse or wiimote), apps failed and shut down.

    I don’t know how to compile with command line with ios build environnement and windows but I’m going to search. It must be my problem for the cocoatouch app if the library is not good. 

    A lot of thanks for your work. It’s great. Sorry to post in issue and my bad english. If you want, i can post to the btstask google groups forum if it could serve for the others.

    Régis.    

-----Message d'origine----- 
From: btstack@googlecode.com 
Sent: Friday, November 11, 2011 8:32 PM 
To: regis.boullard@gmail.com 
Subject: Re: Issue 208 in btstack: problems to compile cocoatouch project 

Original comment by regis.bo...@gmail.com on 11 Nov 2011 at 7:54

GoogleCodeExporter commented 8 years ago
Hi

I've never heard of this windows compile environment. Without manually 
downloading the iOS SDK included in Xcode from Apple, there's no legal way to 
obtain a working toolchain. 

For debugging your software, you can install gdb on the iPhone and use that 
over ssh. Good luck :)

Original comment by matthias.ringwald@gmail.com on 14 Nov 2011 at 9:03

GoogleCodeExporter commented 8 years ago
Thank you.

-----Message d'origine----- 
From: btstack@googlecode.com
Sent: Monday, November 14, 2011 10:04 PM
To: regis.boullard@gmail.com
Subject: Re: Issue 208 in btstack: problems to compile cocoatouch project

Original comment by regis.bo...@gmail.com on 15 Nov 2011 at 8:39