Skip to content

Building with Visual Studio 2005 and Matlab 2013a #2

Open

Description

I know, it's sort of a weird configuration, but just in case someone needs it.

I didn't manage to compile the matlabShell on Win7x64/VS2005/R2013a neither with link.bat, nor with nmake.

However, I did manage to compile it manually:

  1. Open the Visual Studio 2005 x64 command prompt.
  2. Compile it with:
    cl.exe matlabShell.c /I "C:\Program Files\MATLAB\R2013a\extern\include" "C:\Program Files\MATLAB\R2013a\extern\lib\win64\microsoft\libeng.lib
  3. Run with:
@echo off
SET PATH=C:\Program Files\MATLAB\R2013a\bin\win64
%~dp0\matlabShell.exe %*

No warranty and scanty tests implied.

Activity

  1. mlt commented on Feb 23, 2019

    @mlt
    Owner

    I haven't used it in a long time. There might be some buffering involved indeed. Did you try to compile using Matlab as opposed to using VS?

    Have you seen another issue I raised a while ago about lcc. I wonder if that has been fixed. I think it was the only odd buffering issue I observed.

    I just re-read your very first post. Did you update paths in Makefile and/or batch file while trying to build? What was the error? I don't recall how I ended up building it. Perhaps using Msys2 and gcc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions