Microsoft Windows* 8.x

Unable to solve external symbol (error LNK2019) when linking multi language project

Hello,

due to migration to Windows 7 by our IT department, I had to switch from VC++ 6.0 and Compaq Visual Fortan to Visual Studio 2010 with Microsoft Visual Cüü 2010 and Intel Visual Fortran Composer XE 2013.

Trying to recompile the existing mixed language project I solved all issues except one.
When linking the project I get this error message:

Fehler 1 error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_DORN2ZSDT@268" in Funktion "_main".

Link error with icpc when using Boost* 1.51+ MPL library and g++*

Problem

Link error with icpc: when linking object files compiled with icpc & g++* along with Boost* MPL library 1.51 or above, as shown in the sample test case below:

%cat t.h
#include <boost/mpl/vector.hpp>
template<typename T> struct my;
void foo(my<boost::mpl::vector<> >* = 0);

%cat u.cpp
#include "t.h"
int main() { foo();}

  • Entwickler
  • Linux*
  • Microsoft Windows* 8.x
  • C/C++
  • Fortgeschrittene
  • Intel® Composer XE
  • Intel® C++ Studio XE
  • Intel® Parallel Studio XE
  • Entwicklungstools
  • C# string problems with .net 4.0

    I have project where a c# GUI calls a fortran subroutine.  The program passes integrers, floats, arrays, and strings.  I built the c# program originally with .NET 2.0 without problems, then .NET 3.0, and even .NET 3.5 without any issue.  When I try to upgrade my c# program to .NET 4.0 I suddenlt start to get string errors.  What has worked in the past for the string definition (much thanks to help from this forum) is as follows:

    C# -  [MarshalAs(UnmanagedType.LPStr] string logfile

    Fortran - character*255 logfile.

    Problems with using INDEX(substr,str) function in Intel Visual Fortran 2011 running on MSVS 2008 Professional

    This seems like a simple function to use but I am having problems with the INDEX(substr,str) function returning a zero (0) value even when the substring is within the string.

    For example:

    Comma delimiter between text input

    CHARACTER(LEN=1024) :: STR

    STR='ARG1=40,ARG2=2,ARG3=13.5,ARG4=29.6,ARG5=2.9,ARG6=1,*                                             ... ... ...'

    LOCC=LEN_TRIM(STR)

    LOCD=INDEX(',',STR(1:LOCC)) ! ',' is delimiter for all individual keywords

    Introducing the Digital Mementos Sample Application

    Digital Mementos is a sample travel application that uses three Intel® Cloud Services Platform services, namely Intel® Identity Services, Location Based Services, and Context Services, to build true cross-platform, transparent consumer experiences in the form of Windows* 8, Android*, and web client applications. Digital Mementos is a device agnostic, context-aware concept that provides a seamless, integrated user experience by taking advantage of the corresponding features of the devices where the features are running.

  • Entwickler
  • Android*
  • Microsoft Windows* 8.x
  • Cloud-Dienste
  • JavaScript*
  • Fortgeschrittene
  • Cloud-Computing
  • Help ! "FORRTL: SEVERE (157): PROGRAM EXCEPTION - ACCESS VIOLATION" ERROR

    Hi,

    I am getting this error "forrtl: severe (157): Program Exception - access violation" in my Fortran codes. If you build and run the code, you can see that I have positioned the line of the problem with the use of "call system('pause')" in line 767. Then, if you push any button, the program gives "the error". Any ideas based on the declarations and code posted in the attached file? Thanks.

    Emre

    How could I compare two dense matrices with the same dimensions?

    I'm currently porting some Fortran codes to C/C++ and my question is: How could I compare two dense matrices with the same dimensions?

    For exampe,
    ...
    ALLOCATE ( A( n,m ) )
    ALLOCATE ( B( n,m ) )
    ...
    A = 0
    B = 0
    ...
    ! Some processing...
    ...
    Could I use:
    ...
    IF A == B THEN
    WRITE(*,"(A)"),'Matrix A equal to Matrix B'
    ELSEIF THEN
    WRITE(*,"(A)"),'Matrix A not equal to Matrix B'
    ENDIF
    ...
    Thanks in advance.

    Microsoft Windows* 8.x abonnieren