Hi Harish and Senthil,

Thanks for the reply !

I am aware about JAVA_HOME path but, in last build I forgot to export it. :(
Will build again in evening and let you know the status.

On Mon, Feb 1, 2016 at 12:28 PM, Harish Kumara Marappa <
h.marappa at samsung.com> wrote:

> Hi Manas,
>
>
>
> Simulator has dependency on java packages for building its native
> libraries.
>
> Simulator resolves this dependency from the variable JAVA_HOME which
> supposed to be set before start building.
>
> Please set JAVA_HOME variable to jdk which is installed in your machine.
>
> For example "*export JAVA_HOME=/usr/lib/jvm/jdk1.7.0*" [NOTE: Path should
> be changed according to where you have installed jdk in your machine].
>
>
>
>
>
> *Regards,*
>
> *Harish Kumara M*
>
>
>
>
>
>
>
>
>
> ------- *Original Message* -------
>
> *Sender* : Manas Marwah<manas.marwah at gmail.com>
>
> *Date* : Feb 01, 2016 02:32 (GMT+09:00)
>
> *Title* : Re: [dev] Simulator Build Failure on Iotivity 1.0.1 SDK
>
>
> 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
>
>


-- 
Thanks & Regards,
Manas Marwah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160201/e9011d8c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 201602011228828_BEI0XT4N.gif
Type: image/gif
Size: 13168 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160201/e9011d8c/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 201602011228835_2LL5XOK0.gif
Type: image/gif
Size: 13168 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160201/e9011d8c/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 201602011228839_A6X7LP7K.gif
Type: image/gif
Size: 13168 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160201/e9011d8c/attachment-0002.gif>

Reply via email to