Recent

Author Topic: BGRABitmapLibrary (.dll and so on...)  (Read 11463 times)

circular

  • Hero Member
  • *****
  • Posts: 4471
    • Personal webpage
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #15 on: April 30, 2015, 01:57:59 am »
2.6.4 does not seem too exotic. I suppose 64-bit versions are not as reliable.
Downloaded bgrabitmap8.4 one hour ago => same error...
Strange. Well anyway it is an IntPtr.
« Last Edit: April 30, 2015, 02:06:31 am by circular »
Conscience is the debugger of the mind

Fred vS

  • Hero Member
  • *****
  • Posts: 3882
    • StrumPract is the musicians best friend
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #16 on: April 30, 2015, 04:08:33 am »
Yep, yep, yep => it compiles and links with Linux 64 now.  ;)

And the Hero who does it is...  CodeTyphon.  :-X

I have try to compile the bgra_pascalscript_library.lpr using pl_BGRABitmap (the one given by CodeTyphon) with fpc 3.0.1 and... it works.  :)

Even for the Java library...

In attachment =>  bgra_pascalscript_library.lpr (native and java) + jni.pas (needed for java).

ASAP i will do a Java demo and a BGRABitmap.class (kind of header in Java).

PS: There is a alternative to LazUtils that works with fpc 3.0.1 ==> bs_Utils.lpk (from CodeTyphon)

Fre;D
« Last Edit: April 30, 2015, 04:30:05 am by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

circular

  • Hero Member
  • *****
  • Posts: 4471
    • Personal webpage
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #17 on: April 30, 2015, 09:54:17 am »
Cool.

Does bs_Utils contain LazFreeType?
Conscience is the debugger of the mind

Fred vS

  • Hero Member
  • *****
  • Posts: 3882
    • StrumPract is the musicians best friend
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #18 on: April 30, 2015, 05:32:53 pm »
Quote
Does bs_Utils contain LazFreeType?
Yes.
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

circular

  • Hero Member
  • *****
  • Posts: 4471
    • Personal webpage
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #19 on: April 30, 2015, 06:59:42 pm »
Ok so that solves it. Thank you CodeTyphon  :)
Conscience is the debugger of the mind

Fred vS

  • Hero Member
  • *****
  • Posts: 3882
    • StrumPract is the musicians best friend
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #20 on: May 01, 2015, 12:58:55 pm »
Hello.  :)

In attachment demo-test of BGRABitmap library used by Java.
Unzip it in /bgra-controls/bgra_java_library/java
Please read ReadMe.txt in /java/.

bgra_pascalscript_library.lpr must be compiled with =>
Code: [Select]
{$DEFINE Java}
Fre;D
« Last Edit: May 01, 2015, 01:24:18 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

lainz

  • Hero Member
  • *****
  • Posts: 4742
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #21 on: May 01, 2015, 01:24:16 pm »
Hello.  :)

In attachment demo-test of BGRABitmap library used by Java.
Please read ReadMe.txt in /java/.

bgra_pascalscript_library.lpr must be compiled with =>
Code: [Select]
{$DEFINE Java}
Fre;D

You have svn access, when you want you can upload it to the repository with your sourceforge account.

Now it is using BGRABitmap4nogui, not sure if you can compile with this new package. If not, just remove from the project inspector and just add bgracontrols as dependency.
« Last Edit: May 01, 2015, 01:25:53 pm by 007 »

Fred vS

  • Hero Member
  • *****
  • Posts: 3882
    • StrumPract is the musicians best friend
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #22 on: May 01, 2015, 01:26:04 pm »
Quote
You have svn access, when you want you can upload it to the repository whit your sourceforge account.

Hmmm, i am a GitHub user and i did not catch how to upload in svn  :-[
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

lainz

  • Hero Member
  • *****
  • Posts: 4742
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #23 on: May 01, 2015, 01:34:44 pm »
Quote
You have svn access, when you want you can upload it to the repository whit your sourceforge account.

Hmmm, i am a GitHub user and i did not catch how to upload in svn  :-[

ok. just using tortoise svn is quite easy. http://tortoisesvn.net/downloads.html, if you are using linux there is an alternative RabbitVCS, but not tested it..

Using Tortoise SVN:
- create a new folder called bgracontrols
- right click, press SVN Checkout...
- in URL of repositore paste this: svn+ssh://fredvs@svn.code.sf.net/p/bgra-controls/code/
- hit OK
- put your sourceforge password (you will need to use it each time you commit or do something..)
- when its done click OK
- right click, SVN Commit... with this you can update the repository, write a log and put ok, the password again and done.

Fred vS

  • Hero Member
  • *****
  • Posts: 3882
    • StrumPract is the musicians best friend
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #24 on: May 01, 2015, 01:42:52 pm »
Quote
ok. just using tortoise svn is quite easy. http://tortoisesvn.net/downloads.html, if you are using linux there is an alternative RabbitVCS, but not tested it..

Using Tortoise SVN:
- create a new folder called bgracontrols
- right click, press SVN Checkout...
- in URL of repositore paste this: svn+ssh://fredvs@svn.code.sf.net/p/bgra-controls/code/
- hit OK
- put your sourceforge password (you will need to use it each time you commit or do something..)
- when its done click OK
- right click, SVN Commit... with this you can update the repository, write a log and put ok, the password again and done.
Oops, many things to study here, ok thanks for help, i will do it (ASAP  :-X:-[

Quote
Now it is using BGRABitmap4nogui, not sure if you can compile with this new package. If not, just remove from the project inspector and just add bgracontrols as dependency.
Yep, indeed i just download new release but... i have to wait that Sternas check it and integrate it to Typhon because it is not working for Linux.
By the way, you may test the Java demo with Windows, it must work.

Fre;D
« Last Edit: May 01, 2015, 01:55:49 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

lainz

  • Hero Member
  • *****
  • Posts: 4742
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #25 on: May 01, 2015, 01:58:05 pm »
Ok don't worry, you can wait until it is fixed for code typhoon.

Try uploading, if you can't just tell me and I will upload the java demo.

Nice, It is working with Java x64.
Now I can really see the power of java, you compiled it under linux and I just ran it under Windows with no need of compiling :)

Fred vS

  • Hero Member
  • *****
  • Posts: 3882
    • StrumPract is the musicians best friend
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #26 on: May 01, 2015, 02:08:23 pm »
Quote
Try uploading, if you can't just tell me and I will upload the java demo.
Hmmm, i will try but i think that it will be easier if you upload the first java demo.  ::)
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3882
    • StrumPract is the musicians best friend
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #27 on: May 01, 2015, 02:17:23 pm »
Quote
Nice, It is working with Java x64.
And if you are kind, i will add a Python demo using BGRABitmap Library....  ;)

Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

lainz

  • Hero Member
  • *****
  • Posts: 4742
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: BGRABitmapLibrary (.dll and so on...)
« Reply #28 on: May 01, 2015, 02:23:34 pm »
Sure, add it too.

 

TinyPortal © 2005-2018