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

Error in Compiling cpp files with matlab #1

Open
InzamamAnwar opened this issue Dec 30, 2016 · 1 comment
Open

Error in Compiling cpp files with matlab #1

InzamamAnwar opened this issue Dec 30, 2016 · 1 comment

Comments

@InzamamAnwar
Copy link

Hi,

I tried to compile the cpp files using setup.m. I am using Matlab R2016a on windows 7. I have encountered following errors

D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(290) : error C2057: expected constant expression
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(290) : error C2466: cannot allocate an array of constant size 0
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(290) : error C2133: 'dmin' : unknown size
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(290) : error C2057: expected constant expression
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(290) : error C2466: cannot allocate an array of constant size 0
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(290) : error C2133: 'dmax' : unknown size
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(304) : error C2057: expected constant expression
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(304) : error C2466: cannot allocate an array of constant size 0
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(304) : error C2133: 'm' : unknown size
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(304) : error C2057: expected constant expression
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(304) : error C2466: cannot allocate an array of constant size 0
D:\Face Database\face_desc_src\gmm-fisher\gmm.cxx(304) : error C2133: 'v' : unknown size

@sorooshafiee
Copy link

It was almost impossible for me to run the code in windows. I installed a linux and the code run without raising any error!

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

2 participants