Filter löschen
Filter löschen

spams tool for image processing -- compiling error

1 Ansicht (letzte 30 Tage)
muthana naeem
muthana naeem am 5 Jan. 2018
Bearbeitet: Walter Roberson am 10 Feb. 2018
Hello
I am muthana from Iraq. I have some questions about a spams tool that calls a c++ lib from MATLAB.
MATLAB does not execute to the end of the compile program. Why not?

Antworten (2)

Walter Roberson
Walter Roberson am 5 Jan. 2018
For whatever reason it is expecting a file or directory named "Files" inside your current directory, but is not finding it. We cannot tell from the screenshot whether you have such a file or directory name.
I suspect that you have a directory that starts with 'Files' and then has a space in it, and that the command that was given to mex failed to put quote marks around the directory name. mex normally considers spaces to be the end of the option or file name.
  14 Kommentare
muthana naeem
muthana naeem am 12 Jan. 2018
very thanks to you but you tell me that not working on windows it ia working on linux are you sure?? i will convert my system to linux is the same matlab version on windows will work on linux ???
muthana naeem
muthana naeem am 12 Jan. 2018
ohhh my god all problems are solved in windows i change the gcc to vs it is work on compilation succesfuly but i need help to get more information aboout the result please help me

Melden Sie sich an, um zu kommentieren.


muthana naeem
muthana naeem am 12 Jan. 2018
i have this problem in the end of compile but it start successfully how can solve this
  1 Kommentar
Walter Roberson
Walter Roberson am 12 Jan. 2018
Bearbeitet: Walter Roberson am 10 Feb. 2018
This turns out to be involved with a messy inconsistency between C and C++. See https://trac.osgeo.org/geos/ticket/34 and http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#456
I speculate that compiling with a new enough VS set to -std=c++11 might possibly work, but I am not at all certain. It might call for a small change to the code to
#include <cctype>

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by