Difference between revisions of "Support:Tech notes"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
## C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin | ## C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin | ||
## C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE | ## C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE | ||
+ | # Go to control->system->environmental variables. Edit 'include' and add the following dir: | ||
+ | C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include | ||
==== How to set up the C compiler from MinGW on a 64-bit Windows system ==== | ==== How to set up the C compiler from MinGW on a 64-bit Windows system ==== | ||
+ | |||
+ | == How to compile cvOdesGenMod5.c | ||
+ | ==== Windows ==== | ||
+ | 1. Enter COMKATROOT\CVODESserial-2.3.0-2005\sundials\cvodes\source. Run: | ||
+ | <pre>cl /c /I..\include /I..\..\shared\include *.c | ||
+ | lib /out:cvodes.lib *.obj</pre> |
Revision as of 19:41, 26 February 2008
Mex and compiler setting
How to set up mex compiler on a 64-bit Matlab using Visual Studio 2008 Professional
How to set up mex compiler on a 64-bit Matlab using MinGW
How to set up the C compiler from Visual Studio 2008 on a 64-bit Windows system
- Go to control->system->environmental variables. Edit 'path' and add the following dir:
- C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools
- C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
- C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
- Go to control->system->environmental variables. Edit 'include' and add the following dir:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include
How to set up the C compiler from MinGW on a 64-bit Windows system
== How to compile cvOdesGenMod5.c
Windows
1. Enter COMKATROOT\CVODESserial-2.3.0-2005\sundials\cvodes\source. Run:
cl /c /I..\include /I..\..\shared\include *.c lib /out:cvodes.lib *.obj