Re: Error writing file a *.obj

2017-05-08 Thread dummy via Digitalmars-d-learn

On Monday, 8 May 2017 at 12:29:27 UTC, bachmeier wrote:

On Monday, 8 May 2017 at 11:56:10 UTC, dummy wrote:


When i build some application with dub, i got this error:


I'm not a Dub user, but it has its own forum, so you might want 
to try there:

http://forum.rejectedsoftware.com/


Oh, i solve this problem my self...
because, the 'Ransomeware Protection' feature of Bitdefender 
InternetSecurity 2017.

dub and dmd working pretty when i turn off this feature.

Very sorry for noob question :/


Re: Error writing file a *.obj

2017-05-08 Thread dummy via Digitalmars-d-learn

On Monday, 8 May 2017 at 12:29:27 UTC, bachmeier wrote:

On Monday, 8 May 2017 at 11:56:10 UTC, dummy wrote:


When i build some application with dub, i got this error:


I'm not a Dub user, but it has its own forum, so you might want 
to try there:

http://forum.rejectedsoftware.com/


thank you for reply.

but i got same result with 'dub' and 'dmd compiler'...


Re: Error writing file a *.obj

2017-05-08 Thread dummy via Digitalmars-d-learn

On Sunday, 7 May 2017 at 14:01:32 UTC, dummy wrote:

Hi :)

  - OS: Winodws 10 Pro KN
  -  DMD: 2.073.2(ofcourse, i tried dmd of 2.074.x version. but 
same result)


When i build some application with dub, i got this error:
--

dub build

xx ~master: building configuration "application"...
Error: Error writing file 
'.dub\build\application-debug-windows-x86-dmd_2073-FEC52DAD217DFEA46ECF98CA4240FA06\xx.obj'

dmd failed with exit code 1
--



What's mean? my dub.json here:
--
{
"name": "xx",
"authors": [
"dummy"
],
"description": "A minimal D application.",
"copyright": "Copyright © 2017, dummy",
"license": "proprietary",
"dependencies": {
"requests": "~>0.4.1"
},
"subConfigurations": {
"requests": "vibed"
}
}
--
app.d is default file, so i didn't modify it.



+ And, dmd got same result:
--

dmd app.d

Error: Error writing file 'app.obj'
--

i have no idea..


Error writing file a *.obj

2017-05-07 Thread dummy via Digitalmars-d-learn

Hi :)

  - OS: Winodws 10 Pro KN
  -  DMD: 2.073.2(ofcourse, i tried dmd of 2.074.x version. but 
same result)


When i build some application with dub, i got this error:
--

dub build

xx ~master: building configuration "application"...
Error: Error writing file 
'.dub\build\application-debug-windows-x86-dmd_2073-FEC52DAD217DFEA46ECF98CA4240FA06\xx.obj'

dmd failed with exit code 1
--



What's mean? my dub.json here:
--
{
"name": "xx",
"authors": [
"dummy"
],
"description": "A minimal D application.",
"copyright": "Copyright © 2017, dummy",
"license": "proprietary",
"dependencies": {
"requests": "~>0.4.1"
},
"subConfigurations": {
"requests": "vibed"
}
}
--
app.d is default file, so i didn't modify it.


Re: Can i using D & LLVM & SDL2 for Android?

2017-03-13 Thread dummy via Digitalmars-d-learn

On Monday, 13 March 2017 at 10:11:35 UTC, Mike Parker wrote:

On Monday, 13 March 2017 at 06:48:01 UTC, Joakim wrote:


[...]


The alpha release of DerelictSDL2 3.0 supports static linking.

When compiling manually, it requires 
-version=DerelictSDL_static on the command line and all files 
matching "derelict/sdl2/internal/*_dyn*.d" should be excluded 
from the build.


When building DerelictSDL2 with DUB, specifying 
-cderelict-sdl2-static gets the job done, or the same can be 
added as a subConfiguration value in a project's dub.json/sdl 
file.


thanks for advices!! :-)


Re: Can i using D & LLVM & SDL2 for Android?

2017-03-13 Thread dummy via Digitalmars-d-learn

On Monday, 13 March 2017 at 06:48:01 UTC, Joakim wrote:

On Thursday, 9 March 2017 at 10:35:18 UTC, dummy wrote:

[...]


Regarding the link to that forum post, that bug has since been 
found and fixed.


If you're planning on using Derelict, there is an issue where 
all Derelict libraries are loaded as shared libraries, whereas 
the Android port currently doesn't support loading shared 
libraries.  If DLangUI is using SDL2, maybe he has a header 
file that allows him to statically link against SDL2, which you 
could reuse.


Otherwise, you may need to generate one using DStep:

https://github.com/jacob-carlborg/dstep

or modify the DerelictSDL2 files to allow you to link 
statically.


thx! i will try it. :-D


Re: Can i using D & LLVM & SDL2 for Android?

2017-03-09 Thread dummy via Digitalmars-d-learn

On Wednesday, 8 March 2017 at 10:24:24 UTC, Joakim wrote:

On Tuesday, 7 March 2017 at 12:06:48 UTC, dummy wrote:

Just thought. I do want to know. :-)

As far as I know is,
  * LDC2 woring on NDK(yah!)
  * Native OpenGLES: 
http://wiki.dlang.org/Build_LDC_for_Android#Build_a_sample_OpenGL_Android_app_ported_to_D
  * Dlangui working on Android that based on SDL2: 
https://github.com/buggins/dlangui / 
https://dlang.org/blog/2016/10/07/project-highlight-dlangui/


regards,


Yes, though I have not tried SDL2 myself.


https://forum.dlang.org/post/hbumubsbrzffvgria...@forum.dlang.org

Ah, you're right.
I will trying DerelictSDL2.

Thx :-)


Can i using D & LLVM & SDL2 for Android?

2017-03-07 Thread dummy via Digitalmars-d-learn

Just thought. I do want to know. :-)

As far as I know is,
  * LDC2 woring on NDK(yah!)
  * Native OpenGLES: 
http://wiki.dlang.org/Build_LDC_for_Android#Build_a_sample_OpenGL_Android_app_ported_to_D
  * Dlangui working on Android that based on SDL2: 
https://github.com/buggins/dlangui / 
https://dlang.org/blog/2016/10/07/project-highlight-dlangui/


regards,


Re: JustQuestion: Are 'D' had a browser library?

2017-02-23 Thread dummy via Digitalmars-d-learn

On Sunday, 19 February 2017 at 09:21:40 UTC, aberba wrote:

On Sunday, 19 February 2017 at 08:01:56 UTC, dummy wrote:

[...]


You can use any D lib with http GET support (Vibe.d[1]: 
download, requests[2]) at code.dlang.org. arsd.dom[3] has dom 
parsing support. or use any XML lib.


[1] http://code.dlang.org/packages/vibe-d
[2] http://code.dlang.org/packages/requests
[3] http://code.dlang.org/packages/arsd

The expiremental XML lib too has nice API 
(https://lodo1995.github.io/experimental.xml/std/experimental/xml/dom/Document.html)


I recommend requests and experimental DOM lib 
(http://code.dlang.org/packages/std-experimental-xml) to 
implement crawling.


'requests' looks like very useful! Thank you so much!


Re: JustQuestion: Are 'D' had a browser library?

2017-02-21 Thread dummy via Digitalmars-d-learn

On Sunday, 19 February 2017 at 09:23:15 UTC, Mike Parker wrote:

On Sunday, 19 February 2017 at 08:01:56 UTC, dummy wrote:


* Derelict-CEF
Looks like dead and didn't have a document(or tutorial).


It's a binding to the C API of CEF, so you shouldn't expect 
much documentation or any tutorials with it beyond the binding 
specific functionality in the README. If you know how to use 
the CEF C API, then you know how to use Derelict-CEF.


I implemented it as an experiment. It hasn't been updated 
simply because I haven't had a use for it and no one has 
submitted any PRs. So I wouldn't call it dead, just unloved. 
That said, it worked last time I tried it. The CEF API may have 
changed since then, though. If someone wants to get it in 
shape, I'll happily do what I can to facilitate that.


Yes, you are right. Thx very much! :-)


JustQuestion: Are 'D' had a browser library?

2017-02-19 Thread dummy via Digitalmars-d-learn

Hello!

I need are functions for clawing...

 1. Working javascript(curl didn't)
 2. Get HTML code
 3. GET/POST Request

So, I'm searched about the headless browser for using with D 
before writing a this question.


* Derelict-CEF
Looks like dead and didn't have a document(or tutorial).

* WebkitGtk++
Sadnly, didn't support in GtkD.

* PhantomJS or SlimerJS ← I'm using now.
D can, but need subprocess and javascript file for run.

Of course, It's not a question about d programming language.
Sorry for my poolish question.
But i want to know if had library for D.

Thx.