Hello guys!
I found this component, TOpenGLContext, and it seems to be what I'm
looking for. The problem is I got it from the personal files of
somebody:
http://is.muni.cz/th/139855/fi_b/lazarus/components/opengl/openglcontext.pas?lang=en
I wanted to know is there is an official site for this co
Oh, that's great. Thanks!
2007/11/25, Lord Satan <[EMAIL PROTECTED]>:
> On Sun, 25 Nov 2007 08:17:46 -0600
> "Marco Alvarado" <[EMAIL PROTECTED]> wrote:
>
> > Hello guys!
> >
> > I found this component, TOpenGLContext, and it seems to be what
Is there a unit like ScktComp in Lazarus, with a class like
TClientSocket for simple TCP communication? I think Indy is way too
big and complex for what I need.
Thanks!
-Marco
_
To unsubscribe: mail [EMAIL PROTECTED] with
;:
> On Mon, Nov 26, 2007 at 09:33:23AM -0600, Marco Alvarado wrote:
> > Is there a unit like ScktComp in Lazarus, with a class like
> > TClientSocket for simple TCP communication? I think Indy is way too
> > big and complex for what I need.
>
> Simple TCP Communication
I need to create my forms dynamically. In Delphi I just remove the
designed form from the main program, so it looks like this:
...
begin
Application.Initialize;
Application.Run;
end.
Later on, I just create new instances of my forms and assign it's
properties, i.e.:
...
AForm := TMyForm.Cr
Oh, forgot to tell, this part:
> ...
> begin
> Application.Initialize;
> Application.Run;
> end.
is inside an unit's initilization section. So the main program still
runs, creating the form. :D
2007/11/26, Vincent Snijders <[EMAIL PROTECTED]>:
> Marco Alvarado
should use some event of TApplication to make sure
the code executes in the right order. :)
2007/11/26, Mattias Gaertner <[EMAIL PROTECTED]>:
> On Mon, 26 Nov 2007 12:05:27 -0600
> "Marco Alvarado" <[EMAIL PROTECTED]> wrote:
>
> > Oh, forgot to tell,
The Lazarus project is really cool, and I'd like to contribute. Is
there any area that needs help?
Thanks!
-Marco
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://w
That's what I was looking for, thanks! :D
2007/11/27, Vincent Snijders <[EMAIL PROTECTED]>:
> Marco Alvarado schreef:
> > The Lazarus project is really cool, and I'd like to contribute. Is
> > there any area that needs help?
>
> There ar
I get the error at the bottom of this test in the OpenGLContext component:
unit OpenGLContext;
{$mode objfpc}{$H+}
{$IFDEF LCLGTK}
{$DEFINE UseGtkGLX}
{$DEFINE OpenGLTargetDefined}
{$ENDIF}
{$IFDEF LCLGTK2}
{$DEFINE UseGtk2GLX}
{$DEFINE OpenGLTargetDefined}
{$ENDIF}
{$IFDEF LCLCarbon}
Hmm, there doesn't seem to exist an LCL unit, but there are several
LCL units. I'm using win32 at the moment. Thanks :)
2007/11/27, Mattias Gaertner <[EMAIL PROTECTED]>:
> On Tue, 27 Nov 2007 11:42:32 -0600
> "Marco Alvarado" <[EMAIL PROTECTED]> wrote:
I just added all the template paths in the Compiler Options, and now
it works :D Thanks!
2007/11/27, Vincent Snijders <[EMAIL PROTECTED]>:
> Marco Alvarado schreef:
> > Hmm, there doesn't seem to exist an LCL unit, but there are several
> > LCL units. I'm us
Snijders <[EMAIL PROTECTED]>:
> Marco Alvarado schreef:
> > I just added all the template paths in the Compiler Options, and now
> > it works :D Thanks!
> >
> >
>
> Huh, template paths? What are those?
>
> I opened the
The application is running correctly in Windows, now I want to compile
it in Linux. I get just one error while linking:
/usr/bin/ld: cannot find -lGL
pruebabasicalinux.lpr(97,1) Error: Error while linking
pruebabasicalinux.lpr(97,1) Fatal: There were 1 errors compiling
module, stopping
I created
Oh look, I got the same error when compiling the TOpenGLContext example:
"Compiling package LazOpenGLContext 0.0" completed
/usr/bin/ld: cannot find -lGL
testopenglcontext1.lpr(14,1) Error: Error while linking
testopenglcontext1.lpr(14,1) Fatal: There were 1 errors compiling
module, stopping
What
are "clean" from delphi and/or kylix sources, have a look at those
> messages and see.
>
> R#
>
> 2007/11/27, Marco Alvarado <[EMAIL PROTECTED]>:
> > That's what I was looking for, thanks! :D
> >
> >
> > 2007/11/27, Vincent Snijders <[EMA
Hello!
1) I have solved all of my "unit not found" problems by adding all the
Path templates. Just go to the main menu > Project > Compiler Options,
and click the right [...] button for Other Unit Files and for Other
Sources. At the bottom of the dialog, you will see the Path templates,
just add a
I'm getting a SIGSEV too in Linux, exactly when the application
creates the TForm instance. The same application works ok in Windows.
I'm looking for a way around this problem.
Regards!
2007/11/29, Igor Zakhrebetkov <[EMAIL PROTECTED]>:
> Vincent Snijders пишет:
> > Is this when you run the appl
I'll once I get home to my linux box. Thanks!
2007/11/29, Mattias Gaertner <[EMAIL PROTECTED]>:
> On Thu, 29 Nov 2007 09:30:12 -0600
> "Marco Alvarado" <[EMAIL PROTECTED]> wrote:
>
> > I'm getting a SIGSEV too in Linux, exactly when the appli
helpful. :)
2007/11/29, Marco Alvarado <[EMAIL PROTECTED]>:
> I'll once I get home to my linux box. Thanks!
>
> 2007/11/29, Mattias Gaertner <[EMAIL PROTECTED]>:
> > On Thu, 29 Nov 2007 09:30:12 -0600
> > "Marco Alvarado" <[EMAIL PROTECTED]&
> > I saw the backtraces for the first time when testing the application
> > from GDB. And now that makes me remember something I wanted to ask: I
> > activate the "Debug output" window, but it doesn't show the lines
> > generated by DebugLn().
>
> Nope, debugger output is the internal logging of t
ated by DebugLn(). But when I ran the application from GDB, the
output of DebugLn() was shown.
Regards!
2007/11/30, Marc Weustink <[EMAIL PROTECTED]>:
> Marco Alvarado wrote:
> > So we don't need GDB?
>
> At this moment the lazarus debugger uses GDB.
>
> I'm
So we don't need GDB?
2007/11/30, Marc Weustink <[EMAIL PROTECTED]>:
> Marco Alvarado wrote:
> > GDB is just wonderful!!! It just helped me to solve the last errors in
> > my application and got the engine finally running in both Windows and
> > Linux :_D
> >
ut no :( Hope someday DebugLn will be connected to the debbuger.
Regards!
2007/11/30, Mattias Gaertner <[EMAIL PROTECTED]>:
> On Fri, 30 Nov 2007 10:27:43 -0600
> "Marco Alvarado" <[EMAIL PROTECTED]> wrote:
>
> > > > I saw the backtraces for the first time wh
So, is there any other option appart from DebugLn(), that works?
Regards!
-Marco
2007/12/1, Marc Weustink <[EMAIL PROTECTED]>:
> Marco Alvarado wrote:
> > It's a Win32 API function:
> >
> > http://msdn2.microsoft.com/en-us/library/aa363362.aspx
> >
> &g
Which are the equivalents of TBitmap.Transparent and
TBitmap.TransparentColor for TLazIntfImage?
Thanks!
-Marco
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www
Oh, ok. Thanks!
-Marco
2007/12/21, Marc Weustink <[EMAIL PROTECTED]>:
> Marco Alvarado wrote:
> > Which are the equivalents of TBitmap.Transparent and
> > TBitmap.TransparentColor for TLazIntfImage?
>
> There is none.
> The mask for TBitmap.TransparentColo
Their wiki is being attacked :P
http://acs.ullihome.de/acs/index.php/Talk:Main_Page
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/maila
Hello! In Free Pascal Compiler 2.0.4, is there a conditional define I
could check for DOS platform? I was looking around Google, but no
luck. If anyone can give me a link for the whole list of conditional
that will be even more appreciated!
Thanks!
-Marco
_
Hello!
There is an example on reading the keyboard hardware interrupt in the
FPC's GO32 unit reference:
http://www.math.uni-hamburg.de/it/software/fpk/units/node5.html#SECTION005212000
I tried to compile it, but throws so many errors, maybe it's not
updated for the new compiler. Does
2008/1/21, Damien Gerard <[EMAIL PROTECTED]>:
>
> On Jan 21, 2008, at 5:00 PM, Al Boldi wrote:
>
> > Joost van der Sluis wrote:
> >> Op maandag 21-01-2008 om 16:57 uur [tijdzone +0300], schreef Al
> >> Boldi:
> >>> Exactly right! The best feature is find declaration/implementation,
> >>> but this
You could try using TLazIntfImage.GetDataLineStart() instead.
I think you can modify your code this way:
...
for y := 0 to IntfImg.DataDescription.Height-1 do
DumpMem(PCardinal(IntfImg.GetDataLineStart(y)), IntfImg.DataDescription.Width);
...
Regards!
-Marco
2008/1/24, Luiz Americo Pereira Cam
I have a 2D/3D game engine that I've tested in Windows, Linux and DOS.
It works right, and probably will work right in other platforms as
well (i.e. Mac OS X). I'm not using the Lazarus form designer, but the
LCL works great from code.
Saludos!
-Marco
2008/1/28, Sergio Samayoa <[EMAIL PROTECTED]
I'm using it :D That's 1
2008/1/28, Sergio Samayoa <[EMAIL PROTECTED]>:
> Hi.
>
> I'm coming back to lazarus (again) because MacOSX and Linux raising and
> wondering how many users (developers) are using lazarus / FPC.
>
> Is some statistic somewhere?
>
> Regards.
>
> _
I first learned about Lazarus at http://www.pascalgamedevelopment.com/
-Marco
2008/1/28, Marius <[EMAIL PROTECTED]>:
> This is not the only lazarus meeting point. There are a couple of
> odinary forums (via http://www.lazarus.freepascal.org) and there is also
> a french (and a russian?) forum.
>
Isn't it lot easier to create an include file with all the defines,
and include it everywhere you need it? If you need several sets of
defines, just create higher level symbols that enable/disable those
sets.
Regards!
-Marco
2008/1/30, Graeme Geldenhuys <[EMAIL PROTECTED]>:
> On 29/01/2008, Giul
I just told a friend that has been programming in Turbo Pascal, about
Lazarus. We simply downloaded the latest version, installed, and just
took few seconds to show him how forms work, and how to create a
console application. :D
Regards!
-Marco
2008/1/31, Brad Campbell <[EMAIL PROTECTED]>:
> Bee
I want to read virtual keys with this function, but when trying to
compile my code in Ubuntu, I can't find the unit where it is defined
(if any) on Linux.
Had the idea it was available in both platforms, indeed in read it in
a forum. Also virtual key constants are defined in LCLType.pp.
Otherwise
I have this class that inherits TThread. I compile and execute
successfully an application that instantiates it with Delphi and
Lazarus, on Windows. But when I execute the same Lazarus project in
Ubuntu, I get the following error dialog:
Project raised exception class 'RunError(232)'.
When I clic
Oh, never mind, cthreads was missing :P
Found at http://bugs.freepascal.org/view.php?id=9597
Well, I'm happy! :D
2008/2/1, Marco Alvarado <[EMAIL PROTECTED]>:
> I have this class that inherits TThread. I compile and execute
> successfully an application that instantiates i
Thanks! Just a note on that, I added cthreads as first in the unit
that defines my TThread descendant and works!
-Marco
2008/2/1, Vincent Snijders <[EMAIL PROTECTED]>:
> Marco Alvarado schreef:
> > I have this class that inherits TThread. I compile and execute
> > succes
I'm using SetThreadAffinityMask() on Windows to set the processor for
a given TThread object. What can I use on Linux?
Thanks!
-Marco
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
der Linux on a 14-processor system and I can see it being spread fairly
> evenly, so this is getting pretty specialist.
>
> Micha Nelissen wrote:
> > Marco Alvarado wrote:
> >> I'm using SetThreadAffinityMask() on Windows to set the processor for
> >> a
> tmt1 is part of the test suite when FPC (Free Pascal, the compiler that
> underlies Lazarus) is built. Specifically, it tests threading and was broken
> until comparatively recently on SPARC and possibly some other non-x86
> platforms. I'd fired a big Sun up to specifically to check something rel
I'm having problems to make OpenGLContext work with threads. I have a
game loop inside a thread, and it is wrapped with a Synchronize(). I
know it's not an efficient way, but as a test this solved the "weird"
problems in Delphi (no keyboard response, exceptions, etc). Now in
Lazarus it doesn't work
Working with an "underground" language gives a cool feeling :D
-Marco
2008/2/6, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:
> Complain with whoever made the pool.
>
> Althougth that doesn't mean anything anyway.
>
> --
> Felipe Monteiro de Carvalho
>
> __
Is there a Pascal compiler for these virtual machines?
Java
Flash 8 (actionscript 2)
Flash 9 (actionscript 3)
Is the answer is no, can I build one? :-D I think it's a cool project
I'd love to work on, just to have Pascal applications on mobile
devices.
Regards!
-Marco
__
But that would be .NET... what about Java and Flash?
-Marco
2008/2/6, Marco van de Voort <[EMAIL PROTECTED]>:
> On Wed, Feb 06, 2008 at 03:26:48PM -0600, Marco Alvarado wrote:
> > Is there a Pascal compiler for these virtual machines?
> >
> > Java
> > Fla
s just a pessimistic paragraph, what about it? :D
2008/2/6, Marco van de Voort <[EMAIL PROTECTED]>:
> On Wed, Feb 06, 2008 at 03:49:23PM -0600, Marco Alvarado wrote:
> > But that would be .NET... what about Java and Flash?
>
If it doesn't exist already, I would like to make an un-perfect,
simplistic, full of missing features, Pascal compiler that allows me
to write Pascal programs for those virtual machines that have
penetrated interesting platforms like web embedded applications,
mobile devices, PSP, Wii, etc.
I have
2008/2/6, Wanderlan Santos dos Anjos <[EMAIL PROTECTED]>:
> Options for a Pascal compiler which targets Java:
>
> 1. http://www.mhccorp.com/pasjvm.shtml
> 2. http://en.wikipedia.org/wiki/MIDletPascal. Dead product?
> Download: http://www.softlookup.com/display.asp?id=157709
I know MIDletPascal, an
I've been investigating, and came to the conclussion that the best
compiler I can do IS NOT a compiler, BUT an specialiced translator. I
could use customizable templates to transform Pascal code into each
VM's natural language, then take advantage of the command-line
compilers for those VMs. There
> The guys at mhccorp, did the same:
>
> http://www.mhccorp.com/java.shtml
>
> But, its a closed source project.
>
> In their pages, they said, they made an Object Pascal To Java translator,
> and later a Object Pascal to JVM assembler translator.
Yes the idea is having it Open Source, and for at
> But, how knows ? Maybe the games you want to migrate to JVM-based
> phones, can be fun and even profit !!! ;-)
Many games can be migrated to VM's that don't need a lot of processing
power, think about the best selling Tetris ;D
Also, what happens if a compiler maker or chipset builder finds out
I'm building right now a translator of Object Pascal to ECMAscript. I
just need a common run-time library, which I'm building on top of
FPC's RTL and the LCL. If someone wants to have a portable
application, they just have to use the classes of the Virtual Machine
Library (VML, not to confuse with
2008/2/7, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:
> Unfortunately I don't have time to build that, but I would try to help
> if someone starts such a project.
I'm doing it now!! Once I get a hello-world translated, I'll start
releasing the source code.
Regards!
-Marco
__
2008/2/7, Sam Liddicott <[EMAIL PROTECTED]>:
> Can I suggest you also look at the Alma project on freshmeat.net
>
> Sam
Yes, but it's not only about language translation, indeed this is the
easiest part. The real problem is creating a virtual machine library
that is common between the different pl
Nice shirt heheh :D
2008/2/7, mramirez <[EMAIL PROTECTED]>:
> Quoting Alexsander Rosa <[EMAIL PROTECTED]>:
>
> > http://www.linuxjournal.com/node/1006101
> >
> > 18. What is your favorite programming language?
>
> OBJECT Pascal. Not your parents' pascal ;-)
>
> Cheers.
> mramirez
>
> _
58 matches
Mail list logo