Hi,
I have installed the Intel Fortran Compiler for Mac OS (12.1.0) for use both within Xcode (4.2) and from the command line. However, the compiler is not available to select within build rules in Xcode (despite its documentation appearing in Preferences > Downloads > Documentation). Reinstalling it didn't seem to help. It works fine from the command line but it would be useful to integrate with Xcode. Any ideas why it's not showing up?
Thanks very much,
Oliver
链接已复制
19 回复数
Have spent some more time looking into this. The Fortran templates don't seem to have been installed for Xcode - no directory /Developer/Library/Xcode/Templates/File Templates/Fortran has been created and Spotlight searches for Fortan Fixed Format File.* and Fortran Free Format File.* yield no results. Also there doesn't seem to be a IFORT 12.1 Compiler.xcplugin file anywhere (I understand this should have been created in /Developer/Library/Xcode/Third-Party Plugins/).
I have reinstalled the compiler several times now to no avail.Any help much appreciated.
Versions:
Intel Fortran Compiler XE 12.1 (update 6)
Xcode 4.2
Mac OS X Lion 10.7.2
Oliver
I notice the exact same things, also using XCode 4.2, Lion 10.7.2, IFC12.0.5 20110719.
Using the same IFC a few weeks ago on another machine (so that would have been XCode 4.1, and, I think, Lion 10.7.1) these problems did not occur.
Only if you have a really colorful screensaver. ;-)
The problem does not seem to be unique to our integration with Xcode: the disappearence of Fortran syntax coloring has been noticed by users of gfortran as well. We've asked Apple (e.g., filed a radar) what changed but haven't gotten an answer yet.
If we find out it's our problem, we'll fix it as soon as we can.
The problem does not seem to be unique to our integration with Xcode: the disappearence of Fortran syntax coloring has been noticed by users of gfortran as well. We've asked Apple (e.g., filed a radar) what changed but haven't gotten an answer yet.
If we find out it's our problem, we'll fix it as soon as we can.
Quoting filipesmg
The syntax coloring is back!
Thanks
Ebrahim
I have to say that I'm not compiling and running my programs inside Xcode anymore (I'm just using it for editing), so I don't know if the compiler works on Xcode 4.3. All I know is that the coloring is working fine.
Quoting filipesmg
I have to say that I'm not compiling and running my programs inside Xcode anymore (I'm just using it for editing), so I don't know if the compiler works on Xcode 4.3. All I know is that the coloring is working fine.
Thanks Filip for the reply. Do you by any chance check it under Xcode 4.2? I don't have it in 4.2 and I cannot upgrade to 4.3
Ebrahim
Yes, under Xcode 4.2 I could compile and run with the latest ifort (12.1.0), and syntax coloring was not working. Then, I stopped compiling and running my programs on my computer when I updated to Xcode 4.3.
Actually, I have already tried to compile through Xcode 4.3, but something is strange - it seems to be compiling, but an old version of my program. It's writing old values and giving me an error on a line that it's not even there anymore.
In my menu Editor -> Syntax Coloring, there's a Fortran 90 option:
Now, I'm using Xcode 4.4, and my ifort is 12.1.1.246.I think I have installed it when I had Xcode 4.2, and after that, I have only updated Xcode. Since I'm compiling my program on Terminal, I didn't have any problem. I never had to enable the coloring, it was automatic after installing ifort and the xcode plugins.