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 ------------------------------------------------------------------------------ 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