Open AlvinZhuyx opened 8 years ago
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.
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?
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