- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Question:
1. How was this switch set since I did not set it in theIDE?
2. How do Ichange it so I can point the linker to the right directory?
Link Copied
- 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
Hi Steve,
You are right. I was focusing on Qlocations because it did not look right in the buildlog. I attached the buildlog as a pdf file (sorry, the computer I ran Fortran is not connected to the internet, nor does it have removable media options).
I am building from the IDE.
First Problem:
I highlighted the Qlocation problems. As you can see, Qlocations appears twise. The first one appeared today, and that is why I can't compile anymore. How do I remove the first Qlocation?
The second one has two back-slashes before bin. How do I change the Qlocation field? Note that the IDE found the linker.
Second Problem:
When I compiled last week, the linker failed to find the obj files. Looking at the buidlog, it showed that the linker was looking for the obj files in a different directory (I use the compiler switch /object:$(root)\obj\$(filename), but somehow the linker did not use this). I moved the obj files to the directory that the linker expected and the linker worked.
I did not notice these problems before upgrading to version 12.
I hope you can help me fix these problems, and I thank you in advanced, Tino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Next, look at C:\Program Files)\Intel\ComposerXE-2011\bin\ia32\ifort.cfg It should have just one line beginning with a # character.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve
Thanks, I found the line in Fortran>Command Line. I was trying to override the Qlocations and I forgot to delete it. The Qlocations still has two back slashes, but it seems that it is picking the right linker.
Now it compiles, but the linker can't find 3 of the obj files.
The linker expects this files in the Debug directory, but they are located in the Debug/obj directory like the rest of the obj files. This 3 files are ".f90", whereas the rest are ".f". So, I don't know why the linker treats this files differently. Note that when I move these 3 files to the Debug directory, the linker works fine and the program executes to completion with no errors.
Regards, Tino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I might suggest at this point to just create a new solution/project, copy your sources to the project folder, add them to the project and build. It seems you've been making edits that are causing you trouble.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All the files in the project show the same location (.f and .f90). The linker find the obj which were generated with the .f but doesn't find the ones with .f90
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you still need help, please attach the .vfproj file, or you can open it in notepad and print it to PDF if you must.
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page