This list filters non-text attachments.  Myoungkyu, please reply
with the text of your program pasted in, or attach your program as
a text/plain MIME attachment.
        Igor

David P Grove/Watson/i...@ibmus wrote on 12/10/2010 12:24:32 PM:

> Igor Peshansky/Watson/i...@ibmus wrote on 12/10/2010 12:08:26 PM:
> >
> > Hello, X10 users
> >
> > I am writing this post about the problem that is related to the 
calling
> > the external C++ code.
> > I've got the following compile error message;
> >
> 
-----------------------------------------------------------------------------------
> 
> > r...@smk-laptop:/home/smk/odb/x10test# x10c++ -o HelloWorld
> HelloWorld.x10
> > -x10rt standalone
> > x10c++: HelloWorld.cc: In static member function ‘static void
> > HelloWorld::main
> (x10aux::ref<x10::array::Array<x10aux::ref<x10::lang::String>
> > > >)’:
> >      HelloWorld.cc:23: error: ‘foo’ was not declared in this scope
> > x10c++: Non-zero return code: 1
> > 2 errors.
> > r...@smk-laptop:/home/smk/odb/x10test#
> >
> 
-----------------------------------------------------------------------------------
> 
> > Would you be able to help me out? Thanks in advance.
> >
> 
> Sorry, need to see HelloWorld.x10 to be able to answer the question.  My
> guess would be that you need an @NativeInclude or 
@NativeCPPCompilationUnit
> annotation, but that's wild speculation.
> 
> --dave
-- 
Igor Peshansky  (note the spelling change!)
IBM T.J. Watson Research Center
X10: Parallel Productivity and Performance (http://x10-lang.org/)
XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/)
"I hear and I forget.  I see and I remember.  I do and I understand" -- 
Xun Zi
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to