[m-users.] Compiler trouble

Sebastian Godelet sebastian.godelet at outlook.com
Mon Aug 8 11:30:34 AEST 2016


Hi,

 

I think this is a mismatch between the used Visual C++ compilers,

Can you send the output of “cl”, e.g.

 

Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x86

Copyright (C) Microsoft Corporation.  All rights reserved.

 

usage: cl [ option... ] filename... [ /link linkoption... ]

 

And the output of the following PowerShell script to get the list of all installed Visual C++ runtimes?

 

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select  DisplayName | Where-Object {$_.DisplayName -like "*Visual C*"}

 

DisplayName

-----------

Microsoft Visual C++ 2010  x64 Redistributable - 10.0.40219

…

 

Thanks,

 

Sebastian.

 

From: users [mailto:users-bounces at lists.mercurylang.org] On Behalf Of Noah Scott Goldman
Sent: Monday, August 08, 2016 09:21
To: Julien Fischer <jfischer at opturion.com>
Cc: users at lists.mercurylang.org
Subject: Re: [m-users.] Compiler trouble

 

Whoa, that is a lot of error messages! I've attached the output.

 

On 2016-08-07 20:17, Julien Fischer wrote:


On Sun, 7 Aug 2016, Noah Scott Goldman wrote: 





I get this message: 

cl : Command line warning D9024 : unrecognized source file type 'hello.exe', object file assumed 

LINK : fatal error LNK1149: output filename matches input filename 
'C:\Users\McPhee\Me\Personal_files\Programs\Mercury\Hello\hello.exe' 

...So it thinks hello.exe is the input file? 


There cannot be a space between '-Fe' and 'hello.exe', it should be 
'-Fehello.exe'. 

Julien. 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20160808/0100429d/attachment.html>


More information about the users mailing list