POV-Ray : Newsgroups : povray.binaries.misc : nocomment Server Time
29 May 2024 08:04:36 EDT (-0400)
  nocomment (Message 6 to 15 of 25)  
<<< Previous 5 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Stephen
Subject: Re: nocomment
Date: 14 Oct 2017 13:19:31
Message: <59e24723@news.povray.org>
On 14/10/2017 13:42, Kenneth wrote:
> jr <cre### [at] gmailcom> wrote:
> 
>>
>> sorry, my bad.  forgot to state it's for GNU/Linux systems, although, if
>> you do run something like 'cygwin' or 'mingw', that should work too.
>>
> 
> :-(
> 
> Well, there are two routes I can go (or both, if I ever have the time!):

I had a third route. It was to wait for you to work it out and get a 
crib from you. ;-)

Since I read your post I thought I had better give it a go myself.
I downloaded Cygwin setup-x86_64.exe and installed it.
When I ran the installed program I then had to work out how to change 
the directory to where the Makefile an .c file were. (Use "/" instead of 
"\". E.g. $ cd F:/tga2df3_2/tga2df3_2 ($ is the prompt)
Then just type make and wait for the errors. They were caused by Cygwin 
not automatically downloading everything. So reinstall over the original 
installation and try again. Repeat and rinse until you get no errors and 
the exe is created. It worked but took me a couple of hours.

So that is my crib. :-)
The files were from jr but not nocomment. it is a file for creating df3s.

Google, Google, Google,





-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: nocomment
Date: 14 Oct 2017 13:32:58
Message: <59e24a4a@news.povray.org>
On 14/10/2017 18:19, Stephen wrote:
> The files were from jr but not nocomment. it is a file for creating df3s.


Just for practice I compiled nocomment. It runs in a DOS box BTW



-- 

Regards
     Stephen


Post a reply to this message


Attachments:
Download 'nocomment.zip' (55 KB)

From: Stephen
Subject: Re: nocomment
Date: 14 Oct 2017 15:36:18
Message: <59e26732@news.povray.org>
On 14/10/2017 18:32, Stephen wrote:
> On 14/10/2017 18:19, Stephen wrote:
>> The files were from jr but not nocomment. it is a file for creating df3s.
> 
> 
> Just for practice I compiled nocomment. It runs in a DOS box BTW
> 
> 
> 

Drat! It needs this dll in your m/c's path or the directory you are using.

Still learning.

-- 

Regards
     Stephen


Post a reply to this message


Attachments:
Download 'cygwin1.dll.dat' (3077 KB)

From: Kenneth
Subject: Re: nocomment
Date: 14 Oct 2017 16:45:00
Message: <web.59e27690c7b9aadb89df8d30@news.povray.org>
Stephen <mca### [at] aolcom> wrote:

>
> I had a third route. It was to wait for you to work it out and get a
> crib from you. ;-)

Ha!

hey, thanks for working this out! I may just give it a try-- after consulting my
Greek translation book ;-)  And Googling some more, of course...


Post a reply to this message

From: jr
Subject: Re: nocomment
Date: 14 Oct 2017 16:57:57
Message: <59e27a55$1@news.povray.org>
hi,

On 14/10/2017 13:42, Kenneth wrote:
> jr <cre### [at] gmailcom> wrote:
>> sorry, my bad.  forgot to state it's for GNU/Linux systems, although, if
>> you do run something like 'cygwin' or 'mingw', that should work too.
> Well, there are two routes I can go (or both, if I ever have the time!):
> Learning to use cygwin, and/or learning to use Visual Studio-- both of which are
> Greek to me at the moment, sad to say. (I've never 'compiled' anything-- very

I see that Stephen has already provided "the way in" for cygwin.

if you were to use VS, from what I remember (quite a few years back
:-)), the process boils down to (a) create a new project, command-line
program type, (b) open (import?) the 'C' source file, and (c) click the
icon to make ("build") the project.

> embarrassing.) But I *have* been trying to familiarize myself with what both of
> those tools do, per your suggestion :-) I've recognized for a long time that I
> need to 'bite the bullet' and learn how to write and compile at least *small*
> programs (on Windows)--to get my feet wet, so to speak, and to banish that
> daunting feeling of "Oh, that looks to be SO hard." Of course, that's the way I
> felt when I first came across POV-Ray-- which now seems easy and natural!
> Practice, practice, practice...

and soon you'll wonder why you waited so long..  :-)

regards, jr.


Post a reply to this message

From: jr
Subject: Re: nocomment
Date: 14 Oct 2017 17:06:16
Message: <59e27c48$1@news.povray.org>
hi,

On 14/10/2017 18:32, Stephen wrote:
> Just for practice I compiled nocomment. It runs in a DOS box BTW

thanks.

fwiw, I had a look at the zip and am a bit perplexed by the size of
executable.  until I read your "drat!" follow-up (:-)) I'd thought that
nocomment.exe had not been compiled for dynamic linking; 164K vs 15K on
my machine, nearly 11 times larger.

I think cygwin has strip(1) installed, you can run

  $ strip -s nocomment.exe

without impairing functionality, and hopefully the respective sizes will
compare better.  (compiling w/out optimisation options too would leave
it larger)

regards, jr.


Post a reply to this message

From: Stephen
Subject: Re: nocomment
Date: 14 Oct 2017 17:21:32
Message: <59e27fdc$1@news.povray.org>
On 14/10/2017 21:41, Kenneth wrote:
> Stephen <mca### [at] aolcom> wrote:
> 
>>
>> I had a third route. It was to wait for you to work it out and get a
>> crib from you. ;-)
> 
> Ha!

Took me a month to get round to it. So thanks for a kick up the 
bahookie. ;-)


> 
> hey, thanks for working this out! I may just give it a try-- after consulting my
> Greek translation book ;-)  And Googling some more, of course...
> 
> 


It was about time I learned the very basics. :-)

How I would run it, at first. (I've not tried to make it fail.)
Create a directory. Copy cygwin1.dll, nocomment.exe and my_file.pov there.
Open cmd.exe at the directory (In the LH panel of your browser, Shift + 
right click and "Open Command window here. At least in Win7) That opens 
a DOS command window.
Type nocomment my_file.pov then enter.
The program created nc_my_file.pov

I've not really tested it other than running one Pov file through it and 
that probably did not have any /* ... */ comments.



-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: nocomment
Date: 14 Oct 2017 17:27:28
Message: <59e28140$1@news.povray.org>
On 14/10/2017 22:06, jr wrote:
> hi,
> 
> On 14/10/2017 18:32, Stephen wrote:
>> Just for practice I compiled nocomment. It runs in a DOS box BTW
> 
> thanks.
> 
> fwiw, I had a look at the zip and am a bit perplexed by the size of
> executable.  until I read your "drat!" follow-up (:-)) I'd thought that
> nocomment.exe had not been compiled for dynamic linking; 164K vs 15K on
> my machine, nearly 11 times larger.
> 
> I think cygwin has strip(1) installed, you can run
> 
>    $ strip -s nocomment.exe
> 
> without impairing functionality, and hopefully the respective sizes will
> compare better.  (compiling w/out optimisation options too would leave
> it larger)
> 

I'll give that a try later. <- When he is sober. </Stephen's better self>

-- 

Regards
     Stephen


Post a reply to this message

From: clipka
Subject: Re: nocomment
Date: 15 Oct 2017 12:13:26
Message: <59e38926$1@news.povray.org>
Am 14.10.2017 um 14:42 schrieb Kenneth:
> jr <cre### [at] gmailcom> wrote:
> 
>>
>> sorry, my bad.  forgot to state it's for GNU/Linux systems, although, if
>> you do run something like 'cygwin' or 'mingw', that should work too.
>>
> 
> :-(
> 
> Well, there are two routes I can go (or both, if I ever have the time!):
> Learning to use cygwin, and/or learning to use Visual Studio-- both of which are
> Greek to me at the moment, sad to say. (I've never 'compiled' anything-- very
> embarrassing.) But I *have* been trying to familiarize myself with what both of
> those tools do, per your suggestion :-) I've recognized for a long time that I
> need to 'bite the bullet' and learn how to write and compile at least *small*
> programs (on Windows)--to get my feet wet, so to speak, and to banish that
> daunting feeling of "Oh, that looks to be SO hard." Of course, that's the way I
> felt when I first came across POV-Ray-- which now seems easy and natural!
> 
> Practice, practice, practice...

Windows 10 users might also be able to resort to the "Windows subsystem
for Linux"; from what I've heard, as of the Fall Creators Update it's an
official part of the system. (Prior to that it was an optional
beta-stage component that required separate installation.)

The subsystem is effectively an Ubuntu system, and is confirmed ok for
compiling and running POV-Ray, so it should be good enough for
"nocomment" as well.


Post a reply to this message

From: jr
Subject: Re: nocomment
Date: 15 Oct 2017 12:54:56
Message: <59e392e0$1@news.povray.org>
hi,

On 15/10/2017 17:13, clipka wrote:
> The subsystem is effectively an Ubuntu system, and is confirmed ok for
> compiling and running POV-Ray, so it should be good enough for
> "nocomment" as well.

does it have flex(1) installed?

regards, jr.


Post a reply to this message

<<< Previous 5 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.