Re: D IDE Dexed - v3.9.0

2020-05-29 Thread notna via Digitalmars-d-announce

On Friday, 29 May 2020 at 08:04:12 UTC, Basile B. wrote:
I've fixed it yesterday 
(https://gitlab.com/basile.b/dexed/-/commit/730c2a4e6e1ae18d603d91c471bf3b6459ce7b52) using my mom's laptop ^^.
Fortunately I've found an old post from p0nce 
(https://forum.dlang.org/post/mscgsclxwtjcferfx...@forum.dlang.org) that explained in detail how to make dll on win and the error has become obvious.


IMPORTANT: Use `export` for any call you want exported in your 
DLL!


Also in IDA the list of the exports showed nothing... that was 
a huge f**ing clue.


anyway the Windows version is verified to work now.
Only thing is that a msvc140.dll might be necessary, but this 
is not a dexed problem. In this case people can just get it 
from the official microsoft website.


confirmed ;) Thank YOU... and your mom :D


Re: D IDE Dexed - v3.9.0

2020-05-29 Thread Basile B. via Digitalmars-d-announce

On Saturday, 9 May 2020 at 11:33:08 UTC, notna wrote:

On Friday, 8 May 2020 at 00:46:04 UTC, Basile B. wrote:


Sorry, I'm tempted to drop official Windows support good. I 
have an old win7 DVD but I'd prefer if someone who actually 
uses Windows could fix this. For now let's talk here 
https://gitlab.com/basile.b/dexed/-/issues/37, as it is very 
specific.


Thanks... seems like I was the only one interested in using it 
on Windows, so... most of the time I use VSCodium with the 
great code-d plugin by now anyhow, so I will survive also 
without dexed ;)


I've fixed it yesterday 
(https://gitlab.com/basile.b/dexed/-/commit/730c2a4e6e1ae18d603d91c471bf3b6459ce7b52) using my mom's laptop ^^.
Fortunately I've found an old post from p0nce 
(https://forum.dlang.org/post/mscgsclxwtjcferfx...@forum.dlang.org) that explained in detail how to make dll on win and the error has become obvious.


IMPORTANT: Use `export` for any call you want exported in your 
DLL!


Also in IDA the list of the exports showed nothing... that was a 
huge f**ing clue.


anyway the Windows version is verified to work now.
Only thing is that a msvc140.dll might be necessary, but this is 
not a dexed problem. In this case people can just get it from the 
official microsoft website.


Re: D IDE Dexed - v3.9.0

2020-05-09 Thread Ron Tarrant via Digitalmars-d-announce

On Saturday, 25 April 2020 at 06:55:19 UTC, Basile B. wrote:
Despite of the mini drama last year I've continued developping 
dexed.

The changelog since last announce here is a bit long, check

  https://gitlab.com/basile.b/dexed/-/releases

for more information and get the releases (linux only).


Welcome back, Basile.


Re: D IDE Dexed - v3.9.0

2020-05-09 Thread notna via Digitalmars-d-announce

On Friday, 8 May 2020 at 00:46:04 UTC, Basile B. wrote:


Sorry, I'm tempted to drop official Windows support good. I 
have an old win7 DVD but I'd prefer if someone who actually 
uses Windows could fix this. For now let's talk here 
https://gitlab.com/basile.b/dexed/-/issues/37, as it is very 
specific.


Thanks... seems like I was the only one interested in using it on 
Windows, so... most of the time I use VSCodium with the great 
code-d plugin by now anyhow, so I will survive also without dexed 
;)




Re: D IDE Dexed - v3.9.0

2020-05-07 Thread Basile B. via Digitalmars-d-announce

On Thursday, 7 May 2020 at 23:50:51 UTC, notna wrote:

On Tuesday, 5 May 2020 at 22:00:30 UTC, Basile B. wrote:


Try the default procedure now. i.e using lazbuild as explained 
in the documentation. As the library is statically linked this 
is mandatory anyway.


pull'ed incl submodules again... re-build everything, DLL is 
there BUT...


- starting dexed.exe in PowerShell doesn't show anything
- starting dexed.exe in CMD brings up an error window, saying 
something like "application couldn't be started, (0xc07b) 
..."


Sorry, I'm tempted to drop official Windows support good. I have 
an old win7 DVD but I'd prefer if someone who actually uses 
Windows could fix this. For now let's talk here 
https://gitlab.com/basile.b/dexed/-/issues/37, as it is very 
specific.


Re: D IDE Dexed - v3.9.0

2020-05-07 Thread notna via Digitalmars-d-announce

On Tuesday, 5 May 2020 at 22:00:30 UTC, Basile B. wrote:


Try the default procedure now. i.e using lazbuild as explained 
in the documentation. As the library is statically linked this 
is mandatory anyway.


pull'ed incl submodules again... re-build everything, DLL is 
there BUT...


- starting dexed.exe in PowerShell doesn't show anything
- starting dexed.exe in CMD brings up an error window, saying 
something like "application couldn't be started, (0xc07b) ..."





Re: D IDE Dexed - v3.9.0

2020-05-05 Thread Basile B. via Digitalmars-d-announce

On Tuesday, 5 May 2020 at 20:05:25 UTC, notna wrote:

On Tuesday, 5 May 2020 at 20:03:38 UTC, notna wrote:

On Tuesday, 5 May 2020 at 12:53:29 UTC, Basile B. wrote:


On Win10 64Bit, after compiling as described in 
https://basile.b.gitlab.io/dexed/build.html, I have a 
"dexed.exe" but if I run it, I get "couldn't find 
dexed-d.dll" ...


Can you give a try again after pulling latest changes ?

Actually the library indicated as missing was build by 
calling bash which obviously could not work on Windows. I 
have pushed a change that replaces this by a direct call to 
dub since the script was essentially used to "cd" and that's 
not required as dub has "--root"


Thanks for your changes.

Seems like linking take a bit longer now but the DLL is still 
not build.


The log from DUB tends to say the opposite. The dll should be in
"C:\Temp\Git\dexed\bin". Maybe the extension is missing then ?

Another change => calling "dexed.exe" doesn't shop the error 
popup as it did before...



grrr... doesn't _SHOW_ the error popup as it did before...


Try the default procedure now. i.e using lazbuild as explained in 
the documentation. As the library is statically linked this is 
mandatory anyway.


Re: D IDE Dexed - v3.9.0

2020-05-05 Thread notna via Digitalmars-d-announce

On Tuesday, 5 May 2020 at 20:03:38 UTC, notna wrote:

On Tuesday, 5 May 2020 at 12:53:29 UTC, Basile B. wrote:


On Win10 64Bit, after compiling as described in 
https://basile.b.gitlab.io/dexed/build.html, I have a 
"dexed.exe" but if I run it, I get "couldn't find 
dexed-d.dll" ...


Can you give a try again after pulling latest changes ?

Actually the library indicated as missing was build by calling 
bash which obviously could not work on Windows. I have pushed 
a change that replaces this by a direct call to dub since the 
script was essentially used to "cd" and that's not required as 
dub has "--root"


Thanks for your changes.

Seems like linking take a bit longer now but the DLL is still 
not build.
Another change => calling "dexed.exe" doesn't shop the error 
popup as it did before...



grrr... doesn't _SHOW_ the error popup as it did before...


Re: D IDE Dexed - v3.9.0

2020-05-05 Thread notna via Digitalmars-d-announce

On Tuesday, 5 May 2020 at 12:53:29 UTC, Basile B. wrote:


On Win10 64Bit, after compiling as described in 
https://basile.b.gitlab.io/dexed/build.html, I have a 
"dexed.exe" but if I run it, I get "couldn't find dexed-d.dll" 
...


Can you give a try again after pulling latest changes ?

Actually the library indicated as missing was build by calling 
bash which obviously could not work on Windows. I have pushed a 
change that replaces this by a direct call to dub since the 
script was essentially used to "cd" and that's not required as 
dub has "--root"


Thanks for your changes.

Seems like linking take a bit longer now but the DLL is still not 
build.
Another change => calling "dexed.exe" doesn't shop the error 
popup as it did before...


```powershell

C:\Temp\Git\dexed\dexed-d [master ≡]

λ  dub.exe --compiler=ldc2
Performing "debug" build using ldc2 for x86_64.
iz ~master: building configuration "library"...
stdx-allocator 2.77.5: building configuration "library"...
libdparse ~master: building configuration "library"...
dexed-d ~master: building configuration "library"...
Linking...
Target is a library. Skipping execution.

​C:\Temp\Git\dexed\dexed-d [master ≡]

λ  ls


Directory: C:\Temp\Git\dexed\dexed-d


ModeLastWriteTime Length Name
- -- 
d-   05.05.2020 21:57.dub
d-   03.05.2020 14:40src
-a   03.05.2020 14:40307 dub.json
-a   05.05.2020 21:48144 
dub.selections.json



​C:\Temp\Git\dexed\dexed-d [master ≡]

λ  ls .\src\


Directory: C:\Temp\Git\dexed\dexed-d\src


ModeLastWriteTime Length Name
- -- 
-a   03.05.2020 14:40   9863 common.d
-a   03.05.2020 14:40897 ddemangle.d
-a   03.05.2020 14:40   6436 ddoc_template.d
-a   03.05.2020 14:40  27235 halstead.d
-a   03.05.2020 14:40   4321 imports.d
-a   03.05.2020 14:40   1663 mainfun.d
-a   03.05.2020 14:40  12663 symlist.d
-a   03.05.2020 14:40   3397 todos.d


​C:\Temp\Git\dexed\dexed-d [master ≡]

λ  cd ..
​C:\Temp\Git\dexed [master ≡]

λ  fd --glob *.dll

​C:\Temp\Git\dexed [master ≡]
```



Re: D IDE Dexed - v3.9.0

2020-05-05 Thread Basile B. via Digitalmars-d-announce

On Sunday, 3 May 2020 at 18:40:37 UTC, notna wrote:

On Saturday, 25 April 2020 at 06:55:19 UTC, Basile B. wrote:
Despite of the mini drama last year I've continued developping 
dexed.

The changelog since last announce here is a bit long, check

  https://gitlab.com/basile.b/dexed/-/releases

for more information and get the releases (linux only).


On Win10 64Bit, after compiling as described in 
https://basile.b.gitlab.io/dexed/build.html, I have a 
"dexed.exe" but if I run it, I get "couldn't find dexed-d.dll" 
...


Can you give a try again after pulling latest changes ?

Actually the library indicated as missing was build by calling 
bash which obviously could not work on Windows. I have pushed a 
change that replaces this by a direct call to dub since the 
script was essentially used to "cd" and that's not required as 
dub has "--root"


Re: D IDE Dexed - v3.9.0

2020-05-03 Thread Basile B. via Digitalmars-d-announce

On Sunday, 3 May 2020 at 18:40:37 UTC, notna wrote:

On Saturday, 25 April 2020 at 06:55:19 UTC, Basile B. wrote:
Despite of the mini drama last year I've continued developping 
dexed.

The changelog since last announce here is a bit long, check

  https://gitlab.com/basile.b/dexed/-/releases

for more information and get the releases (linux only).


On Win10 64Bit, after compiling as described in 
https://basile.b.gitlab.io/dexed/build.html, I have a 
"dexed.exe" but if I run it, I get "couldn't find dexed-d.dll" 
...


It should be in the same folder as dexed.exe. If it's not there 
this means that the preprocess has failed. You must have ldc2 
visible in the PATH variable.


For now I can only advice you tobuild libdexed-d.dll manually to 
see what the problem is.

in the repository, sub folder dexed-d, try

   $ dub.exe --compiler=ldc2

and tells me what's happening. dexed-d.dll should be created in 
the same folder as dexed.exe. TBH I don't know if Windows is 
still supported. As a user I have totally dropped this system, 
since I didn't use it since years but only to build dexed.


Re: D IDE Dexed - v3.9.0

2020-05-03 Thread notna via Digitalmars-d-announce

On Saturday, 25 April 2020 at 06:55:19 UTC, Basile B. wrote:
Despite of the mini drama last year I've continued developping 
dexed.

The changelog since last announce here is a bit long, check

  https://gitlab.com/basile.b/dexed/-/releases

for more information and get the releases (linux only).


On Win10 64Bit, after compiling as described in 
https://basile.b.gitlab.io/dexed/build.html, I have a "dexed.exe" 
but if I run it, I get "couldn't find dexed-d.dll" ...


Re: D IDE Dexed - v3.9.0

2020-04-25 Thread Steven Schveighoffer via Digitalmars-d-announce

On 4/25/20 2:55 AM, Basile B. wrote:

Despite of the mini drama last year I've continued developping dexed.
The changelog since last announce here is a bit long, check

   https://gitlab.com/basile.b/dexed/-/releases

for more information and get the releases (linux only).


I'm glad to see you continuing this!

-Steve


D IDE Dexed - v3.9.0

2020-04-25 Thread Basile B. via Digitalmars-d-announce
Despite of the mini drama last year I've continued developping 
dexed.

The changelog since last announce here is a bit long, check

  https://gitlab.com/basile.b/dexed/-/releases

for more information and get the releases (linux only).