Comments (9)
Hi @xzenon
Sorry to hear it isn't working. This error message is not especially helpful, so I apologize for that. QuietModemKit comes bundled with liquid-dsp and has its paths set to only use its own internal build for dependencies, so it wouldn't be able to use your host installation.
It looks like the relevant error is the line that says "CMake Error: The source directory ... does not appear to CMakeLists.txt". This is telling us that somehow the git submodule containing liquid doesnt seem to have CMake build. Can you look at the contents of Carthage/Checkouts/QuietModemKit/liquid-dsp and tell me if it's empty? Looking at the submodule in github, it does indeed contain that file, so it's rather perplexing how your checkout doesnt have it
from quietmodemkit.
Hi! Thanks for answer!
Checkouts/QuietModemKit/liquid-dsp is not empty and definitely contains CMakeLists.txt.
Here is the updated gist with the contents of CMakeError.log and CMakeOutput.log files - https://gist.github.com/xzenon/ab1c5bb6aaf85e0ac1e265db4a2ec044.
Are you able to build it for scratch without errors?
from quietmodemkit.
got the same problem too, @xzenon have you solve the problem?
from quietmodemkit.
problem solved! turns out that I didn't have cmake installed
from quietmodemkit.
@xzenon Yes, a clean build worked for me just now. I made a brand new iOS project and added a Cartfile, put quiet in it, and successfully ran carthage update.
Looking at your errors, it looks like you got liquid to build this time - it's a different error from before? Did anything change that caused liquid to start building?
The new error is strange, it sounds like it's looking for x86_64 symbols in the iOS platform, which would be ARM only. Can you confirm if the directory /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform is present on your file system?
from quietmodemkit.
@weidaxu1988 Glad to hear it. I've been meaning to make it more clear that cmake is required. Sorry you hit a snag there.
from quietmodemkit.
@brian-armstrong Yes, the directory is present.
But seems like something wrong on my system - I tried on other machine and successfully ran carthage update without problems.
Anyway thanks for your support!
Also have a question - could you please describe the purpose of QMFrameReceiver's methods:
- (NSData *)receive;
- (void)setBlocking:(long)seconds withNano:(long)nano;
- (void)setNonBlocking;
I've setup a test project and seems like QM works pretty fine for my purposes using "ultrasonic-experimental" profile. But I'd like to know how to properly use and shutdown receiver. When I call close
it took several seconds to complete that operation. Am I doing something wrong?
from quietmodemkit.
Glad you got it working! I'm still not sure what the cause of your build failure was, unfortunately
The set blocking/nonblocking methods are related to receiving. In nonblocking mode, the receive method returns immediately if there are no packets waiting in the receive queue. This might be handy if you're using it on the UI thread. Most applications will probably use it in blocking mode though, where it will wait until either the blocking timeout or until a packet is received
And I believe close does always take that long, unfortunately. I should look into shortening that time or making a more abrupt shutdown method. The reason it takes so long is that it waits for the soundcard receiver and internal queues to close, which do take a little while. Though, I'm not sure if it should actually take longer than a second or so. I may need to look into that more
from quietmodemkit.
@brian-armstrong Would be great to have quick shutdown method.
Anyway thanks for answers and great tool!
from quietmodemkit.
Related Issues (20)
- Transmit and receive data across devices HOT 8
- Cable-64k option(profile) not working. HOT 2
- Demodulate pre-recorded samples or share AVAudioRecorder instances HOT 5
- Packet Loss Problem - Swift HOT 3
- Crash on os iOS 9
- Which branch? HOT 7
- quiet-lwip:driver_portaudio.c too many arguments to function call, expected 4, have 5 HOT 2
- why iPhoneXs send quietModem didn't unrecognized? HOT 1
- How to increase the distance? HOT 1
- Archive - Failed to verify bitcode HOT 1
- is there any way to stop scanning once text received?
- Crash on iPhone HOT 13
- Can I calculate distance between device?
- Issue with the app store
- Receive callback function not working
- Build Failure - Xcode 13.4.1 / CMake
- Build Error: clang: error: unknown argument: '-=' HOT 1
- How do it faster HOT 5
- Error carthage update HOT 5
- Works between Android and IOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quietmodemkit.