Hi Radha, Thanks for providing the fix. That problem is resolved but, moving forward I got another issue. Pasting build logs below.
*********************************************************************** Compiling out/linux/x86/release/service/simulator/java/jni/resource_attributes_jni.os In file included from service/simulator/java/jni/resource_attributes_jni.cpp:21:0: service/simulator/java/jni/resource_attributes_jni.h:24:17: fatal error: jni.h: No such file or directory #include <jni.h> ^ compilation terminated. scons: *** [out/linux/x86/release/service/simulator/java/jni/resource_attributes_jni.os] Error 1 scons: building terminated because of errors. *********************************************************************** Any suggestion ? On Thu, Jan 28, 2016 at 4:28 PM, P RADHABHAVANIGOWD <radha.p at samsung.com> wrote: > Hi Manas, > > > > Thank you for the logs. > > Could you try with patch(https://gerrit.iotivity.org/gerrit/#/c/4877/). > > > > Regards, > > Radha. > > > > ------- *Original Message* ------- > > *Sender* : Manas Marwah<manas.marwah at gmail.com> > > *Date* : Jan 28, 2016 02:29 (GMT+09:00) > > *Title* : Re: [dev] Simulator Build Failure on Iotivity 1.0.1 SDK > > > Dear Radha, > > Thanks for the reply ! > > >Could you try building with higher version of GCC(4.8 or 4.9). > I tried with both GCC version 4.8 and 4.9 but couldn't resolve the issue. > Any other suggestion ? > > ******************************************************************* > Compiling > out/linux/x86/release/service/simulator/ramlparser/raml/IncludeResolver.os > service/simulator/ramlparser/raml/IncludeResolver.cpp: In member function > 'RAML::IncludeResolver::FileType RAML::IncludeResolver::getFileType(const > YAML::Node&)': > service/simulator/ramlparser/raml/IncludeResolver.cpp:66:36: error: no > matching function for call to 'find(std::vector<std::basic_string<char> > >::const_iterator, std::vector<std::basic_string<char> >::const_iterator, > std::string&)' > extension) != Keys::AllowedRamlYamlTypes.end()) > ^ > service/simulator/ramlparser/raml/IncludeResolver.cpp:66:36: note: > candidate is: > In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0, > from /usr/include/c++/4.8/bits/basic_ios.h:37, > from /usr/include/c++/4.8/ios:44, > from extlibs/yaml/yaml/include/yaml-cpp/parser.h:10, > from extlibs/yaml/yaml/include/yaml-cpp/yaml.h:10, > from > service/simulator/ramlparser/raml/IncludeResolver.h:30, > from > service/simulator/ramlparser/raml/IncludeResolver.cpp:21: > /usr/include/c++/4.8/bits/streambuf_iterator.h:369:5: note: template<class > _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, > std::istreambuf_iterator<_CharT> >::__type > std::find(std::istreambuf_iterator<_CharT>, > std::istreambuf_iterator<_CharT>, const _CharT2&) > find(istreambuf_iterator<_CharT> __first, > ^ > /usr/include/c++/4.8/bits/streambuf_iterator.h:369:5: note: template > argument deduction/substitution failed: > service/simulator/ramlparser/raml/IncludeResolver.cpp:66:36: note: > '__gnu_cxx::__normal_iterator<const std::basic_string<char>*, > std::vector<std::basic_string<char> > >' is not derived from > 'std::istreambuf_iterator<_CharT>' > extension) != Keys::AllowedRamlYamlTypes.end()) > ^ > scons: *** > [out/linux/x86/release/service/simulator/ramlparser/raml/IncludeResolver.os] > Error 1 > scons: building terminated because of errors. > ******************************************************************* > > > On Wed, Jan 27, 2016 at 1:14 PM, P RADHABHAVANIGOWD <radha.p at samsung.com> > wrote: > >> Hi Manas, >> >> >> >> Could you try building with higher version of GCC(4.8 or 4.9). >> >> Still if you face any issues please let me know. >> >> >> >> Regards, >> >> Radha. >> >> >> >> ------- *Original Message* ------- >> >> *Sender* : Manas Marwah<manas.marwah at gmail.com> >> >> *Date* : Jan 26, 2016 20:22 (GMT+09:00) >> >> *Title* : [dev] Simulator Build Failure on Iotivity 1.0.1 SDK >> >> >> Hi, >> >> I am trying to build simulator with Iotivity 1.0.1 SDK on Ubuntu 12.04. >> Referring the steps given in >> https://wiki.iotivity.org/iotivity_tool_guide. >> >> Build (scons SIMULATOR=1) failed with below errors. >> >> I would appreciate if someone can help me in this ! >> >> ****************************************************** >> Compiling >> out/linux/x86/release/service/simulator/ramlparser/raml/jsonSchemaParser/JsonSchema.os >> Compiling >> out/linux/x86/release/service/simulator/ramlparser/raml/IncludeResolver.os >> service/simulator/ramlparser/raml/IncludeResolver.cpp: In member function >> 'RAML::IncludeResolver::FileType RAML::IncludeResolver::getFileType(const >> YAML::Node&)': >> service/simulator/ramlparser/raml/IncludeResolver.cpp:66:36: error: no >> matching function for call to 'find(std::vector<std::basic_string<char> >> >::const_iterator, std::vector<std::basic_string<char> >::const_iterator, >> std::string&)' >> service/simulator/ramlparser/raml/IncludeResolver.cpp:66:36: note: >> candidate is: >> /usr/include/c++/4.6/bits/streambuf_iterator.h:359:5: note: >> template<class _CharT2> typename >> __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, >> std::istreambuf_iterator<_CharT2, std::char_traits<_CharT> > >::__type >> std::find(std::istreambuf_iterator<_CharT2, std::char_traits<_CharT> >, >> std::istreambuf_iterator<_CharT2, std::char_traits<_CharT> >, const >> _CharT2&) >> scons: *** >> [out/linux/x86/release/service/simulator/ramlparser/raml/IncludeResolver.os] >> Error 1 >> scons: building terminated because of errors. >> ************************************************************* >> >> Please let me know if any other information is required.? >> >> >> -- >> Thanks & Regards, >> Manas Marwah >> >> >> >> >> >> > > > -- > Thanks & Regards, > Manas Marwah > > > > > > -- Thanks & Regards, Manas Marwah -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160131/40d28bf5/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 201601281627152_BEI0XT4N.gif Type: image/gif Size: 13168 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160131/40d28bf5/attachment.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 201601281627187_2LL5XOK0.gif Type: image/gif Size: 13168 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160131/40d28bf5/attachment-0001.gif>