- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am trying to use MATLAB engine in IVF 10.1. I tried to use the test code provided by Mathworks but that does not work. :( C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 2 Error 4 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 3 Error 5 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 3 Error 6 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 3 Error 7 Error: First statement in file must not be continued C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 3 Error 8 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 4 Error 9 Error: Syntax error, found '-' when expecting one of: => = / . ( :: , ; : ) % C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 3 Error 10 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 5 Error 11 Error: Syntax error, found IDENTIFIER 'THEDECLARATIONOFTHEPOINTERTYPENEEDED' when expecting one of: ; C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 4 Error 12 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 6 Error 13 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 7 Error 14 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 7 Error 15 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 7 Error 16 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 8 Error 17 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 8 Error 18 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 8 Error 19 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 9 Error 20 Error: Illegal character in statement label field [/] C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 9 Warning 21 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 10 Warning 22 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 11 Error 23 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 12 Error 24 Error: Lead underscore not allowed C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 12 Error 25 Error: Unrecognized token '|' skipped C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 12 Error 26 Error: Unrecognized token '|' skipped C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 12 Error 27 Error: Lead underscore not allowed C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 12 Warning 28 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 13 Warning 29 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 14 Warning 30 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 15 Warning 31 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 16 Warning 32 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 17 Warning 33 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 18 Warning 34 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 19 Warning 35 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 20 Warning 36 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 22 Warning 37 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 23 Warning 38 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 24 Warning 39 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 25 Warning 40 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 26 Warning 41 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 27 Warning 42 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 28 Warning 43 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 29 Warning 44 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 30 Warning 45 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 31 Warning 46 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 32 Warning 47 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 33 Warning 48 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 34 Warning 49 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 35 Warning 50 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 36 Warning 51 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 37 Warning 52 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 38 Warning 53 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 39 Warning 54 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 40 Warning 55 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 41 Warning 56 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 42 Warning 57 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 44 Error 58 Error: Illegal character in statement label field [/] C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 45 Error 59 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 45 Error 60 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 46 Error 61 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 46 Error 62 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 46 Error 63 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 47 Error 64 Severe: Too many errors, exiting Error 65 Compilation Aborted (code 1) C:\\Documents and Settings\\vkumar\\Desktop\\New Folder\\New Folder\\test.f 1
I am trying to use MATLAB engine in IVF 10.1. I tried to use the test code provided by Mathworks but that does not work. :(
but when I compile this test.F, I get the following error... ;(
Warning 1 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 1
Error 2 Error: Illegal character in statement label field [/] C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 2
Error 3 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 2
Error 4 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 3
Error 5 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 3
Error 6 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 3
Error 7 Error: First statement in file must not be continued C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 3
Error 8 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 4
Error 9 Error: Syntax error, found '-' when expecting one of: => = / . ( :: , ; : ) % C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 3
Error 10 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 5
Error 11 Error: Syntax error, found IDENTIFIER 'THEDECLARATIONOFTHEPOINTERTYPENEEDED' when expecting one of: ; C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 4
Error 12 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 6
Error 13 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 7
Error 14 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 7
Error 15 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 7
Error 16 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 8
Error 17 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 8
Error 18 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 8
Error 19 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 9
Error 20 Error: Illegal character in statement label field [/] C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 9
Warning 21 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 10
Warning 22 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 11
Error 23 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 12
Error 24 Error: Lead underscore not allowed C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 12
Error 25 Error: Unrecognized token '|' skipped C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 12
Error 26 Error: Unrecognized token '|' skipped C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 12
Error 27 Error: Lead underscore not allowed C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 12
Warning 28 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 13
Warning 29 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 14
Warning 30 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 15
Warning 31 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 16
Warning 32 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 17
Warning 33 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 18
Warning 34 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 19
Warning 35 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 20
Warning 36 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 22
Warning 37 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 23
Warning 38 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 24
Warning 39 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 25
Warning 40 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 26
Warning 41 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 27
Warning 42 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 28
Warning 43 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 29
Warning 44 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 30
Warning 45 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 31
Warning 46 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 32
Warning 47 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 33
Warning 48 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 34
Warning 49 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 35
Warning 50 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 36
Warning 51 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 37
Warning 52 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 38
Warning 53 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 39
Warning 54 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 40
Warning 55 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 41
Warning 56 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 42
Warning 57 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 44
Error 58 Error: Illegal character in statement label field [/] C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 45
Error 59 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 45
Error 60 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 46
Error 61 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 46
Error 62 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 46
Error 63 Error: Illegal character in statement label field C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 47
Error 64 Severe: Too many errors, exiting
Error 65 Compilation Aborted (code 1) C:\\Documents and Settings\\vkumar\\Desktop\\New Folder\\New Folder\\test.f 1
Warning 1 Warning: Bad # preprocessor line C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 1 Error 2 Error: Illegal character in statement label field [/] C:\\Program Files\\MATLAB\\R2009b\\extern\\include\\fintrf.h 2 Error 3 Error: Illegal character in statement label field Can anybody help me in this matter???
Thanks in advance....
Thanks in advance....
Link Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You must enable preprocessor, so that it recognizes #include and #define lines, which are not standard Fortran. (Project Properties/Fortran/Preprocessor/Preprocess Source File->Yes)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sir,
Thank you for your reply. I tried this, but this also did not help. I get the following errors.....
Error 2 Error: Illegal character in statement label field [/] C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 2
Error 3 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 2
Error 4 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 3
Error 5 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 3
Error 6 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 3
Error 7 Error: First statement in file must not be continued C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 3
Error 8 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 4
Error 9 Error: Syntax error, found '-' when expecting one of: => = / . ( :: , ; : ) % C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 3
Error 10 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 5
Error 11 Error: Syntax error, found IDENTIFIER 'THEDECLARATIONOFTHEPOINTERTYPENEEDED' when expecting one of: ; C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 4
Error 12 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 6
Error 13 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 7
Error 14 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 7
Error 15 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 7
Error 16 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 8
Error 17 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 8
Error 18 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 8
Error 19 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 9
Error 20 Error: Illegal character in statement label field [/] C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 9
Error 23 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 12
Error 24 Error: Lead underscore not allowed C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 12
Error 25 Error: Unrecognized token '|' skipped C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 12
Error 26 Error: Unrecognized token '|' skipped C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 12
Error 27 Error: Lead underscore not allowed C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 12
Error 58 Error: Illegal character in statement label field [/] C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 45
Error 59 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 45
Error 60 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 46
Error 61 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 46
Error 62 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 46
Error 63 Error: Illegal character in statement label field C:\Program Files\MATLAB\R2009b\extern\include\fintrf.h 47
Error 64 Severe: Too many errors, exiting
Error 65 Compilation Aborted (code 1) c:\Documents and Settings\vkumar\Desktop\New Folder\fengdemo.f 1
I seek further help in this matter...
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not sure if you are working with the IDE or not. Here is one way of getting it compiled with the CLI, after you have set %INCLUDE%, %LIB% and %PATH% to include the Matlab directories:
ifort/Qcppfengdemo.Flibeng.liblibmx.lib
ifort/Qcppfengdemo.Flibeng.liblibmx.lib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hellomecej4,
I did not get you sorry. let me tell you that i m working with windows xp.... not linux....
so plz make it more clear..
thnx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I ran the example on Windows XP SP3.
There is a shortcut to a command window under Start->Programs->Intel->Intel Fortran...->Fortran Build Environment...
Click on the shortcut. In the command window that opens, you need to add the Matlab directories to the include, library and executable search paths.
You can do corresponding configuration changes in a VS project, instead. You do need to make sure that the example source file is preprocessed before being compiled.
There is a shortcut to a command window under Start->Programs->Intel->Intel Fortran...->Fortran Build Environment...
Click on the shortcut. In the command window that opens, you need to add the Matlab directories to the include, library and executable search paths.
You can do corresponding configuration changes in a VS project, instead. You do need to make sure that the example source file is preprocessed before being compiled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for help. I have set preprocess source file :YES.. and additional include files asC:\Program Files\MATLAB\R2009b\bin.
bt still same situation... :(
can u more elaborate on it. I m working with VS 2005.
and IVF 11.1(or 10.1 not sure.. :( )......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is all quite straightforward, once the roles and interplay of include files, libraries and execution path are understood. These topics are covered in the Intel Fortran User's Guide. Please do read it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can find out your IVF version on Help/About, or in build log:
49>Compiling with Intel Visual Fortran 11.1.065 [IA-32]...
There is something fishy going on here. I compiled your sources with 11.1.065, and they compile successfully (although they don't link, because I don't have Matlab). The offending lines are:
One obvious fix is to delete the whole comments blocks from fintrf.h. Another one is that you get a newer version of the compiler.
49>Compiling with Intel Visual Fortran 11.1.065 [IA-32]...
There is something fishy going on here. I compiled your sources with 11.1.065, and they compile successfully (although they don't link, because I don't have Matlab). The offending lines are:
[cpp]#if defined(WITH_COMMENTS) /* * fintrf.h - MATLAB/FORTRAN interface header file. This file * contains the declaration of the pointer type needed * by the MATLAB/FORTRAN interface. * * Copyright 1984-2008 The MathWorks, Inc. * All Rights Reserved. */ #endif[/cpp]Although the constant "WITH_COMMENTS" should not be defined, your compiler apparently tries to compile the rest. Since this is C code, not Fortran, it cannot. I can not figure out why it tries to compile them though -- it shouldn't. Smells like a compiler bug.
One obvious fix is to delete the whole comments blocks from fintrf.h. Another one is that you get a newer version of the compiler.
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page