-
Notifications
You must be signed in to change notification settings - Fork 16
About installing coolprop #197
Comments
Sir, |
Interesting. It seems you have things set up properly. Let me try on my On Thu, Mar 27, 2014 at 8:22 AM, dhananjayanayak
|
Sir, |
Sir, |
I'm not sure we have any compatible versions for R2010A currently. You Ian On Thu, Mar 27, 2014 at 5:02 PM, dhananjayanayak
|
Sir, |
On Thu, Mar 27, 2014 at 5:18 PM, dhananjayanayak
|
Sir, |
Sir, Error in ==> MATLABBuilder_OSX at 30 ../../CoolProp/ mexopts_string = -f mexopts_w32.bat -DCONVENTION=__cdecl Error: Could not find the compiler "cl" on the DOS path. C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Unable to locate compiler. ??? Error using ==> mex at 222 Error in ==> MATLABBuilder at 32 |
what happened when you ran mex -setup? Seems you didnt set compiler On Thu, Mar 27, 2014 at 5:43 PM, dhananjayanayak
|
Sir, |
At matlab prompt type the command mex -setup And then follow the prompt to select LCC compiler On Thu, Mar 27, 2014 at 5:55 PM, dhananjayanayak
|
Sir, ../../CoolProp/ mexopts_string = -f mexopts_w32.bat -DCONVENTION=__cdecl Error: Could not find the compiler "cl" on the DOS path. C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Unable to locate compiler. ??? Error using ==> mex at 222 Error in ==> MATLABBuilder at 32 |
Do you have any version of Microsoft Visual Studio installed? The "Express" version is also fine, that is a free download. |
Ah, can you remove the -f mexopts_w32.bat from the BuildMATLAB file? That compiler options file over-writes the selection of LCC and chooses visual studio. Or you could install visual studio, but I think it would be easier to just modify the build file |
path_to_src = ../../CoolProp/ mexopts_string = -DCONVENTION=__cdecl Warning: Function C:\Users\dj\AppData\Local\Temp\full.m has the same name as a MATLAB
C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of '....\COOLPROP\AllFluids.cpp' failed. ??? Error using ==> mex at 222 Error in ==> MATLABBuilder at 32 |
Sir, |
According to http://www.mathworks.nl/support/compilers/R2010a/win32.html you can use VS2010 express, but you need to apply a patch - see the note on the linked page. |
Any luck? |
I just started using coolprop, MATLAB Wrapper. I have difficulty, how to define bubble and dew properties. For saturated liquid: I defined "CoolProp.PropsSI('D', 'P', p, 'Q', 0, 'Water')"- this works but for buble, I defined: CoolProp.PropsSI('dl', 'P', p, 'Q', 0, 'Water'), this one didn't works. How I can define for dew and bubble properties? saturated liquid/ vapor properties are different from bubble/dew. Thank you, |
You do use version 5 of CoolProp, which can be found at https://github.com/coolprop/coolprop. This repository is only for version 4.2.6 and below. Besides that, hijacking threads is not very well received and @JonWel already answered your question in his comment to CoolProp/ExternalMedia#3: presure = CoolProp.PropsSI('P', 'T', 373, 'Q', 0, 'Water')
dl = CoolProp.PropsSI('D', 'P', presure, 'Q', 0, 'Water')
dv = CoolProp.PropsSI('D', 'P', presure, 'Q', 1, 'Water') |
Sir I've earliar sent a complaint at sourceforge.com regarding installation of coolprops and i got this reply, "Please file an issue at https://github.com/ibell/coolprop/issues - sourceforge is only used for website and release hosting.
Please in your issue include a screenshot of what your current working directory looks like (what files are in it), and what you did to get this error."
I am attaching Screen shot of both matlab error message directory with this message
The text was updated successfully, but these errors were encountered: