Note that there are some explanatory texts on larger screens.

plurals
  1. POErroneous link error running cl.exe/MSPDB110.DLL on cygwin bash via ssh
    primarykey
    data
    text
    <p>On Windows 7, Visual Studio 2012. Attempting to build via cygwin bash just using cl.exe and cygwin/gnu make. I've got my bash environment vars set correctly with clues from;</p> <p><a href="https://stackoverflow.com/questions/366928/invoking-cl-exe-msvc-compiler-in-cygwin-shell">Invoking cl.exe (MSVC compiler) in Cygwin shell</a> and <a href="https://stackoverflow.com/questions/62029/vs2008-command-prompt-cygwin/168447#168447">VS2008 Command Prompt + Cygwin</a></p> <p>(I simply diff the environment vars before and after running vcvarsX.bat, tweak that list a little and set it in my bash session. It works)</p> <p>I have a hello world test.c and makefile which builds fine in the console cygwin bash, but fails in an ssh <em>if</em> the /debug switch is set. Without the /debug it builds.</p> <p>Here's a copy of my ssh session without and with the /debug switch;</p> <p><a href="http://pastebin.com/zY39i2c6" rel="nofollow noreferrer">http://pastebin.com/zY39i2c6</a></p> <p>I believe the link error (near the bottom) to be erroneous since it works fine in the console bash. It's just the ssh bash that gives the link error <em>only if</em> the /debug switch is set. </p> <p>I suspect that the MSPDB110.DLL is a "windows" module (as opposed to a true console program) and fails to execute in the ssh process, as I've seen happen when trying to run other non-console programs in a cygwin ssh. But this is just my guess. In the pastebin you'll also see that I show where the cl.exe and mspdb110 are coming from (which cl.exe near the bottom).</p> <p>I find many posts/threads discussing doing this in cygwin bash sessions, but don't find anyone attempting to do it via ssh.</p> <p>Appreciate any suggestions.</p> <p>Thanks Mike</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload