Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • usachemoApril 28, 2009 1:06 PM PDT   
    fatal error LNK1181: cannot open input file 'C:Program.obj

    I have done everything that I can find in the manuals but when I try to run one of the examples that comes with the Array Vis 3.3 download "Update.f90" I get the message:

    fatal error LNK1181: cannot open input file 'C:Program.obj'


    Has anyone had this problem?  Any help will be appreciated.

    Mike


    usachemoApril 29, 2009 11:37 AM PDT
    Rate
     
    Re: fatal error LNK1181: cannot open input file 'C:Program.obj

    I tried the solution from inaylor, to install the array visualizer first, then reinstall ivf.  However, I am still getting the error message when I try to run the sample app.  Is there a step by step process to installing and using the array visualizer?  I am running VS2008 with ivf 11.0 on a WINXP system.  Any ideas will be very much appreciated.

    Mike


    Steve Lionel (Intel)April 29, 2009 11:39 AM PDT
    Rate
     
    Re: fatal error LNK1181: cannot open input file 'C:Program.obj

    This particular message suggests that there is a path being added to the link that needs to be enclosed in quotes.  How are you doing the build?

    If you are using Visual Studio, you will need to add the path for the Array Visualizer libraries to Tools > Options > Intel Fortran > Compiler > Library Files. 


    Steve

    Attaching or including files in a post
    Doctor Fortran blog
    @DoctorFortran on Twitter

    usachemoApril 29, 2009 11:59 AM PDT
    Rate
     
    Re: fatal error LNK1181: cannot open input file 'C:Program.obj

    This particular message suggests that there is a path being added to the link that needs to be enclosed in quotes.  How are you doing the build?

    If you are using Visual Studio, you will need to add the path for the Array Visualizer libraries to Tools > Options > Intel Fortran > Compiler > Library Files. 
    Steve,

    I am using VS 2008 and IVF 11.0.  I have the following at the end of the library files:
    "C:Program FilesIntelArray Visualizerlib"

    I also included something similar in the include files:
    "C:Program FilesIntelArray Visualizerinclude"

    It is still giving me the same error.  Argh!  Thanks so far for your help.  It feels like the answer is just around the corner.

    Mike

    usachemoApril 29, 2009 12:16 PM PDT
    Rate
     
    Re: fatal error LNK1181: cannot open input file 'C:Program.obj

    This particular message suggests that there is a path being added to the link that needs to be enclosed in quotes.  How are you doing the build?

    If you are using Visual Studio, you will need to add the path for the Array Visualizer libraries to Tools > Options > Intel Fortran > Compiler > Library Files. 

    Steve, I've been playing around with the dependencies in the project settings.  Now I get this message:
    Link: error #10014: problem during multi-file optimization compilation (code 3)

    Is there a setting that I can change to fix this?  Thanks.

    Mike

    Steve Lionel (Intel)April 29, 2009 12:18 PM PDT
    Rate
     
    Re: fatal error LNK1181: cannot open input file 'C:Program.obj

    That error is almost always preceded by some other error, such as an object or library not found or a compile that failed.  You need to find and fix the earlier error of which this is just a side-effect.


    Steve

    Attaching or including files in a post
    Doctor Fortran blog
    @DoctorFortran on Twitter

    usachemoApril 29, 2009 12:32 PM PDT
    Rate
     
    Re: fatal error LNK1181: cannot open input file 'C:Program.obj

    That error is almost always preceded by some other error, such as an object or library not found or a compile that failed.  You need to find and fix the earlier error of which this is just a side-effect.

    Okay.  I have made sure that all of my paths for includes and libraries are in quotes, for example:
    "C:Program FilesIntelArray Visualizerinclude"

    Q: Is this the right way to put in the paths?

    Now I am getting multiple errors one of which is:
    AvFRT.lib(Viewer.obj) : error LNK2001: unresolved external symbol __imp__SysAllocString@4

    This is new.  But I think I'm getting closer. Any suggestions?

    Mike

    usachemoApril 29, 2009 1:43 PM PDT
    Rate
     
    Re: fatal error LNK1181: cannot open input file 'C:Program.obj

    That error is almost always preceded by some other error, such as an object or library not found or a compile that failed.  You need to find and fix the earlier error of which this is just a side-effect.

    I got it.  I found an old post the said to put the following in the command line of the linker(under Project properties):

    /SUBSYSTEM:CONSOLE AvFRTd.lib ole32.lib oleaut32.lib

    However, since my project was originally created as a qwin app instead of a console app I replaced CONSOLE with WINDOWS.  It worked on the sample.  Hopefully by following the same steps I can get it to work with my own projects.  I will follow up with how it goes.  Thanks for your help.

    Mike

    Steve Lionel (Intel)April 30, 2009 6:25 AM PDT
    Rate
     
    Re: fatal error LNK1181: cannot open input file 'C:Program.obj

    I would recommend using the specific property page for those options rather than putting them in the command line section, but whatever works for you...


    Steve

    Attaching or including files in a post
    Doctor Fortran blog
    @DoctorFortran on Twitter

    usachemoApril 30, 2009 6:32 AM PDT
    Rate
     
    Re: fatal error LNK1181: cannot open input file 'C:Program.obj

    I would recommend using the specific property page for those options rather than putting them in the command line section, but whatever works for you...

    Steve,  is the property page some that I would be able to reference from any project, like a template?  That way I would not have to manually put all of those links and properties into each project that I want to use the Array Visualizer with.  How would I set up the property page?  Thanks in advance.

    Mike

    Steve Lionel (Intel)April 30, 2009 7:19 AM PDT
    Rate
     
    Re: fatal error LNK1181: cannot open input file 'C:Program.obj

    Unfortunately, there is no template feature available for Fortran.

    The libraries you would list under Linker > Input > Additional Dependencies
    /SUBSYSTEM is spedified at Linker > System > Subsystem, but normally you don't need to do this as it is set properly when you create the project, if you chose the proper project type.


    Steve

    Attaching or including files in a post
    Doctor Fortran blog
    @DoctorFortran on Twitter

Forum jump:  

Intel Software Network Forums Statistics

17,025 users have contributed to 48,317 threads and 172,754 posts to date.

In the past 24 hours, we have 9 new thread(s) 56 new posts(s), and 52 new user(s).

In the past 3 days, the most popular thread for everyone has been How to manage rounding by IVF ?? The most posts were made to Most likely, the issue is that The post with the most views is Optimalization of sine function\'s taylor expansion

Please welcome our newest member redfruit83


For more complete information about compiler optimizations, see our Optimization Notice.