POV-Ray : Newsgroups : povray.binaries.misc : nocomment Server Time
4 Oct 2024 03:36:26 EDT (-0400)
  nocomment (Message 1 to 10 of 25)  
Goto Latest 10 Messages Next 10 Messages >>>
From: jr
Subject: nocomment
Date: 11 Oct 2017 11:41:07
Message: <59de3b93$1@news.povray.org>
hi,

attached is the 'nocomment' utility.

note that it will not cope with nested comments.

enjoy, jr.


Post a reply to this message


Attachments:
Download 'nocomment.tar.gz' (1 KB)

From: Kenneth
Subject: Re: nocomment
Date: 12 Oct 2017 02:45:00
Message: <web.59df0e61c7b9aadb89df8d30@news.povray.org>
(I'm definitely showing my ignorance here...)

This looks to be VERY useful-- if I could figure out how to use it ;-)
'Makefile' etc. is new to me.

Here's what I've done so far:
1) I used the 7-Zip app to extract the file; the result is a folder named
"nocomment.tar/", with a single file named "nocomment.tar"

2) I then used 7-Zip again to extract that file; the result is a folder named
"nocomment", which contains a single file named "nocomment" (although,  7-Zip
issued a warning: "Cannot open the file as [tar] archive. The file is open as
[gzip] archive".  But I ignored that.)  I don't see a "Makefile" file there, if
that's supposed to be included as well.

Correct so far? That's as far as I've gotten(!) What do I do with the
"nocomment" file to make the magic work?

(I'm running 64-bit Windows 7 Ultimate, and POV-Ray 3.7.1 beta 9)


Post a reply to this message

From: jr
Subject: Re: nocomment
Date: 12 Oct 2017 04:38:06
Message: <59df29ee$1@news.povray.org>
hi,

On 12/10/2017 07:42, Kenneth wrote:
> (I'm definitely showing my ignorance here...)
> This looks to be VERY useful-- if I could figure out how to use it ;-)
> 'Makefile' etc. is new to me.
> Here's what I've done so far:
> 1) I used the 7-Zip app to extract the file; the result is a folder named

no.  "*.tar.gz" is nothing to do with .zip.

> "nocomment.tar/", with a single file named "nocomment.tar"
> 2) I then used 7-Zip again to extract that file; the result is a folder named
> "nocomment", which contains a single file named "nocomment" (although,  7-Zip
> issued a warning: "Cannot open the file as [tar] archive. The file is open as
> [gzip] archive".  But I ignored that.)  I don't see a "Makefile" file there, if
> that's supposed to be included as well.

> Correct so far? That's as far as I've gotten(!) What do I do with the
> "nocomment" file to make the magic work?
> (I'm running 64-bit Windows 7 Ultimate, and POV-Ray 3.7.1 beta 9)

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.

I can resend the two files as separates if that helps.

regards, jr.


Post a reply to this message

From: jr
Subject: Re: nocomment
Date: 12 Oct 2017 05:28:36
Message: <59df35c4$1@news.povray.org>
hi Kenneth,

adding to my previous reply.

On 12/10/2017 07:42, Kenneth wrote:
> (I'm running 64-bit Windows 7 Ultimate, and POV-Ray 3.7.1 beta 9)

I do not have any Windows development tools.  however, there are some
"regulars" here who do, perhaps one of them will step in?

> I can resend the two files as separates if that helps.

if you can lay your hands on a Microsoft compiler (Visual Studio is free
for personal use), I can send you the (generated) 'C' source file so you
can build your own.

hth.

regards, jr.


Post a reply to this message

From: Kenneth
Subject: Re: nocomment
Date: 14 Oct 2017 08:45:01
Message: <web.59e20647c7b9aadb89df8d30@news.povray.org>
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...


Post a reply to this message

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

Goto Latest 10 Messages Next 10 Messages >>>

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