Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with Visual Studio 2005 and Matlab 2013a #2

Open
ghost opened this issue Feb 21, 2019 · 2 comments
Open

Building with Visual Studio 2005 and Matlab 2013a #2

ghost opened this issue Feb 21, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 21, 2019

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.

@ghost
Copy link
Author

ghost commented Feb 22, 2019

I intended to use it with matlab-mode on Windows.

I should say, it's quite slow.
Opening a menu takes several seconds.
Maybe it is due to this 'stdout buffering'?
Or, maybe it's a matlab-mode problem?

@mlt
Copy link
Owner

mlt commented Feb 23, 2019

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant