Skip to content

Commit

Permalink
successfully builds on win32 w/ mbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTedrake committed Sep 24, 2014
1 parent d798e0d commit a70fdfa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ endif


all: pod-build/Makefile
cmake --build pod-build --target install
cmake --build pod-build --config $(BUILD_TYPE) --target install

pod-build/Makefile:
$(MAKE) configure
Expand Down Expand Up @@ -82,7 +82,7 @@ clean:

# other (custom) targets are passed through to the cmake-generated Makefile
%::
cmake --build pod-build --target $@
cmake --build pod-build --config $(BUILD_TYPE) --target $@

# Default to a less-verbose build. If you want all the gory compiler output,
# run "make VERBOSE=1"
Expand Down
2 changes: 1 addition & 1 deletion cmake
Submodule cmake updated 1 files
+4 −2 mex.cmake
2 changes: 1 addition & 1 deletion systems/plants/constructModelmex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ void mexFunction( int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] )
model->frames[i].body_ind = (int) mxGetScalar(pm)-1;

pm = mxGetProperty(pFrames,i,"T");
memcpy(model->frames[i].T.data(),mxGetPr(pm),sizeof(double)*4*4);
memcpy(model->frames[i].Ttree.data(),mxGetPr(pm),sizeof(double)*4*4);
}


Expand Down

0 comments on commit a70fdfa

Please sign in to comment.