Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application dies #1

Open
bcityp opened this issue Apr 15, 2014 · 13 comments
Open

Application dies #1

bcityp opened this issue Apr 15, 2014 · 13 comments

Comments

@bcityp
Copy link

bcityp commented Apr 15, 2014

Application is build properly but when deployed to nexus 7, Necessitas logo briefly then the application dies.

@larsgk
Copy link

larsgk commented Apr 15, 2014

now that there is proper android support with qt 5.2, maybe it makes sense
to port everything?

On Tue, Apr 15, 2014 at 3:10 PM, bcityp [email protected] wrote:

Application is build properly but when deployed to nexus 7, Necessitas
logo briefly then the application dies.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

@fnielsen
Copy link
Member

I have it running on my Nexus 7, but there might very well be issues still. Does android-sdk/platform-tools/adb logcat give any meaningful error messages?

@bcityp
Copy link
Author

bcityp commented Apr 16, 2014

No error message in particular. Following warning is generated.
Can't set environment ""
WARNING: QApplication was not created in the main() thread.
and then Win Death appears!!!

@bcityp
Copy link
Author

bcityp commented Apr 16, 2014

Yes, but all the other applications are working properly.So, I was wondering whats the problem.

@baekgaard
Copy link
Member

@bcityp, the current code still needs work to add better instrumentation and more meaningful error messages. However, it is quite likely that you get the error message above as a result of missing model files that also needs to be installed in some "root" directory under smartphonebrainscanner2_data (IIRC). I'll have a look at this next week when back in office.

@larsgk, you're absolutely right. Necessitas hasn't been updated since Dec 2012 (beta 1 update 1), and the old qt creator that comes with it no longer allows debugging under MacOS Mavericks (at least on my machine). It's possible to compile for MacOS with a newer 3.x qt creator using the same qt 4.8 framework, but then you cannot change the Android project settings... so it's a bit painful as is. We'll get to this also in due time, but in order to establish a proper and common baseline, we decided to put the existing application on github "as is" :-)

@bcityp
Copy link
Author

bcityp commented Apr 20, 2014

@baekgaard I'll be waiting for your response. Can you please tell how to install the models in root directory. I have a folder named as smartphonebrainscanner2_data. but may be some of the files are missing.

@bcityp
Copy link
Author

bcityp commented Apr 20, 2014

@baekgaard Thanks a ton. Issue is resolved. It was the problem of missing model files. Now i can run the application. Thanks once again!!!

@bcityp
Copy link
Author

bcityp commented Apr 23, 2014

@baekgaard I can now run the application but when i press start button application again dies. Can you please help me with the problem

@bcityp
Copy link
Author

bcityp commented Apr 23, 2014

I think that i am missing this file 'mesh_ctx_5124_normals.obj'. From where can i find it.

@fnielsen
Copy link
Member

If I remember correctly you can rename/copy the vertface_brain_reduced.obj file.

@bcityp
Copy link
Author

bcityp commented Apr 28, 2014

I tried it. But not working same issue when i press start button application dies.Can you please help me with the problem

@baekgaard
Copy link
Member

@bcityp: I've just pushed the sbs2_data/mesh_ctx_5124_normals.obj file to the _core repository; please pick it up from there and copy it to your smartphonebrainscanner2_data directory. Hopefully this would remove the crash?

@bcityp
Copy link
Author

bcityp commented May 10, 2014

I have tried this. But cannot see activity mapping no blue color. Can you please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants