Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Elie Morisse via Digitalmars-d-announce
On Tuesday, 19 May 2015 at 08:02:47 UTC, Suliman wrote: Oh, I forgot to fix path at: "/etc/ldc.conf" Am I right understand that: C:/Program Files (x86)/ldc/lib = C:\Program Files (x86)\mingw-w64\i686-4.9.2-posix-dwarf-rt_v4-rev2\mingw32\lib ? Or I can't find more proper folder The Unix path

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Elie Morisse via Digitalmars-d-announce
On Monday, 18 May 2015 at 12:27:35 UTC, Kagamin wrote: BTW how does it rely on having everything on the D side? Maybe it's enough to have just instance size and method symbols? I'm not sure what you mean. But then there's problem with this inference: what if the type is intended to be used as

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Kelly via Digitalmars-d-announce
On Tuesday, 19 May 2015 at 19:57:45 UTC, Suliman wrote: import (C++) GDALWarpOperation; import (C++) GDALAccess; import (C++) GDALWarpOptions; How do you understand which files should be imported? These aren't files being imported, they are classes/structs/templates being imported for use

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Elie Morisse via Digitalmars-d-announce
On Sunday, 17 May 2015 at 13:37:45 UTC, Suliman wrote: Where set where Calypso should look header files? It works the same as in C++, there are the standard header paths: /usr/include, /usr/include/c++/4.9, /usr/local/include And to add another header search path you can pass options to Cla

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Elie Morisse via Digitalmars-d-announce
On Tuesday, 19 May 2015 at 17:44:38 UTC, CraigDillabaugh wrote: Just to clarify then. If gdalwarper.h includes gdal.h and GDALDatasetH is declared in gdal.h, then gdal.h gets imported too? Craig So to give a more straight answer, modmap "is" an #include directive so every header gdalwarper

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Elie Morisse via Digitalmars-d-announce
On Tuesday, 19 May 2015 at 17:44:38 UTC, CraigDillabaugh wrote: Just to clarify then. If gdalwarper.h includes gdal.h and GDALDatasetH is declared in gdal.h, then gdal.h gets imported too? Craig On Tuesday, 19 May 2015 at 19:57:45 UTC, Suliman wrote: How do you understand which files shoul

Re: Monday is last day for DConf 2015 registrations

2015-05-19 Thread Brad Anderson via Digitalmars-d-announce
On Monday, 18 May 2015 at 19:59:08 UTC, Steven Schveighoffer wrote: [snip] I just booked a car, but could cancel it. Anyone from the area know whether it's worth having a car there or should I just book a shuttle to/from the airport? The Salt Lake and Utah county areas are a bit of a sprawl

LMDB (Symas Lightning MDB) bindings

2015-05-19 Thread ketmar via Digitalmars-d-announce
here[1] you can get LMDB[2] bindings. there is no high-level D-style API, only C API translation. i'm not sure if it needs D-style API at all, as most likely you will write your own wrappers for your data types anyway. [1] http://repo.or.cz/w/iv.d.git/blob_plain/HEAD:/lmdb.d [2] http://symas.com

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Suliman via Digitalmars-d-announce
import (C++) GDALWarpOperation; import (C++) GDALAccess; import (C++) GDALWarpOptions; How do you understand which files should be imported? GDALWarpOptions* psWarpOptions = GDALCreateWarpOptions(); GDALWarpOptions* is type? would: auto psWarpOptions = GDALCreateWarpOptions(); work? Windo

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread CraigDillabaugh via Digitalmars-d-announce
On Tuesday, 19 May 2015 at 17:31:07 UTC, Kelly wrote: On Tuesday, 19 May 2015 at 16:33:00 UTC, CraigDillabaugh wrote: On Tuesday, 19 May 2015 at 08:09:33 UTC, Suliman wrote: modmap (C++) ""; import std.stdio; void main() { GDALDatasetH hSrcDS, hDstDS; GDALAllRegister();

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Kelly via Digitalmars-d-announce
On Tuesday, 19 May 2015 at 16:33:00 UTC, CraigDillabaugh wrote: On Tuesday, 19 May 2015 at 08:09:33 UTC, Suliman wrote: modmap (C++) ""; import std.stdio; void main() { GDALDatasetH hSrcDS, hDstDS; GDALAllRegister(); writeln("hello"); } error: app.d(7): Error: undefi

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Kelly via Digitalmars-d-announce
On Tuesday, 19 May 2015 at 08:09:33 UTC, Suliman wrote: modmap (C++) ""; import std.stdio; void main() { GDALDatasetH hSrcDS, hDstDS; GDALAllRegister(); writeln("hello"); } error: app.d(7): Error: undefined identifier GDALDatasetH app.d(7): Error: undefined identifier

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread CraigDillabaugh via Digitalmars-d-announce
On Tuesday, 19 May 2015 at 08:09:33 UTC, Suliman wrote: modmap (C++) ""; import std.stdio; void main() { GDALDatasetH hSrcDS, hDstDS; GDALAllRegister(); writeln("hello"); } error: app.d(7): Error: undefined identifier GDALDatasetH app.d(7): Error: undefined identifier

Re: Visual D 0.3.41 released

2015-05-19 Thread Dominikus Dittes Scherkl via Digitalmars-d-announce
Sorry for my last post - the system somehow eat my message On Saturday, 16 May 2015 at 09:09:38 UTC, Rainer Schuetze wrote: Hi, there is a new release of Visual D available at http://rainers.github.io/visuald/visuald/StartPage.html Cool. How is the site under "D / Getting Started / IDE" up

Re: Visual D 0.3.41 released

2015-05-19 Thread Dominikus Dittes Scherkl via Digitalmars-d-announce
On Saturday, 16 May 2015 at 09:09:38 UTC, Rainer Schuetze wrote: Hi, there is a new release of Visual D available at http://rainers.github.io/visuald/visuald/StartPage.html Major new features: - new linker option "build and use local phobos library" to get a COFF32 version (dmd 2.067+) or a

Re: D talk at Silicon Valley ACCU

2015-05-19 Thread Rory McGuire via Digitalmars-d-announce
On Mon, May 18, 2015 at 1:57 PM, via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > void fibonacciSeries() > void fibonacciSeries(T)() if (isIntegral!T) {...} > > unittest > { > import std.concurrency: yield, Generator; > auto series = new Generator!int(&fibonacc

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Suliman via Digitalmars-d-announce
modmap (C++) ""; import std.stdio; void main() { GDALDatasetH hSrcDS, hDstDS; GDALAllRegister(); writeln("hello"); } error: app.d(7): Error: undefined identifier GDALDatasetH app.d(7): Error: undefined identifier GDALDatasetH app.d(8): Error: undefined identifier GDALA

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Suliman via Digitalmars-d-announce
Oh, I forgot to fix path at: "/etc/ldc.conf" Am I right understand that: C:/Program Files (x86)/ldc/lib = C:\Program Files (x86)\mingw-w64\i686-4.9.2-posix-dwarf-rt_v4-rev2\mingw32\lib ? Or I can't find more proper folder

Re: Calypso: Direct and full interfacing to C++

2015-05-19 Thread Suliman via Digitalmars-d-announce
I can't understand how to use Calypso. I did: modmap (C++) ""; import std.stdio; void main() { writeln("hello"); } then run build command: ldc2 -L-lstdc++ -cpp-args -ID:\Project\2015\gdal1112\alg app.d assume gdalwarper.h is located at alg folder and I am getting error: Error: cannot fi