VideoCore-Inactive
VideoCore-Inactive copied to clipboard
'type_half.inl' file not found .. pod 0.39.0 & xcode 7.2
Do not compile:
pod --version --> 0.39.0 xcode -> 7.2
Updating local specs repositories
Analyzing dependencies
Fetching podspec for VideoCore
from ../..
Downloading dependencies
Installing UriParser-cpp (0.1.3)
Installing VideoCore (0.3.2)
Installing boost (1.51.0)
Installing glm (0.9.4.6)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use SampleBroadcaster-Swift.xcworkspace
for this project from now on.
Sending stats
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 4 total pods installed.
[!] [Xcodeproj] Generated duplicate UUIDs: ... Open: SampleBroadcaster-Swift.xcworkspace xcode .. build.. .. VideoCore-master/sample/SampleBroadcaster-Swift/Pods/Headers/Private/glm/core/type_half.hpp:116:10: 'type_half.inl' file not found
Do anybody have working version of this project ?
See #224 . The recommended solution of downgrading cocoapods to 0.38.2 works.
Thanks ap116, but that did not work either..
OK, done following:
sudo gem uninstall cocoapods sudo gem install cocoapods -v 0.38.2 pod —version -> 0.38.2 git clone https://github.com/jgh-/VideoCore.git cd VideoCore-master/SampleBroadcaster-Swift/ pod install
-> following output:
Analyzing dependencies
Fetching podspec for VideoCore
from ../..
Downloading dependencies
Installing UriParser-cpp (0.1.3)
Installing VideoCore (0.3.2)
Installing boost (1.51.0)
Installing glm (0.9.4.6)
Generating Pods project
2015-12-29 17:18:11.898 ruby[34004:2204225] warning: The file reference for "H264Encode.h" is a member of multiple groups ("Apple" and "iOS"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.
2015-12-29 17:18:11.899 ruby[34004:2204225] warning: The file reference for "H264Encode.mm" is a member of multiple groups ("Apple" and "iOS"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.
Integrating client project
[!] Please close any current Xcode sessions and use SampleBroadcaster-Swift.xcworkspace
for this project from now on.
Sending stats Sending stats
[!] [Xcodeproj] Generated duplicate UUIDs: ..
Result: open SampleBroadcaster-Swift.xcworkspace Build (VideoCore) 10 errors: .. VideoCore-master/stream/AsyncStreamSession.cpp --> VideoCore-master/stream/AsyncStreamSession.cpp:235:29: No member named 'thisThreadInQueue' in 'videocore::JobQueue'
errors from (10) asserts -> assert(m_socketJob.thisThreadInQueue());
What could be wrong in this ? Is this stil because header file is missing..
Anybody, do you have a working / compile able version of this project ? or instructions how to get this compile ?
Thanks!
ok removed the AsyncStreamSession.cpp file, because it seems to be not needed.. Now "VideoCore" is compiling.. but building target "SampleBroadcaster-Swift" will not compile.. error:
Undefined symbols for architecture armv7: "videocore::Apple::H264Encode::~H264Encode()", referenced from: std::__1::__libcpp_compressed_pair_impstd::__1::allocator<videocore::Apple::H264Encode, videocore::Apple::H264Encode, 1u>::~__libcpp_compressed_pair_imp() in libVideoCore.a(VCSimpleSession.o) "videocore::Apple::H264Encode::H264Encode(int, int, int, int, bool, int)", referenced from: std::__1::shared_ptrvideocore::Apple::H264Encode std::__1::shared_ptrvideocore::Apple::H264Encode::make_shared<float, float, int, int, bool, int&>(float&&, float&&, int&&, int&&, bool&&, int&&&) in libVideoCore.a(VCSimpleSession.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thanks..
It worked for the objective-c sample project, but I haven't tried the swift one. Check the other issue i referenced for other suggestions about how to handle swift.
Anybody who have problems with cocoapods versions like me.. here is a working way to getting the swift project to compile.
- sudo gem install cocoapods -v 0.37.2
- git clone https://github.com/jgh-/VideoCore.git
- cd VideoCore-master/SampleBroadcaster-Swift/
- pod install -> [!] Please close any current Xcode sessions and use
SampleBroadcaster-Swift.xcworkspace
for this project from now on. - open SampleBroadcaster-Swift.xcworkspace
- delete (deprecated) file: VideoCore-master/stream/AsyncStreamSession.cpp
- build ..
Thanks to everyone. Nice project!
@milinka Thanks dude! It work's for me :dancer:
same approach as suggested by milinka, but not working
cocoapod 1.0.0 beta4 not work
@milinka Great!!! Cocoapods -v 0.37.2 works for me. Thanks.
I use
pod 0.38.2 install
to run pod in 0.38.2