usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.5/libstdc++.a when searching for -lstdc++
usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.5/libstdc++.so when searching for -lstdc++
Then execute the following commands from the command line MATLABINC = -I$(MATLABPATH)/extern/include MATLABLIBS = -L$(MATLABPATH)/bin/$(MATLABARCH) -leng -lmx MATLABPATH = /Applications/MATLAB_R2009a.app Note that maci is used for 32-bit MATLAB and maci64 is used for 64-bit MATLAB. Please edit the Makefile and change it so that the following settings are correct for your platform. However, since the compilation process involves linking the object files to the MATLAB engine library, the location where your copy of MATLAB is installed should be specified. We are following the MathWorks naming scheme for the mex files, i.e.Ĭompiling the peerworker command line executable is done on the Unix command line. Since we provide an executable for the different platforms, the executables need to have a different name. Furthermore, for the different Unix platforms there is a command-line peerworker client.