headus 3D tools headus 3D tools / 3D scans
Support Forums
 
 FAQFAQ   SearchSearch    UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
headus 3D scans

Linux installation issue, please help.
Goto page 1, 2  Next
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jinjin



Posts: 10
Joined: 19 Sep 2012

PostPosted: Wed Sep 19, 2012 11:51 am    Post subject: Linux installation issue, please help. Reply with quote

Hi there,

I have UVLayout 2.08 installation problem on Linux (Centos 64bit).

By following your instruction (http://www.uvlayout.com/index.php?option=com_wrapper&Itemid=110), I successfully passed these two commands:
export HEADUS_HOME=/usr/local/uvlayout-demo
export PATH=$HEADUS_HOME/bin:$PATH

Then when I tried to use the following command:
mkdir -p $HEADUS_HOME

It shows: mkdir: missing operand

Could you let me know what is happening at this step?
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Sep 19, 2012 6:44 pm    Post subject: Reply with quote

The error would imply that the "export" command isn't working, because the $HEADUS_HOME variable has nothing in it. You have to run all of those commands in the same shell window.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jinjin



Posts: 10
Joined: 19 Sep 2012

PostPosted: Thu Sep 20, 2012 9:02 am    Post subject: Reply with quote

headus wrote:
The error would imply that the "export" command isn't working, because the $HEADUS_HOME variable has nothing in it. You have to run all of those commands in the same shell window.

Phil


Thanks for your reply, Phil.

I have successfully passed those three commands (typed in one shell). The demo version had been installed into usr/local/uvlayout-demo. There are five folders inside usr/local/uvlayout-demo.

After that, I typed UVLayout into a new shell window and tried to run it but the shell shows: Command not found.

I also tried to type unlayout as well as headus in the shell which those three commands passed)

Here is a screen snap (see attached image)



Could you help me on this again ?

Many thanks,
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Thu Sep 20, 2012 5:36 pm    Post subject: Reply with quote

For libXm, read this ...

http://www.uvlayout.com/openmotif/

For libgomp, you'll need to use the package manager on your system to install that. There may be other missing libraries though, but you'll find that out once libgomp is installed and you try and run uvlayout again.

You may want to use a wrapper script too to run uvlayout. Info on that can be found here ...

http://www.uvlayout.com/doc/Installation_Guide:_Linux

Getting UVLayout to work on Linux is more complicated because there's lots of different distos, and which libraries are loaded by default can vary. If you just want to see how UVLayout works, using the Win or Mac Demo version would be easier, and then you can tackle the Linux installation if you want to take it any further.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jinjin



Posts: 10
Joined: 19 Sep 2012

PostPosted: Fri Sep 21, 2012 8:59 am    Post subject: Reply with quote

headus wrote:
For libXm, read this ...

<<Links blocked until user has been cleared>>

For libgomp, you'll need to use the package manager on your system to install that. There may be other missing libraries though, but you'll find that out once libgomp is installed and you try and run uvlayout again.

You may want to use a wrapper script too to run uvlayout. Info on that can be found here ...

<<Links blocked until user has been cleared>>

Getting UVLayout to work on Linux is more complicated because there's lots of different distos, and which libraries are loaded by default can vary. If you just want to see how UVLayout works, using the Win or Mac Demo version would be easier, and then you can tackle the Linux installation if you want to take it any further.

Phil


Hi Phil,

I went to the page you recommended to me for installing libXm (I installed it by typing export LD_LIBRARY_PATH=$HEADUS_HOME/lib). But I still can't figure out the libgomp file. I checked add/remove Software in Centos, it shows GCC OpenMP3.0 shared support library - libgomp-4.4.6-4.el6 (x84_64) ticked already (I assume it has been installed by Centos already).
After that I tried to type uvlayout in a shell, it still shows

Thanks again,
Back to top
View user's profile Send private message
jinjin



Posts: 10
Joined: 19 Sep 2012

PostPosted: Fri Sep 21, 2012 9:52 am    Post subject: Reply with quote

jinjin wrote:
headus wrote:
For libXm, read this ...

<<Links blocked until user has been cleared>>

For libgomp, you'll need to use the package manager on your system to install that. There may be other missing libraries though, but you'll find that out once libgomp is installed and you try and run uvlayout again.

You may want to use a wrapper script too to run uvlayout. Info on that can be found here ...

<<Links blocked until user has been cleared>>

Getting UVLayout to work on Linux is more complicated because there's lots of different distos, and which libraries are loaded by default can vary. If you just want to see how UVLayout works, using the Win or Mac Demo version would be easier, and then you can tackle the Linux installation if you want to take it any further.

Phil


Hi Phil,

I went to the page you recommended to me for installing libXm (I installed it by typing export LD_LIBRARY_PATH=$HEADUS_HOME/lib). After that I also install libgomp.so.1 file, libXm.so.4 file, LibGLw.so.1, libXpm.so.4, libtiff.so.3.

Now I ended up with this in shell:

uvlayout (Enter - after entering, nothing happens)

headus
Segmentation fault
.................................

I feel it is just one step to get there. Could you please help me again.

Thanks again,
Back to top
View user's profile Send private message
GeoffRiley



Posts: 72
Joined: 21 Feb 2007
Location: Cheshire, England

PostPosted: Sat Sep 22, 2012 7:31 am    Post subject: Reply with quote

Check the permissions of the files in $HEADUS_HOME/bin - make sure that they're readable as well as executable:
Code:
 chmod 755 $HEADUS_HOME/bin/*

may help to sort this out - it shouldn't really be necessary, but it helped my setup.

Geoff
Back to top
View user's profile Send private message
jinjin



Posts: 10
Joined: 19 Sep 2012

PostPosted: Sat Sep 22, 2012 12:40 pm    Post subject: Reply with quote

GeoffRiley wrote:
Check the permissions of the files in $HEADUS_HOME/bin - make sure that they're readable as well as executable:
Code:
 chmod 755 $HEADUS_HOME/bin/*

may help to sort this out - it shouldn't really be necessary, but it helped my setup.

Geoff


Thank you for your kindly help.

I figured it out. Now, it works on Linux. However, when I type uvlayout in terminal that opens uvlayout flawlessly but terminal then shows this (please see attached image).

If someone could teach me how to install those missing fonts so I can make uvlayout working perfectly on Centos 64.
Back to top
View user's profile Send private message
jinjin



Posts: 10
Joined: 19 Sep 2012

PostPosted: Sat Sep 22, 2012 11:29 pm    Post subject: Reply with quote

I figured it out. Now, it works on Linux. However, when I type uvlayout in terminal that opens uvlayout flawlessly but terminal then shows this (please see attached image).

If someone could teach me how to install those missing fonts so I can make uvlayout working perfectly on Centos 64.
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Sun Sep 23, 2012 6:19 pm    Post subject: Reply with quote

On some distos those fonts are in the "xfonts-75dpi" package. I just did a google search for centos and it came up with the "xorg-x11-fonts-75dpi" package, so maybe try that too.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
GeoffRiley



Posts: 72
Joined: 21 Feb 2007
Location: Cheshire, England

PostPosted: Mon Sep 24, 2012 10:23 am    Post subject: Reply with quote

Sorry I didn't get back - got a bit busy over the weekend.

Yes, the different distros seem to shuffle the fonts all over the place{1}; I've found that the substituted fonts work quite adequately though, so, although the warnings list in the terminal window, there is no problem with the actual running of UVLayout.

Geoff

{1} Worse still - different versions of one distro seem to move the fonts between packages. Shocked
Back to top
View user's profile Send private message
jinjin



Posts: 10
Joined: 19 Sep 2012

PostPosted: Mon Sep 24, 2012 11:46 am    Post subject: Reply with quote

GeoffRiley wrote:
Sorry I didn't get back - got a bit busy over the weekend.

Yes, the different distros seem to shuffle the fonts all over the place{1}; I've found that the substituted fonts work quite adequately though, so, although the warnings list in the terminal window, there is no problem with the actual running of UVLayout.

Geoff

{1} Worse still - different versions of one distro seem to move the fonts between packages. Shocked


I solved the fonts issue. Now, uvlayout run nicely on Centos 64. I tried to load a completed ploygon model into the uvlayout, it seems working very well until I change the view windows size it disappears until I finish the changes of window size and release my mouse. The loaded model then shows up again.
Also when I click different section buttons (for instance,Edit, Optimize and so on) after using them and close the option windows by click "X" button on the upper right corner, the loaded mesh quickly disappears and then shows up again. I know it doesn't matter with the using of uvlayout. I just want to report this little problem and want to see if other people have the same problem. If so, I guess it is a uvlayout Linux version issue.
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Mon Sep 24, 2012 6:33 pm    Post subject: Reply with quote

"so, although the warnings list in the terminal window, there is no problem with the actual running of UVLayout."

Thanks for the tips Geoff! Actually, because its X11, you can configure UVLayout to use whatever fonts you want via a .Xdefaults file. You need to add something like the following ...

Code:
UVLayout*fontList: \
    -b&h-luxi sans-bold-r-normal-*-12-120-75-75-p-0-adobe-*=avant_120,\
    -*-helvetica-bold-r-normal-*-*-140-*=avant_140,\
    -*-helvetica-bold-r-normal-*-*-180-*=avant_180,\
    -*-helvetica-bold-r-normal-*-*-240-*=avant_240,\
    -*-helvetica-bold-r-normal-*-*-100-*=avant_100,\
    -*-helvetica-bold-r-normal-*-*-80-*=avant_80,\
    -adobe-courier-medium-r-*-*-*-120-*-*-*-*-*-*=courier_120,\
    -adobe-courier-medium-r-*-*-*-100-*-*-*-*-*-*=courier_100,\
    -adobe-courier-medium-r-*-*-*-120-*-*-*-*-*-*=console_120,\
    -*-symbol-*-*-*-*-*-120-*=symbol_120,\
    -*-symbol-*-*-*-*-*-120-*=symbol_180


The name after the "=" on each line (e.g. "avant_140") is what UVLayout uses internally when specifying a font for a particular button or label or whatever, so dont change any of those. But you can substitute your own font definition before the equals. I personally use "xfontsel" to work those out. so if you find that the default UVLayout fonts are too big or too small for you, you can tweak them this way.

Phil


Last edited by headus on Mon Sep 24, 2012 6:47 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
headus
Site Admin


Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Mon Sep 24, 2012 6:43 pm    Post subject: Reply with quote

"I solved the fonts issue. Now, uvlayout run nicely on Centos 64."

Thanks for the good news!

"until I change the view windows size it disappears until I finish the changes of window size and release my mouse. The loaded model then shows up again. "

Yes, that's on purpose. On slower or older systems, disabling the mesh draw helps to make the window resizing a lot smoother. Especially on systems without a dedicated graphics card, doing both at once (resizing and redrawing) was too jerky.

"Also when I click different section buttons (for instance,Edit, Optimize and so on) after using them and close the option windows by click "X" button on the upper right corner, the loaded mesh quickly disappears and then shows up again. "

The mesh is supposed to disappear when you move the floating panel around (i.e. left mouse drag blue title bar) for the same reason as above. I've never noticed the mesh flicking off though with the panel close, but just checked and it is doing it here too. I expect its getting an X event there briefly that makes UVLayout think the the panel is about to move. The mesh blanking only happens though if you have the floating panel overlapping the 3D window ... I personally position my floating panels off to the side so they dont overlap.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jinjin



Posts: 10
Joined: 19 Sep 2012

PostPosted: Mon Sep 24, 2012 10:58 pm    Post subject: Reply with quote

headus wrote:
"I solved the fonts issue. Now, uvlayout run nicely on Centos 64."

Thanks for the good news!

"until I change the view windows size it disappears until I finish the changes of window size and release my mouse. The loaded model then shows up again. "

Yes, that's on purpose. On slower or older systems, disabling the mesh draw helps to make the window resizing a lot smoother. Especially on systems without a dedicated graphics card, doing both at once (resizing and redrawing) was too jerky.

"Also when I click different section buttons (for instance,Edit, Optimize and so on) after using them and close the option windows by click "X" button on the upper right corner, the loaded mesh quickly disappears and then shows up again. "

The mesh is supposed to disappear when you move the floating panel around (i.e. left mouse drag blue title bar) for the same reason as above. I've never noticed the mesh flicking off though with the panel close, but just checked and it is doing it here too. I expect its getting an X event there briefly that makes UVLayout think the the panel is about to move. The mesh blanking only happens though if you have the floating panel overlapping the 3D window ... I personally position my floating panels off to the side so they dont overlap.

Phil


Thanks, Phil.

Understood.

It seems windows version hasn't got the same flickering concept (Can't really remember if it has, I tried windows version before, it seemed running very smooth without any flickering appeared when moved or resized the 3D viewer window and additional property windows).

Anyway, I'm happy to try this software on Linux, it's indeed one of best UV unwrapping tools so far.

Cheers,
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group