Re: Installing DMD on linux via snap

2022-05-18 Thread Jordi Sayol via Digitalmars-d-learn
El 18/5/22 a les 17:24, matheus via Digitalmars-d-learn ha escrit: Yesterday I needed to install DMD on a fresh installed version of Linux, so since I was using Xubuntu I decided to use snap. $ sudo wget

Re: Offline D documentation/tutorial

2022-02-13 Thread Jordi Sayol via Digitalmars-d-learn
El 13/2/22 a les 12:22, frame via Digitalmars-d-learn ha escrit: On Sunday, 13 February 2022 at 00:17:26 UTC, rikki cattermole wrote: There are some files available at https://d-apt.sourceforge.io/ It would also nice to have a up-to-date CHM version of https://github.com/a11e99z/DlangChm

Re: MobI? Really?

2021-09-18 Thread Jordi Sayol via Digitalmars-d-learn
El 18/9/21 a les 22:40, Chris_D via Digitalmars-d-learn ha escrit: The "D Programming Language Specification" seems to be the most important documentation for D.  Is it really only available as Mobi?  That is the most bizarre choice of format I've ever seen.   Chris

Re: Packaging and Distributing Dlang Applications with GtkD Dependency?

2019-09-28 Thread Jordi Sayol via Digitalmars-d-learn
El 25/9/19 a les 13:46, Ron Tarrant via Digitalmars-d-learn ha escrit: > Hi y'all, > > I've been Googling how to do this, but coming up with nothing definitive. Are > there any articles for how to do this for: > > Windows? > Linux? > other UNIX-alike OSs? On Bebian/Ubuntu/Linux Mint, You have

Re: Linux & DMD & GtkD

2019-02-17 Thread Jordi Sayol via Digitalmars-d-learn
El 17/2/19 a les 15:19, Jordi Sayol ha escrit: > Then you can compile/run a GtkD example contained on gtkd doc archive. To do > that just run the next line: > > $ dmd `pkg-config --cflags --libs gtkd-3` -run > /usr/share/libgtkd3-doc/demos/gtkD/TestWindow/*.d -ofTestWindow So

Re: Linux & DMD & GtkD

2019-02-17 Thread Jordi Sayol via Digitalmars-d-learn
El 16/2/19 a les 14:35, Ron Tarrant via Digitalmars-d-learn ha escrit: > Hi guys, > > I finally got a Linux Mint installation happening (very impressed, BTW) and > did the usual HelloWorld.d compile with dmd, but I'm having trouble working > out how to link to GtkD. > > dmd -de -w -m64 -L+gtkd

Re: dmd-2.078.2 problems with Ubuntu 17.10 32Bit

2018-02-17 Thread Jordi Sayol via Digitalmars-d-learn
El 17/02/18 a les 18:49, Martin Tschierschke via Digitalmars-d-learn ha escrit: > But the installation via apt-get is not working without the steps already > mentioned in the post before! (s/http/https/  and manually import of the > public key) "d-apt.list" file fixed! (s/http/https/) d-apt

Re: dmd-2.078.2 problems with Ubuntu 17.10 32Bit

2018-02-13 Thread Jordi Sayol via Digitalmars-d-learn
El 13/02/18 a les 08:03, Martin Tschierschke via Digitalmars-d-learn ha escrit: > On Monday, 12 February 2018 at 21:18:01 UTC, Jordi Sayol wrote: >> El 12/02/18 a les 21:56, Martin Tschierschke via Digitalmars-d-learn ha >> escrit: >>> I just started to play around wit

Re: dmd-2.078.2 problems with Ubuntu 17.10 32Bit

2018-02-12 Thread Jordi Sayol via Digitalmars-d-learn
El 12/02/18 a les 21:56, Martin Tschierschke via Digitalmars-d-learn ha escrit: > I just started to play around with D again on my notebook at home and > realized, > that I have a broken installation. > Even the minimal D "hello world" throws an error at execution. > Speicherzugriffsfehler

Re: D, GTK, Qt, wx,…

2016-05-29 Thread Jordi Sayol via Digitalmars-d-learn
El 29/05/16 a les 13:03, Russel Winder via Digitalmars-d-learn ha escrit: > GKT+ has a reputation for being dreadful on OSX and even worse on > Windows. Qt on the other hand has a reputation for being the most > portable – though clearly wx is (arguable) the most portable. > > We have GtkD which

Re: Let dmd or ldc be easy to setup on Ubuntu

2015-12-22 Thread Jordi Sayol via Digitalmars-d-learn
El 22/12/15 a les 18:28, Jordi Sayol via Digitalmars-d-learn ha escrit: > "d-lang" splits it in few deb packages: s/d-lang/d-apt/

Re: Let dmd or ldc be easy to setup on Ubuntu

2015-12-22 Thread Jordi Sayol via Digitalmars-d-learn
El 22/12/15 a les 16:38, FrankLike via Digitalmars-d-learn ha escrit: > sudo apt-get install dmd ← it's error. dmd_2.069.2-0-amd64.deb from http://downloads.dlang.org/ is an all-in-one deb package, containing all the tools and libraries for each release. "d-lang" splits it in few deb packages:

Re: Hello World Example with Glade?

2015-09-11 Thread Jordi Sayol via Digitalmars-d-learn
El 11/09/15 a les 09:13, Mike McKee via Digitalmars-d-learn ha escrit: > On Friday, 11 September 2015 at 06:53:07 UTC, Mike James wrote: >> There's a Glade example in the demos/builder directory... > > I'm having trouble installing GtkD on Ubuntu Linux 14.04. I did the apt steps > from here: >

Re: Hello World Example with Glade?

2015-09-11 Thread Jordi Sayol via Digitalmars-d-learn
El 11/09/15 a les 11:05, Jordi Sayol via Digitalmars-d-learn ha escrit: > El 11/09/15 a les 09:13, Mike McKee via Digitalmars-d-learn ha escrit: >> On Friday, 11 September 2015 at 06:53:07 UTC, Mike James wrote: >>> There's a Glade example in the demos/builder directory... >&g

Re: tkd - basic compilation problem

2015-07-01 Thread Jordi Sayol via Digitalmars-d-learn
El 30/06/15 a les 16:28, Paul via Digitalmars-d-learn ha escrit: Using dub I get this during linking: Building tkd-test ~master configuration application, build type debug. Compiling using dmd... Linking... /usr/bin/ld: cannot find -ltcl /usr/bin/ld: cannot find -ltk ...any suggestions

Re: Can't install dub on Debian

2014-11-13 Thread Jordi Sayol via Digitalmars-d-learn
/dub/dub_0.9.22-0_amd64.deb/download I cannot assure that you will be able to install this dub deb package because it is designed for multi-arch systems. Regards, -- Jordi Sayol

Re: Configuring Phobos from the 1-click installer

2014-05-11 Thread Jordi Sayol via Digitalmars-d-learn
current directory, on you home directory or on dmd command directory (/usr/bin/). Any dmd.conf file on these places, overrides /etc/dmd.conf Take a look at: $ cat /etc/dmd.conf Regard, -- Jordi Sayol

Re: Installing 32 bit libcurl.so.4 on Ubuntu

2014-04-09 Thread Jordi Sayol
El 09/04/14 05:31, Walter Bright ha escrit: Anyone know how? sudo apt-get install curl doesn't do it. curl runtime library: sudo apt-get install libcurl3 curl development library: sudo apt-get install libcurl4-openssl-dev Regards, -- Jordi Sayol

Re: Installing 32 bit libcurl.so.4 on Ubuntu

2014-04-09 Thread Jordi Sayol
system: sudo apt-get install libcurl3:i386 libcurl4-openssl-dev 32-bit is not installable on 64-bit system due to dependencies. Regards, -- Jordi Sayol

Re: Installing 32 bit libcurl.so.4 on Ubuntu

2014-04-09 Thread Jordi Sayol
El 09/04/14 09:46, Jordi Sayol ha escrit: [...] 32-bit libcurl4-openssl-dev on 64-bit system: sudo apt-get install libcurl3:i386 [...] typo, it should be: 32-bit libcurl3 library on 64-bit system: sudo apt-get install libcurl3:i386 -- Jordi Sayol

Re: GtkD - how to install

2013-12-22 Thread Jordi Sayol
on linux (openSUSE 13.1), but if I'll get help on Windows, I'll be happy too. Thank you There is http://d-apt.sourceforge.net/ for Debian Linux. -- Jordi Sayol

Re: migrating to 64 bit

2013-12-16 Thread Jordi Sayol
it is creating 32 bit object files? Or is this not possible? AFAIK, 32-bit dmd will always compile to 32-bit by default, so -m32 flag is not needed even if compiling on 64-bit windows. To compile to 64-bit use -m64. -- Jordi Sayol

Re: How to install dmd2 in centos 5.3 x64

2013-12-03 Thread Jordi Sayol
on where the problem is? I don't have much experience in linux except using apt-get in ubuntu. On Debian based systems, like Ubuntu, you can use d-apt repository: http://d-apt.sourceforge.net/ Thanks. Puming. -- Jordi Sayol

Re: How to install dmd2 in centos 5.3 x64

2013-12-03 Thread Jordi Sayol
El 03/12/13 14:10, Puming ha escrit: On Tuesday, 3 December 2013 at 11:17:27 UTC, Jordi Sayol wrote: El 03/12/13 11:43, Puming ha escrit: Hi: I followed the steps in http://dlang.org/dmd-linux.html, but when I build a simple hello world program with: rdmd hello.d I get the following

Re: shared phobos 2.064, ubuntu 12.04

2013-11-29 Thread Jordi Sayol
this `collision`? This is a known issue: https://d.puremagic.com/issues/show_bug.cgi?id=11543 The only workaround I know is to link against static phobos library. -- Jordi Sayol

Re: D scientific graphics

2013-11-23 Thread Jordi Sayol
El 22/11/13 17:14, Jordi Sayol ha escrit: El 22/11/13 16:55, seany ha escrit: Hello, is there a D pacakge for scientific graphing, a la pyvis (http://pyvis.sourceforge.net/) for python? I took a look at the wiki page: http://wiki.dlang.org/Libraries_and_Frameworks This page

Re: D scientific graphics

2013-11-22 Thread Jordi Sayol
There's a David Simcha project: https://github.com/dsimcha/Plot2kill/wiki/Overview Unfortunately it is not developed for about one year and don't properly compile with the current dmd release. -- Jordi Sayol

Re: curl linux

2013-09-28 Thread Jordi Sayol
on. -- Jordi Sayol

Re: curl linux

2013-09-28 Thread Jordi Sayol
On 28/09/13 14:41, Alexandr Druzhinin wrote: 28.09.2013 17:06, Jordi Sayol пишет: On 28/09/13 10:28, Alexandr Druzhinin wrote: I use curl in my application. If I link it with -lcurl - symbols are undefined (libcurl3 installed), if I link with -lphobos2 - it links. So curl is linked

Re: How compile program with curl support?

2013-08-22 Thread Jordi Sayol
or something. -- Jordi Sayol

Re: [GtkD] linux shared library names

2013-08-07 Thread Jordi Sayol
Compile GtkD libraries and recompile your project. Regards, -- Jordi Sayol

Re: std.net.curl is not working?

2013-04-26 Thread Jordi Sayol
-get install libcurl4-openssl-dev or $ sudo apt-get install libcurl4-gnutls-dev or $ sudo apt-get install libcurl4-nss-dev I forget to mention that i am using DMD64 D Compiler v2.062. Is std.net.curl working in this Version? Because it also didnt work on my Windows 7 System. -- Jordi

Re: gtkD problem

2013-04-04 Thread Jordi Sayol
://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows C:\testdir dmd test.d -IC:\path\to\gtkd\source\dir -L C:\path\to\GtkD.lib -L/SUBSYSTEM:WINDOWS It worked fine. Regards, -- Jordi Sayol

Re: gtkD problem

2013-01-28 Thread Jordi Sayol
-runtime_3.6.1_64-bit.exe Gtk+2: http://gtkd-packages.googlecode.com/files/gtk2-runtime_2.24.10_32-bit.exe Regards, -- Jordi Sayol

Re: gtkD problem

2013-01-28 Thread Jordi Sayol
Al 28/01/13 15:08, En/na SaltySugar ha escrit: On Monday, 28 January 2013 at 13:20:31 UTC, SaltySugar wrote: On Monday, 28 January 2013 at 13:15:09 UTC, Jordi Sayol wrote: Al 28/01/13 13:43, En/na SaltySugar ha escrit: I have one problem. I compiled gtkD ad my first program successfully

gtkd shared libraries

2013-01-21 Thread Jordi Sayol
at: http://dsource.org/projects/gtkd/wiki/CodeExamples to link against shared libraries: $ dmd `pkg-config --cflags --libs gtkd-2` gtkd_app.d to link against static libraries: $ dmd `pkg-config --cflags --libs gtkd-2-static` gtkd_app.d P.S. This is just for testing. -- Jordi Sayol

How to use a function without their sources

2013-01-18 Thread Jordi Sayol
Is there a way to use a function from a static D library without importing their D sources nor their DI interface? -- Jordi Sayol

Re: How to use a function without their sources

2013-01-18 Thread Jordi Sayol
Al 18/01/13 18:47, En/na nazriel ha escrit: On Friday, 18 January 2013 at 17:02:51 UTC, Jordi Sayol wrote: Is there a way to use a function from a static D library without importing their D sources nor their DI interface? lib.d: extern(C) void printf(const char*, ...); void foo

Is this a bug?

2013-01-15 Thread Jordi Sayol
: 9223372036854775807 ulong.max value is incorrect Tested with dmd version 2.056, 2.057, 2.058, 2.059, 2.060 and 2.061 No problem when compiling to 32-bit. -- Jordi Sayol

Re: UTF-8 strings and endianness

2012-10-29 Thread Jordi Sayol
Al 29/10/12 16:17, En/na denizzzka ha escrit: Hi! How to convert D's string to big endian? How to convert to D's string from big endian? UTF-8 is always big emdian. -- Jordi Sayol

Re: Why doesn't DMD recreate folder structure when using multiple .d files and -H?

2012-10-13 Thread Jordi Sayol
-Hdinclude -- Jordi Sayol

Re: Good D book

2012-10-13 Thread Jordi Sayol
://ddili.org/ders/d.en/index.html It's available on-line and as pdf file. Regards, -- Jordi Sayol

Re: GUI development libraries in D?

2012-09-25 Thread Jordi Sayol
Al 25/09/12 23:52, En/na Matthew Turner ha escrit: Hello, I'm wondering if there is any library for making a GUI with D. If not, what would you recommend for that? Could I just use c++ libraries? https://github.com/gtkd-developers/GtkD -- Jordi Sayol

Re: Learning D in Atlanta

2012-08-30 Thread Jordi Sayol
a really nice book in Turkish to learn D from scratch, that is partially translated to English. http://ddili.org/ders/d.en/index.html It's available on-line and as pdf file. Regards, -- Jordi Sayol

Re: Looking for D Programming tutorials

2012-08-05 Thread Jordi Sayol
translated to English. http://ddili.org/ders/d.en/index.html It's available on-line and as pdf file. Regards, -- Jordi Sayol

Re: Is there a graphing library for D?

2012-07-17 Thread Jordi Sayol
. at: https://code.google.com/p/d-apt/wiki/APT_Repository -- Jordi Sayol

Re: Writing .di files

2012-06-17 Thread Jordi Sayol
Al 17/06/12 16:04, En/na Minas ha escrit: Is there a good tutorial about how to write .di files? http://dlang.org/dmd-linux.html#interface_files -- Jordi Sayol

Re: D under Linux Mint

2012-05-23 Thread Jordi Sayol
get the same errors In Linux Mint you can install deb packages from http://dlang.org/download.html 32-bit: http://ftp.digitalmars.com/dmd_2.059-0_i386.deb 64-bit: http://ftp.digitalmars.com/dmd_2.059-0_amd64.deb They work out of the box. -- Jordi Sayol

Re: Errors compiling programs using Derelict 3 under DMD 2

2012-05-12 Thread Jordi Sayol
-d In Debian, Ubuntu, LinuxMint, etc. you can use Derelict3 deb package from https://code.google.com/p/d-apt/wiki/APT_Repository It includes a pkg-config configuration file: $ dmd `pkg-config --cflags --libs derelict` my_derelict_app.d -- Jordi Sayol

Re: How to make a directory?

2012-05-01 Thread Jordi Sayol
net interfaces. -- Jordi Sayol

Re: Strange measurements when reproducing issue 5650

2012-04-25 Thread Jordi Sayol
Al 25/04/12 13:27, En/na SomeDude ha escrit: On Wednesday, 25 April 2012 at 08:34:40 UTC, SomeDude wrote: Noone reproduces this ? My results in Linux: 32-bit executable: About 574ms, with or without writeln. 64-bit executable: About 798ms, with or without writeln. -- Jordi Sayol

Re: BigInt Bug or just me?

2012-04-21 Thread Jordi Sayol
-- Jordi Sayol

Re: BigInt Bug or just me?

2012-04-21 Thread Jordi Sayol
in a Linux 64-bit. -- Jordi Sayol

Re: Read a unicode character from the terminal

2012-03-31 Thread Jordi Sayol
Many thanks to be so educational. Best regards, -- Jordi Sayol

Re: Read a unicode character from the terminal

2012-03-31 Thread Jordi Sayol
BTW, for those who do not know, Ali Çehreli is writing a book to learn D from scratch. It's very educational. There are two formats: HTML (on-line) and PDF. http://ddili.org/ders/d.en/index.html Best regards, -- Jordi Sayol

Re: Installing x32 packages on x64 debian (or fix a dmd bug)

2012-03-27 Thread Jordi Sayol
, You can compile to 64-bit adding -m64 as argument. Of course, you'll not allowed to run a 64-bit binary on a x32 platform. Best regards, -- Jordi Sayol

Re: Installing x32 packages on x64 debian (or fix a dmd bug)

2012-03-27 Thread Jordi Sayol
Al 27/03/12 12:40, En/na simendsjo ha escrit: On Tue, 27 Mar 2012 12:18:45 +0200, Jordi Sayol g.sa...@yahoo.es wrote: Al 27/03/12 11:52, En/na simendsjo ha escrit: This might not be the best forum to ask, but as it relates a dmd bug, I hope others here have found a workaround. I'm using

Re: SONAME and D

2012-02-24 Thread Jordi Sayol
with dmd ? dmd -L-soname=mylib.so.1 Thanks i will do so a $(SONAME_FLAG) in my makefile and maybe i will do a pull request for gtkd because ldc do not use -L-soname instead of dmd Are you able to build dynamic libraries directly with DMD? How? -- Jordi Sayol

Re: SONAME and D

2012-02-24 Thread Jordi Sayol
making a shared object; recompile with -fPIC /usr/lib/libphobos2.a: could not read symbols: Bad value collect2: ld returned 1 exit status --- errorlevel 1 -- Jordi Sayol

Re: SONAME and D

2012-02-24 Thread Jordi Sayol
foo.d -m32 -offoo.so.0.0.1 generate the incorrect foo.so.0.0.so file name. but with: $ dmd -fPIC -shared foo.d -m32 -L-ofoo.so.0.0.1 the correct foo.so.0.0.1 file name is created. Best regards, -- Jordi Sayol

Re: SONAME and D

2012-02-24 Thread Jordi Sayol
Al 24/02/12 20:21, En/na Ellery Newcomer ha escrit: On 02/24/2012 06:27 AM, Jordi Sayol wrote: It compiles to 32-bit but fails for 64-bit, maybe due to compiled libphobos2 (64-bit) without -fPIC argument? What? -shared works with 32-bit? Holy crap, it does! this is awesome! maybe

Re: SONAME and D

2012-02-24 Thread Jordi Sayol
Al 24/02/12 20:45, En/na H. S. Teoh ha escrit: On Fri, Feb 24, 2012 at 08:36:03PM +0100, Jordi Sayol wrote: [...] better wait till libphobos2.a becomes libphobos2.so [...] You might have to wait a while for that. AFAIK there are no plans currently to make phobos available as a shared

Re: A GUI library to begin with

2012-02-09 Thread Jordi Sayol
will be in. As for now, I would use GtkD ;-) There is some other interesting option, but in an early stage: http://repo.or.cz/w/girtod.git -- Jordi Sayol

Re: gtkD problems and general gui question.

2011-10-18 Thread Jordi Sayol
Al 18/10/11 17:08, En/na Jordi Sayol ha escrit: Al 18/10/11 16:44, En/na %u ha escrit: Hello. I downloaded gtkD MS Windows installer, and I tried to compile one of the examples shown on the gtkD website: http://www.dsource.org/projects/gtkd There is not GtkD MS Windows installer on gtkd