Compile c/cpp error

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Thu Jan 1 13:00:27 PST 2015



On 28.12.2014 12:10, sdvcn wrote:
>
> "*.obj.build.cmd"
>
> call %VCINSTALLDIR%\vcvarsall.bat x64
>
> %VCINSTALLDIR% Including spaces
>
> fix:
>
> call "%VCINSTALLDIR%\vcvarsall.bat" x64

Thanks. Fixed in next version.

>
>
> "C/C++ Compiler Cmd" $(CC) Set in there?
>

You can add common C compile command line options here. Options for 
output file name, debugging and optimizations will be appended 
automatically.

>
>
> " win32-coff " How to use?

You need a recent dmd/phobos version from github and build druntime and 
phobos yourself (see 
http://www.digitalmars.com/d/archives/digitalmars/D/X86_COFF_format_static_libraries_is_very_important_for_d_how_to_use_247333.html).

Then build a Visual D project with configuration Win32, but check 
"Configuration Properties->Compiler->Output->Use MS-COFF".

Depending on your configuration in sc.ini, you might also need to add 
some paths to the x86-COFF-libraries similar to x64. See 
"Tools->Options->Project and Solutions->Visual D Settings->DMD 
Directories->Win32-COFF".


More information about the Digitalmars-d-ide mailing list