- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have installed Visual Studio 2010 and 2008.
But since my IVF compiler doesn't suit for VS2010, I usually use VS2008. I have already created a library including many subroutines & functions in fortran using VS2008.
Now I'd like to create a project to use a C program to link that library in fortran.
I use VS2008 to create a project, add the C program but I think there is no C compiler in VS2008, since it's all black shown in VS2008. Also, I don't see C compiler as VS2010 shows, when I click Help->About Microsoft Visual Studio.
Questions are:
1/ Can I use VS2010 to create that project with C the main program? My IVF is w_cprof_p_11.1.072.
2/ If using VS2008, how to compile that C program?
Thanks a lot
Mike
I have installed Visual Studio 2010 and 2008.
But since my IVF compiler doesn't suit for VS2010, I usually use VS2008. I have already created a library including many subroutines & functions in fortran using VS2008.
Now I'd like to create a project to use a C program to link that library in fortran.
I use VS2008 to create a project, add the C program but I think there is no C compiler in VS2008, since it's all black shown in VS2008. Also, I don't see C compiler as VS2010 shows, when I click Help->About Microsoft Visual Studio.
Questions are:
1/ Can I use VS2010 to create that project with C the main program? My IVF is w_cprof_p_11.1.072.
2/ If using VS2008, how to compile that C program?
Thanks a lot
Mike
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You must install the corresponding Microsoft C++ compiler in VS2008 in order to integrate ifort into VS2008. That C++ compiler supports C89.
The only thing I can see to support your comments is that you may not have selected the C++ compiler option for VS2008. Unlike VS2010, the X64 C++ in VS2008 is another option inside the C++ (32-bit) option. You would repeat your ifort installation in order to integrate into VS2008 after you add the necessary C++ option(s).
You should stick to VS2008 until you are prepared to upgrade to an ifort which supports VS2010.
The only thing I can see to support your comments is that you may not have selected the C++ compiler option for VS2008. Unlike VS2010, the X64 C++ in VS2008 is another option inside the C++ (32-bit) option. You would repeat your ifort installation in order to integrate into VS2008 after you add the necessary C++ option(s).
You should stick to VS2008 until you are prepared to upgrade to an ifort which supports VS2010.

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