Matlab compiler doesn't build applications.
2 次查看(过去 30 天)
显示 更早的评论
Hello, Suddenly my compiler won't build my applications anymore. I have tried to reinstall the compiler, and I even found some links to similar problems, but with no luck at all. I have been able to compile the same applications on other computers with success. The error that I get follows in the end (Last line in red)
by the way, I'm running Matlab Compiler version 8.0 with Matlab R2012b, on Ubuntu 14.04. Thanks.
ant:
<mkdir dir="/home/user/Dropbox/Project/distrib" />
<mkdir dir="/home/user/Dropbox/Project/src" />
mcc -o project -W main:project -T link:exe -d /home/user/Dropbox/Project/src -N -p database -p finance -p stats -w enable:specified_file_mismatch -w enable:repeated_file -w enable:switch_ignored -w enable:missing_lib_sentinel -w enable:demo_license -v /home/user/Dropbox/Project/calculateScore.m
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
0 个评论
回答(1 个)
Harsheel
2014-9-15
Seems like you may have to use the C locale. For example in bash:
export LANG=C
Or csh:
setenv LANG C
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!