Re: [fpc-pascal] Possibly a dumb question....

2009-12-28 Thread Bart
Hi Jennifer,

Did you save the program before hitting Run?

B.t.w. Better use the Lazarus mailinglist, or the Lazarus forum for
questions on Lazarus.

Bart
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-28 Thread Jeff Miller


 I have been trying to compile a simple test program and I keep getting
 the following errors:

c:\lazarus\fpc\2.2.4\bin\i386-win32\windres.exe: can't open file
`project1.manifest': No such file or directory

I am about a week ahead of you with Lazarus, and I struggled
with that error too. It seems you must save the project once
before you can compile it.  After the first save, you can make
changes and recompile without saving again, but that
first save seems to be crucial.

Jeff Miller (Otago)___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-28 Thread Jürgen Hestermann

I have been trying to compile a simple test program and I keep getting
the following errors:
c:\lazarus\fpc\2.2.4\bin\i386-win32\windres.exe: can't open file
`project1.manifest': No such file or directory

I am about a week ahead of you with Lazarus, and I struggled
with that error too. It seems you must save the project once
before you can compile it.  After the first save, you can make
changes and recompile without saving again, but that
first save seems to be crucial.


It's a bit astonishing that there is no check before compiling that brings 
up a save project dialog in such situations. 
___

fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-28 Thread Vincent Snijders

Jürgen Hestermann schreef:

I have been trying to compile a simple test program and I keep getting
the following errors:
c:\lazarus\fpc\2.2.4\bin\i386-win32\windres.exe: can't open file
`project1.manifest': No such file or directory

I am about a week ahead of you with Lazarus, and I struggled
with that error too. It seems you must save the project once
before you can compile it.  After the first save, you can make
changes and recompile without saving again, but that
first save seems to be crucial.


It's a bit astonishing that there is no check before compiling that 
brings up a save project dialog in such situations. 


It is a bug ans should save that file automatically.

Vincent
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Possibly a dumb question....

2009-12-28 Thread Jennifer Usher



--
From: Bart bartjun...@gmail.com
Sent: Monday, December 28, 2009 7:48 AM
To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] Possibly a dumb question


Hi Jennifer,

Did you save the program before hitting Run?


No...  I figured that out after trying one of the demo programs.  It 
compiled without any problems, so I figured it had to be something like 
that.  I created a folder, saved everything to it, and it compiled and ran 
just fine.



B.t.w. Better use the Lazarus mailinglist, or the Lazarus forum for
questions on Lazarus.


I thought it was probably an issue with the compiler.  My bad.

Jennifer 


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-28 Thread Jennifer Usher



--
From: Jeff Miller mil...@psy.otago.ac.nz
Sent: Monday, December 28, 2009 9:26 AM
To: fpc-pascal@lists.freepascal.org
Subject: [fpc-pascal] RE: Possibly a dumb question (Jennifer Usher)


I am about a week ahead of you with Lazarus, and I struggled
with that error too. It seems you must save the project once
before you can compile it.  After the first save, you can make
changes and recompile without saving again, but that
first save seems to be crucial.


As I said, I figured that out after discovering that the example programs 
would compile without error.


Jennifer 


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-28 Thread Graeme Geldenhuys
2009/12/28 Jeff Miller mil...@psy.otago.ac.nz:
 with that error too. It seems you must save the project once
 before you can compile it.  After the first save, you can make
 changes and recompile without saving again, but that
 first save seems to be crucial.

Please report this in Mantis as a Windows specific bug. Under Linux
(just tried again with latest SVN version) one could always (as long
as I can remember) compile and run projects without saving them. The
IDE automatically saves the project to the global /tmp directory
(which has read/write access for all users on the system). I would
have thought under Windows it would use a similar process, using the
logged-in users temp directory somewhere inside Documents and
Settings directory.


-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-28 Thread Graeme Geldenhuys
2009/12/28 Vincent Snijders vsnijd...@vodafonevast.nl:

 It is a bug ans should save that file automatically.

And the bug seems to be Windows specific. It works perfectly under
Linux, by automatically saving in the /tmp directory.


-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re[2]: [fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-28 Thread JoshyFun
Hello FPC-Pascal,

Monday, December 28, 2009, 10:08:38 PM, you wrote:

GG 2009/12/28 Jeff Miller mil...@psy.otago.ac.nz:
 with that error too. It seems you must save the project once
 before you can compile it.  After the first save, you can make
 changes and recompile without saving again, but that
 first save seems to be crucial.
GG Please report this in Mantis as a Windows specific bug. Under Linux
GG (just tried again with latest SVN version) one could always (as long
GG as I can remember) compile and run projects without saving them. The
GG IDE automatically saves the project to the global /tmp directory
GG (which has read/write access for all users on the system). I would
GG have thought under Windows it would use a similar process, using the
GG logged-in users temp directory somewhere inside Documents and
GG Settings directory.

It's not a windows bug, I think that the /tmp folder of the user
has spaces:

C:\users\John Smith\temp

And this could raise problems. I had tested the new project (clean)
compilation and works perfectly in WinXP but my /tmp is C:\Temp.

I think it will happend in any platform when the temp folder points to
somewhere with spaces.

-- 
Best regards,
 JoshyFun

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-28 Thread Joost van der Sluis
On Mon, 2009-12-28 at 23:08 +0200, Graeme Geldenhuys wrote:
 2009/12/28 Jeff Miller mil...@psy.otago.ac.nz:
  with that error too. It seems you must save the project once
  before you can compile it.  After the first save, you can make
  changes and recompile without saving again, but that
  first save seems to be crucial.
 
 Please report this in Mantis as a Windows specific bug. Under Linux
 (just tried again with latest SVN version) one could always (as long
 as I can remember) compile and run projects without saving them. The
 IDE automatically saves the project to the global /tmp directory
 (which has read/write access for all users on the system). I would
 have thought under Windows it would use a similar process, using the
 logged-in users temp directory somewhere inside Documents and
 Settings directory.

Please try again first using a recent snapshot. I think this bug is
solved long ago..

Joost

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] OpenCL

2009-12-28 Thread dmitry boyarintsev
On Tue, Dec 22, 2009 at 2:26 PM, Lourival Mendes
mendes.louri...@gmail.com wrote:
 please correct me if I'm wrong, CUDA work only for NVidia and OpenCL
 should work for all GPU, right?
  and if I got the idea the OpenCL bindings submitted works only for
 Mac. Can I get and try it on Windows?

There some changes required at the header to be useful at Windows.
NVidia's OpenCL implementation is available as .dll

I've also tried to launch the Mac's hello world example, it did
compile fine, but failed with the error. (something was wrong with
OpenCL program, not pascal code... so much for being cross-platform
lib)...

Also, OpenCL is designed to be hardware independent layer, so, in
theory, it's NOT necessary to have powerful GPU card. If there's none
OpenCL lib would use CPU for processing. It would be slow, but still
should work.
I've tried Mac hello world sample on MacBook with slow Intel
integrated video, and the sample failed if GPU flag is set, but did
work for CPU mode.

thanks,
dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal