hopak | Easy form generator | Generator Utils library
kandi X-RAY | hopak Summary
kandi X-RAY | hopak Summary
Easy form generator
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the model .
- Return the key of the object .
- Get a form by name .
- Resolve a field from a csv file
- Get all yaml files
- Formats a dictionary into a dictionary .
- Find yaml files .
- Unregisters the given instance .
- Creates a MetaModel .
- Resolve path to file
hopak Key Features
hopak Examples and Code Snippets
Community Discussions
Trending Discussions on hopak
QUESTION
Afternoon folks,
(I've searched around a fair bit for an answer to this issue, but it seems that it's either a rare scenario, or my google-fu is not up to par. Apologies if the answer is obvious and in another thread, if you could direct me, and I'd be on my way.)
The Problem:
It appears that it's impossible to build a PC Standalone application from Unity, while the TangoSDK is imported in the project, even when the scenes included in the build do not use any of the Tango assets.
(versions: Unity 5.5.1, TangoSDK Hopak, Windows 10)
Steps to replicate the issue:
- Create an empty Unity Project.
- Import the TangoSDK Unity package (confirmed with versions Eisa, Farandole, Hopak)
- Create and save a standard empty scene (Camera and Light only)
- Open the Build Settings and set the target platform to 'PC Mac & Linux Standalone'
- Click 'Build'
- The build process fails, with error:
Assets/TangoSDK/Core/Scripts/Common/OrientationManager.cs(62,0): error CS1029: #error: 'not supported platform'
The reason I'm trying to do this is because we're building a cross-platform app, where the mobile versions of the app are using Tango. An obvious workaround would be to create 2 different projects, one for android deployment with the TangoSDK loaded, one for desktop, without Tango libraries. But since there are a lot of shared assets between versions, it is obviously much more efficient to have everything in a single project, and so I'm trying to find a solution that doesn't involve me splitting development across 2 Unity projects for now.
I've a hunch the issue starts from the AndroidHelper interface (in Assets>Google-Unity>Scripts), as it seems to have some references to the OrientationManager, but I'm clueless as to why it's being included in a PC build.
Is there a way then to exclude any android-relevant scripts from the build? Thanks
EDIT
Here's a bit more info, after some more poking around. The original error was due to an omission, here's the original code that was giving the error:
...ANSWER
Answered 2017-May-25 at 13:39Is there a way then to exclude any android-relevant scripts from the build?
Yes
Firs of all, this should be the job of the people that made the TangoSDK. They likely forgot to do that. I suggest you contact them and report this problem.
The workaround is to modify the TangoSDK and fix it yourself with Unity's platform directives until they fix it.
Switch to 'PC Mac & Linux Standalone' to make the errors appear. Try to build it to make the error appear. Find the line of code from each error by double-clicking on it from the Editor then put that inside the code below:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hopak
You can use hopak like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page