January 18, 2023

On Wednesday, 18 January 2023 at 02:05:34 UTC, zjh wrote:
< ...

nightly:
Unresolved external symbol __va_start, function _fwprintf_.
link error.

January 18, 2023

On Tuesday, 17 January 2023 at 22:11:46 UTC, Ali Çehreli wrote:
[...]

>

dmd relies on system compiler programs for its ImportC feature. cl.exe seems to be the compiler. I think it is the compiler.

Can you run that program from the command line?

Fails with:

C:\Users\SoftDev>c1.exe
'c1.exe' is not recognized as an internal or external command,
operable program or batch file.

January 18, 2023

On Wednesday, 18 January 2023 at 13:45:04 UTC, DLearner wrote:

>

On Tuesday, 17 January 2023 at 22:11:46 UTC, Ali Çehreli wrote:
[...]

>

dmd relies on system compiler programs for its ImportC feature. cl.exe seems to be the compiler. I think it is the compiler.

Can you run that program from the command line?

Fails with:

C:\Users\SoftDev>c1.exe
'c1.exe' is not recognized as an internal or external command,
operable program or batch file.

You will run the cl.exe, not the c1.exe
(be written with the letter l)

SDB@79

January 18, 2023

On Wednesday, 18 January 2023 at 14:18:58 UTC, Salih Dincer wrote:

>

On Wednesday, 18 January 2023 at 13:45:04 UTC, DLearner wrote:

>

On Tuesday, 17 January 2023 at 22:11:46 UTC, Ali Çehreli wrote:
[...]

>

dmd relies on system compiler programs for its ImportC feature. cl.exe seems to be the compiler. I think it is the compiler.

Can you run that program from the command line?

Fails with:

C:\Users\SoftDev>c1.exe
'c1.exe' is not recognized as an internal or external command,
operable program or batch file.

You will run the cl.exe, not the c1.exe
(be written with the letter l)

SDB@79

Unfortunately, neither works:

C:\Users\SoftDev>cl.exe
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\SoftDev>c1.exe
'c1.exe' is not recognized as an internal or external command,
operable program or batch file.
January 18, 2023
On 1/18/23 08:04, DLearner wrote:

> Unfortunately, neither works:
> ```
> C:\Users\SoftDev>cl.exe
> 'cl.exe' is not recognized as an internal or external command,
> operable program or batch file.

That supports the theory that you don't have a C compiler installed that dmd can use for preprocessing C files.

Ali

January 18, 2023

On Wednesday, 18 January 2023 at 16:37:17 UTC, Ali Çehreli wrote:

>

On 1/18/23 08:04, DLearner wrote:

>

Unfortunately, neither works:

C:\Users\SoftDev>cl.exe
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.

That supports the theory that you don't have a C compiler installed that dmd can use for preprocessing C files.

Ali

The documentation says

>

When compiling for Windows with the -m32mscoff or the -m64 switch, cl.exe /P /Zc:preprocessor will be used as the preprocessor.

It might be useful for someone to add more information. I would certainly have no idea what that means if I tried to use Windows.

January 18, 2023

On Wednesday, 18 January 2023 at 16:51:27 UTC, bachmeier wrote:

>

On Wednesday, 18 January 2023 at 16:37:17 UTC, Ali Çehreli wrote:

>

On 1/18/23 08:04, DLearner wrote:

>

Unfortunately, neither works:

C:\Users\SoftDev>cl.exe
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.

That supports the theory that you don't have a C compiler installed that dmd can use for preprocessing C files.

Ali

The documentation says

>

When compiling for Windows with the -m32mscoff or the -m64 switch, cl.exe /P /Zc:preprocessor will be used as the preprocessor.

It might be useful for someone to add more information. I would certainly have no idea what that means if I tried to use Windows.

Or perhaps stated better, I'd have no idea what I'm supposed to install or set up to get it to work.

1 2
Next ›   Last »