virtualtex script help

Tips for creating and manipulating planet textures for Celestia.
Topic author
Ozark
Posts: 44
Joined: 09.07.2007
With us: 17 years 2 months
Location: Plymouth, MN

Post #41by Ozark » 28.07.2007, 01:14

Also when I switch from C:\ to sh-2.04$ by typing sh at the command prompt
then I type PATH the output reads:

sh: PATH: command not found
OZARK

Celestia 1.5.0
Windows XP Home Edition
Pentium 3.4 ghz E.E
2GB ddr Ram
Radeon 9550 AGP 256 mb

Topic author
Ozark
Posts: 44
Joined: 09.07.2007
With us: 17 years 2 months
Location: Plymouth, MN

Post #42by Ozark » 29.07.2007, 00:23

I'm an idiot :oops:




Post Posted: Fri Jul 27, 2007 9:14 pm Post subject:
Also when I switch from C:\ to sh-2.04$ by typing sh at the command prompt
then I type PATH the output reads:

sh: PATH: command not found


that should be:

Code: Select all

C:\test>sh
sh-2.04$ echo $PATH
/c/Gnuwin32/MinGW/bin:/c/program files/imagemagick-6.3.5-q16:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDO
WS/System32/Wbem:/c/Program Files/Common Files/Adobe/AGL:/c/Program Files/NVIDIA Corporation/DDS Uti
lities:/c/Program Files/ATI Technologies/ATI.ACE/Core-Static:/c/Program Files/Nmtools:/c/Program Fil
es/XnView:/c/Program Files/NVIDIA Corporation/DDS Utilities:/c/Program Files/gzip:/c/mingw:/c/mingw/
bin:/c/mingw/lib:/c/mingw/include:/usr:/usr/bin:/usr/lib:/usr/include:/usr/home/ozark/nip2-7.12.0/bi
n


Now I have been able to get the latest version of MinGW which is 5.13.

also there is an issue with the system Path. The first line in the path says C:\Gnuwin32\MinGW/bin; This directory no longer exists (don't know if this is a problem or not but if i edit the system path, it doesn't show up so i can't remove it). Also, the system path indicates :/usr:/usr/bin:/usr/lib:/usr/include:/usr/home/ozark/nip2-7.12.0/bi
n;
However in system variables PATH dialog, it says msys instead of usr(again i don't kow if this is a problem)

MinGW and Msys are in C:\ e.g (C:\mingw, and c:\msys) nip2 is in c:\msys/home/ozark/nip2-7.12.0/ VIPS is in C:\windows/vips/7.10.16/
and your vips_vt script is in C:\mingw\bin

Now when i follow your instructions this is the result:

Code: Select all

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\ozark>cd c:\test

C:\test>sh
sh-2.04$ sh vipsvt.sh *.png 512 png
vipsvt.sh: vipsvt.sh: No such file or directory
sh-2.04$


And when $path is entered in msys CLI the output reads:


Code: Select all

ozark@HOME~
$ echo $PATH
/home/ozark/nip2-7.12.0/bin:
ozark@HOME`


I'm thinking the system Path is messed up somehow or i put VIPS in the wrong place.

Any thoughts? 8O :?
OZARK



Celestia 1.5.0

Windows XP Home Edition

Pentium 3.4 ghz E.E

2GB ddr Ram

Radeon 9550 AGP 256 mb

Avatar
John Van Vliet
Posts: 2941
Joined: 28.08.2002
With us: 22 years 1 month

re

Post #43by John Van Vliet » 29.07.2007, 20:21

yes a path prob .
now mingw ,msys, GnuWin32 programs ,and nip can be installed almost anywhere .You will find that having MinGW , MSys and GnuWin32 apps all installed in
C:\\GnuWin32\
C:\\GnuWin32\MinGW
C:\\GnuWin32\MSys
and GnuWin32 apps in C:\\GnuWin32\MinGW\
is best
otherwise ALL and EVERY /bin,/lib,/include,/share folder will need to be in the system path
example
C:\\Program Files\autoconf-2.59\bin
for every program
insted of C:\\GnuWin32\MinGW\bin
only once
and install nip2 in C:\\Nip2
and install vips in the nip2 folder

Topic author
Ozark
Posts: 44
Joined: 09.07.2007
With us: 17 years 2 months
Location: Plymouth, MN

Post #44by Ozark » 31.07.2007, 01:43

:D :D :D Success!!

Thank you john! :D
The problem i was having (and perhaps i wasn't doing it correctly )but whereyou said:

cd C:\\Path to test and hit enter
then type sh vipsvt.sh *.png 512 png and hit enter
and see what happens


for some reason typingvipsvt.sh was causing my problems. When i typed it as sh vipsvt *.png 512 Png
Everything worked fine. Thanks again :D :D


Much Thanks!

Ozark
OZARK



Celestia 1.5.0

Windows XP Home Edition

Pentium 3.4 ghz E.E

2GB ddr Ram

Radeon 9550 AGP 256 mb

Avatar
John Van Vliet
Posts: 2941
Joined: 28.08.2002
With us: 22 years 1 month

re

Post #45by John Van Vliet » 31.07.2007, 18:37

good to hear i take it that the verttex script is saved as vipsvt and not vipsvt.sh

both are correct a shell script can be saved with out the ,sh

-----------------------------------------
some useful links
http://allies.freezope.org/MsysMingw
http://csjava.occ.cccd.edu/~gilberts/mingw/
http://www.spacejack.org/games/mingw/
http://www.bloodshed.net/devcpp.html


Return to “Textures”