Re: DUB is not working correctly

2021-02-26 Thread Maxim via Digitalmars-d-learn
On Friday, 26 February 2021 at 19:00:57 UTC, H. S. Teoh wrote: On Fri, Feb 26, 2021 at 06:53:32PM +, evilrat via Digitalmars-d-learn wrote: On Friday, 26 February 2021 at 18:20:38 UTC, Maxim wrote: > On Friday, 26 February 2021 at 17:57:12 UTC, ryuukk_ wrote: > > "targetType":

Re: DUB is not working correctly

2021-02-26 Thread Maxim via Digitalmars-d-learn
On Friday, 26 February 2021 at 18:53:32 UTC, evilrat wrote: On Friday, 26 February 2021 at 18:20:38 UTC, Maxim wrote: On Friday, 26 February 2021 at 17:57:12 UTC, ryuukk_ wrote: "targetType": "executable", and it should just run using "dub run" Unfortunately, the problem remains :/

Re: DUB is not working correctly

2021-02-26 Thread Maxim via Digitalmars-d-learn
On Friday, 26 February 2021 at 19:00:57 UTC, H. S. Teoh wrote: On Fri, Feb 26, 2021 at 06:53:32PM +, evilrat via Digitalmars-d-learn wrote: On Friday, 26 February 2021 at 18:20:38 UTC, Maxim wrote: > On Friday, 26 February 2021 at 17:57:12 UTC, ryuukk_ wrote: > > "targetType":

Re: DUB is not working correctly

2021-02-26 Thread Maxim via Digitalmars-d-learn
On Friday, 26 February 2021 at 18:53:32 UTC, evilrat wrote: On Friday, 26 February 2021 at 18:20:38 UTC, Maxim wrote: On Friday, 26 February 2021 at 17:57:12 UTC, ryuukk_ wrote: "targetType": "executable", and it should just run using "dub run" Unfortunately, the problem remains :/

Re: DUB is not working correctly

2021-02-26 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Feb 26, 2021 at 06:53:32PM +, evilrat via Digitalmars-d-learn wrote: > On Friday, 26 February 2021 at 18:20:38 UTC, Maxim wrote: > > On Friday, 26 February 2021 at 17:57:12 UTC, ryuukk_ wrote: > > > "targetType": "executable", > > > > > > and it should just run using "dub run" > >

Re: DUB is not working correctly

2021-02-26 Thread evilrat via Digitalmars-d-learn
On Friday, 26 February 2021 at 18:20:38 UTC, Maxim wrote: On Friday, 26 February 2021 at 17:57:12 UTC, ryuukk_ wrote: "targetType": "executable", and it should just run using "dub run" Unfortunately, the problem remains :/ Looks like something specific to your machine. The last thing

Re: DUB is not working correctly

2021-02-26 Thread Maxim via Digitalmars-d-learn
On Friday, 26 February 2021 at 17:57:12 UTC, ryuukk_ wrote: "targetType": "executable", and it should just run using "dub run" Unfortunately, the problem remains :/

Re: DUB is not working correctly

2021-02-26 Thread ryuukk_ via Digitalmars-d-learn
"targetType": "executable", and it should just run using "dub run"

Re: DUB is not working correctly

2021-02-26 Thread Maxim via Digitalmars-d-learn
On Friday, 26 February 2021 at 09:15:02 UTC, Siemargl wrote: On Thursday, 25 February 2021 at 17:38:11 UTC, Maxim wrote: On Thursday, 25 February 2021 at 17:34:29 UTC, Maxim wrote: On Wednesday, 24 February 2021 at 16:13:48 UTC, Maxim wrote: [...] I think, I need to rephrase the question

Re: DUB is not working correctly

2021-02-26 Thread Siemargl via Digitalmars-d-learn
On Thursday, 25 February 2021 at 17:38:11 UTC, Maxim wrote: On Thursday, 25 February 2021 at 17:34:29 UTC, Maxim wrote: On Wednesday, 24 February 2021 at 16:13:48 UTC, Maxim wrote: [...] I think, I need to rephrase the question for the present situtation: how can I force DUB to change

Re: DUB is not working correctly

2021-02-25 Thread user1234 via Digitalmars-d-learn
On Thursday, 25 February 2021 at 17:34:29 UTC, Maxim wrote: In my opinion, that happens because of DUB can't accept my changes to the file. But how to make the manager admit it? I apologize to everyone who understood me wrong. If you use an ide to edit the DUB receipt maybe it's possible

Re: DUB is not working correctly

2021-02-25 Thread Maxim via Digitalmars-d-learn
On Thursday, 25 February 2021 at 17:47:57 UTC, user1234 wrote: On Thursday, 25 February 2021 at 17:34:29 UTC, Maxim wrote: In my opinion, that happens because of DUB can't accept my changes to the file. But how to make the manager admit it? I apologize to everyone who understood me wrong. If

Re: DUB is not working correctly

2021-02-25 Thread Maxim via Digitalmars-d-learn
On Thursday, 25 February 2021 at 17:34:29 UTC, Maxim wrote: On Wednesday, 24 February 2021 at 16:13:48 UTC, Maxim wrote: [...] I think, I need to rephrase the question for the present situtation: how can I force DUB to change targetName? It doesn't read my changes in dub.json, and I don't

Re: DUB is not working correctly

2021-02-25 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 16:13:48 UTC, Maxim wrote: Hello, I have problems with working in dub environment. If I try to init my project with 'dub init', all needed files will be created successfully. However, when I run 'dub run', the manager gives me an error: 'Configuration

Re: DUB is not working correctly

2021-02-25 Thread Maxim via Digitalmars-d-learn
On Thursday, 25 February 2021 at 13:07:08 UTC, Siemargl wrote: On Thursday, 25 February 2021 at 12:49:05 UTC, Maxim wrote: Wait, I have just noticed that you said about dub which came with dmd. So, was dub on your computer right after compiler installation or you did you do this manually?

Re: DUB is not working correctly

2021-02-25 Thread Siemargl via Digitalmars-d-learn
On Thursday, 25 February 2021 at 12:49:05 UTC, Maxim wrote: Wait, I have just noticed that you said about dub which came with dmd. So, was dub on your computer right after compiler installation or you did you do this manually? Many years DMD come together with dub. Look at dmd2\windows\bin\

Re: DUB is not working correctly

2021-02-25 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 19:48:10 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:42:05 UTC, Maxim wrote: On Wednesday, 24 February 2021 at 19:35:46 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:18:32 UTC, Siemargl wrote: [...] Yes, i see th error. If in your

Re: DUB is not working correctly

2021-02-24 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 20:28:45 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 20:10:29 UTC, Siemargl wrote: Works fine on void dub init project, but underscore problem whith dsfml still here I think, its a problem with dsfml project. You can see it in

Re: DUB is not working correctly

2021-02-24 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 20:10:29 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:48:10 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:42:05 UTC, Maxim wrote: On Wednesday, 24 February 2021 at 19:35:46 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at

Re: DUB is not working correctly

2021-02-24 Thread Siemargl via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 20:10:29 UTC, Siemargl wrote: Works fine on void dub init project, but underscore problem whith dsfml still here I think, its a problem with dsfml project. You can see it in %userprofile%\AppData\Local\dub\packages\dsfml-2.1.1\dsfml There is a build.d

Re: DUB is not working correctly

2021-02-24 Thread Siemargl via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 19:48:10 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:42:05 UTC, Maxim wrote: On Wednesday, 24 February 2021 at 19:35:46 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:18:32 UTC, Siemargl wrote: [...] Yes, i see th error. If in your

Re: DUB is not working correctly

2021-02-24 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 19:48:10 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:42:05 UTC, Maxim wrote: On Wednesday, 24 February 2021 at 19:35:46 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:18:32 UTC, Siemargl wrote: [...] Yes, i see th error. If in your

Re: DUB is not working correctly

2021-02-24 Thread Siemargl via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 19:42:05 UTC, Maxim wrote: On Wednesday, 24 February 2021 at 19:35:46 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:18:32 UTC, Siemargl wrote: [...] Yes, i see th error. If in your dub.json change > "targetType": "executable", [...] Tried and

Re: DUB is not working correctly

2021-02-24 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 19:35:46 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:18:32 UTC, Siemargl wrote: [...] Yes, i see th error. If in your dub.json change > "targetType": "executable", [...] Tried and everything seems to be okay with underscores but the error

Re: DUB is not working correctly

2021-02-24 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 19:18:32 UTC, Siemargl wrote: On Wednesday, 24 February 2021 at 19:04:02 UTC, Maxim wrote: On Wednesday, 24 February 2021 at 18:52:12 UTC, H. S. Teoh I recently tried that. Even compiler was reinstalled. It didn't help. Just try remove dsfml and all

Re: DUB is not working correctly

2021-02-24 Thread Siemargl via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 19:04:02 UTC, Maxim wrote: On Wednesday, 24 February 2021 at 18:52:12 UTC, H. S. Teoh I recently tried that. Even compiler was reinstalled. It didn't help. Just try remove dsfml and all depencies. My void "dub init"? which works { "authors": [

Re: DUB is not working correctly

2021-02-24 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 18:52:12 UTC, H. S. Teoh wrote: On Wed, Feb 24, 2021 at 06:32:00PM +, Maxim via Digitalmars-d-learn wrote: On Wednesday, 24 February 2021 at 18:21:40 UTC, evilrat wrote: > On Wednesday, 24 February 2021 at 17:45:56 UTC, Maxim wrote: > > > > Unfortunately,

Re: DUB is not working correctly

2021-02-24 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, Feb 24, 2021 at 06:32:00PM +, Maxim via Digitalmars-d-learn wrote: > On Wednesday, 24 February 2021 at 18:21:40 UTC, evilrat wrote: > > On Wednesday, 24 February 2021 at 17:45:56 UTC, Maxim wrote: > > > > > > Unfortunately, I tried bindbc-sfml package but the problem is > > > still

Re: DUB is not working correctly

2021-02-24 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 18:21:40 UTC, evilrat wrote: On Wednesday, 24 February 2021 at 17:45:56 UTC, Maxim wrote: Unfortunately, I tried bindbc-sfml package but the problem is still existing. I also started a new project and without any changes ran it but the result was the same.

Re: DUB is not working correctly

2021-02-24 Thread evilrat via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 17:45:56 UTC, Maxim wrote: Unfortunately, I tried bindbc-sfml package but the problem is still existing. I also started a new project and without any changes ran it but the result was the same. Anyway, thank you so much for your help! does it works for an

Re: DUB is not working correctly

2021-02-24 Thread Imperatorn via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 16:13:48 UTC, Maxim wrote: Hello, I have problems with working in dub environment. If I try to init my project with 'dub init', all needed files will be created successfully. However, when I run 'dub run', the manager gives me an error: [...] Wierd, have

Re: DUB is not working correctly

2021-02-24 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 17:27:19 UTC, evilrat wrote: On Wednesday, 24 February 2021 at 16:46:20 UTC, Maxim wrote: Sure, here are dub.json contents: { "authors": [ "Max" ], "copyright": "Copyright © 2021, Max", "description": "A minimal

Re: DUB is not working correctly

2021-02-24 Thread evilrat via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 16:46:20 UTC, Maxim wrote: Sure, here are dub.json contents: { "authors": [ "Max" ], "copyright": "Copyright © 2021, Max", "description": "A minimal D application.", "license": "proprietary",

Re: DUB is not working correctly

2021-02-24 Thread Maxim via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 16:27:49 UTC, evilrat wrote: On Wednesday, 24 February 2021 at 16:13:48 UTC, Maxim wrote: Hello, I have problems with working in dub environment. If I try to init my project with 'dub init', all needed files will be created successfully. However, when I run

Re: DUB is not working correctly

2021-02-24 Thread evilrat via Digitalmars-d-learn
On Wednesday, 24 February 2021 at 16:13:48 UTC, Maxim wrote: Hello, I have problems with working in dub environment. If I try to init my project with 'dub init', all needed files will be created successfully. However, when I run 'dub run', the manager gives me an error: 'Configuration