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

Problems when using qtlua #31

Open
AlvinZhuyx opened this issue Jul 8, 2016 · 2 comments
Open

Problems when using qtlua #31

AlvinZhuyx opened this issue Jul 8, 2016 · 2 comments

Comments

@AlvinZhuyx
Copy link

I am new comer to qtlua and I am running a demo from the website https://github.com/anewell/pose-hg-demo

However, when I use the command: qlua main.lua demo (as the website tells me)
there turn out to be something wrong and I don't know how to fix it.
Here is the problem:

Unable to connect X11 server (continuing with -nographics)
qlua: not loading module qtgui (running with -nographics)...............................] ETA: 4s650ms | Step: 775ms
qlua: qtwidget window functions will not be usable (running with -nographics)
qtwidget window functions will not be usable (running with -nographics)
qlua: not loading module qtuiloader (running with -nographics)
qlua: /curr/chenz/torch/install/share/lua/5.1/image/init.lua:1451: attempt to index global 'qtuiloader' (a nil value)
stack traceback:
[C]: in function '__index'
/curr/chenz/torch/install/share/lua/5.1/image/init.lua:1451: in function 'window'
/curr/chenz/torch/install/share/lua/5.1/image/init.lua:1402: in function 'display'
main.lua:74: in main chunk
Segmentation fault

@soumith
Copy link
Member

soumith commented Jul 8, 2016

Are you not running it with X server installed?
If in Linux, make sure your X session is running.

If on OSX, I dont think you need X, as Qt uses a different interface.

@AlvinZhuyx
Copy link
Author

Dear soumith:
thx And I think you are right . I haven't installed the X server.
But since I just learn to use qt this week, I don't know how to install it.(and I even know little about it)
Would you please tell me more about the X server and how to install it?

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

2 participants