'type_half.inl' file not found? #224
Comments
I am also facing the same issue. Please suggest |
+1 Same issue here, seems to be related to cocoa pods changes/updates though. The problem seems to be introduced and related to the A possible solution: Downgrade to
|
Need more help now with errors below: Undefined symbols for architecture x86_64: |
The newest version of cocoapods introduced this issue. I was able to fix it by updating the |
@maxcampolo At the moment the issue is fixed for me. Actually, i'm not using the Videocore pod as a Framework but as a static lib. Will try to use it as a framework, thanks! |
👍 same here |
@maxcampolo and @srmds can you guys explain how you got your working exactly:) I'm still having issues with this. |
@reedjsmith I use a little bit of a custom setup, I'll explain it and hope it helps. tl;dr - I use a fork of glm where I add Here's a longer version, maybe @jgh- can weigh in, I think it would be helpful to get some of these changes in the master repo. @ppamorim this answer may help you for your issue #230 I use Swift, Cocoapods frameworks ( The problem in Swift is that there can not be any exposed c++ code, even in objective-c++ headers. So I made a submodule in the podspec that just exposed the api files as public headers ( Last problem and the reason I'm a little stuck in providing this as an update to master repo is that the |
@maxcampolo thank you! |
Still not working. Anyone can help me? |
This solution was for dynamic frameworks and Swift. The other option is to use it as a static library and import it with a bridging header (this is what the swift sample project does). Just remove |
I have another library that needs to |
I use the same thing, that's the solution I posted above. I'll need more information on what's not working when you tried it to be able to help. |
@maxcampolo Another question: I've cloned your repository and opened the project in the branch |
Yeah you also need glm, if you want to try out my branches your podfile should look like this. These are up to date with the master repo's but consider them works in progress.
Also remember you don't need a bridging header with this, just import the module in your file. |
@maxcampolo well, after the pod install... |
Okay I hadn't updated the SampleBroadcaster-Swift podfile to actually use this setup. I figured you were just including in your own project. I just pushed an update to the |
@maxcampolo Oh, thanks! I added the pod that you sent to me and works fine. Thanks again! |
@maxcampolo Thanks a lot, man! You are really cool! |
@maxcampolo Thank you very much! |
@maxcampolo save my day |
@gonghao now my project compiles however when I try to stream the video, I get this below logs ClientState: 1 |
Hey thanks for solution. Not sure I understand this part:
Can you comment on it, how to submodule in a right way, thanks! |
Here's the podspec I use. https://github.com/maxcampolo/VideoCore/blob/update_headers/VideoCore.podspec. The subspec is the section that starts You can check out my fork here https://github.com/maxcampolo/VideoCore and use the framework in your project if you want by adding this to your podfile |
@maxcampolo thanks for quick answer, you said that you forked glm, but I've checked your podspec of video core and seems there is a dependency still maybe I did not understand how to use it. So I forked glm and added podspec as you suggested. But now how can I use my forked repo to download sources from there? |
|
@maxcampolo can you make this change public so that we can use this as a dependency in a pod spec!!! |
when I trying to make as "s.dependency 'glm', :git => 'https://github.com/maxcampolo/glm.git'".. it does not support!!! |
If I make the 0.3.2 version of vide core dependency it does not work!!!! |
@satyamub it is public. Put |
Hi @maxcampolo I am making a cocoapod lib in which i want this as a dependency as I want my co worker to pod install in their system and then they get your features as well as my features (other video features, which i included in my lib). thats why I want this in "s.dependency 'glm', :git => 'https://github.com/maxcampolo/glm.git'" in pod spec file of my lib however I learnt that ":git" is not available in pod spec so asked you to changed this. any idea? |
|
@peiweichen :git is not supported in dependency in Cocoapod.. Please refer... |
I got this working by settings the glm header search path to Below is where I changed the glm header search path, just for clarity. Hope this might help someone. |
+1 to @MikeDonahue 's solution. |
👍 @MikeDonahue Donahue |
@MikeDonahue the recursive part worked, but it still shows error "VCSimpleSession.h" file not found, even I have added "$(PODS_ROOT)/VideoCore" to the header search path in my project. |
@MikeDonahue +1 it still shows error "VCSimpleSession.h" file not found,but I have added "$(PODS_ROOT)/VideoCore" to the header search path in my project. |
@silenCetestifY have you found any solution |
@bintu1234 no,can you help me? |
@silenCetestifY & @loksurya sorry for such a late response. Did you guys set the $(PODS_ROOT)/VideoCore to recursive also in YOUR projects' header search paths? |
@MikeDonahue Thank's for solution |
'type_half.inl' file not found?
The text was updated successfully, but these errors were encountered: