MESSAGE( STATUS "Tizen Platform Config supported ${TIZEN_PLATFORM_CONFIG_SUPPORTED_LOGMSG}")
MESSAGE( STATUS "Compile flags: ${CMAKE_CXX_FLAGS}")
MESSAGE( STATUS "Compile flags: ${CMAKE_C_FLAGS}")
+MESSAGE( STATUS "CMAKE_SYSROOT: ${CMAKE_SYSROOT}")
+MESSAGE( STATUS "CMAKE_SYSTEM_INCLUDE_PATH: ${CMAKE_SYSTEM_INCLUDE_PATH}")
+MESSAGE( STATUS "CMAKE_SYSTEM_LIBRARY_PATH: ${CMAKE_SYSTEM_LIBRARY_PATH}")
IF( enable_feedback )
ADD_SUBDIRECTORY( plugins )
ENDIF()
INCLUDE_DIRECTORIES( ${ANDROID_NDK}/sources )
INCLUDE_DIRECTORIES( ${ANDROID_NDK}/sources/android )
INCLUDE_DIRECTORIES( ${ANDROID_NDK}/sources/android/native_app_glue )
- INCLUDE_DIRECTORIES( ${ANDROID_NDK}/sysroot/usr )
- INCLUDE_DIRECTORIES( ${ANDROID_NDK}/sysroot/usr/include/android )
+ INCLUDE_DIRECTORIES( ${CMAKE_SYSROOT}/usr )
+ INCLUDE_DIRECTORIES( ${CMAKE_SYSROOT}/usr/include/android )
ENDIF()
IF( enable_wayland )
#include <dali/internal/adaptor-framework/common/file-loader-impl.h>
// EXTERNAL INCLUDES
-#include <string>
+#include <cstring>
#include <fstream>
#include <dali/integration-api/debug.h>
}
else
{
- DALI_LOG_ERROR( "file open failed for: \"%s\"\n", filename.c_str() );
+ char buf[512];
+ DALI_LOG_ERROR( "file open failed for: \"%s\", error : %s\n", filename.c_str(), strerror_r( errno, buf, 512 ) );
}
return errorCode;
#include <dali/internal/adaptor-framework/common/file-stream-impl.h>
// EXTERNAL INCLUDES
-#include <string>
+#include <cstring>
#include <fstream>
#include <dali/integration-api/debug.h>
mFile = fopen( mFileName.c_str(), openMode );
if( !mFile )
{
+ char buf[512];
DALI_LOG_ERROR( "file open failed for: \"%s\", in mode: \"%s\".\n", mFileName.c_str(), openMode );
+ DALI_LOG_ERROR( "file open failed error : %s\n", strerror_r( errno, buf, 512 ) );
}
}
else if( mBuffer )
mFile = fmemopen( mBuffer, mDataSize, openMode );
if( !mFile )
{
+ char buf[512];
DALI_LOG_ERROR( "File open failed for memory buffer at location: \"%p\", of size: \"%u\", in mode: \"%s\".\n",
static_cast<void*>( mBuffer ), static_cast<unsigned>( mDataSize ), openMode );
+ DALI_LOG_ERROR( "file open failed error : %s\n", strerror_r( errno, buf, 512 ) );
}
}
{
const unsigned int ADAPTOR_MAJOR_VERSION = 2;
const unsigned int ADAPTOR_MINOR_VERSION = 0;
-const unsigned int ADAPTOR_MICRO_VERSION = 5;
+const unsigned int ADAPTOR_MICRO_VERSION = 6;
const char* const ADAPTOR_BUILD_DATE = __DATE__ " " __TIME__;
#ifdef DEBUG_ENABLED
Name: dali2-adaptor
Summary: The DALi Tizen Adaptor
-Version: 2.0.5
+Version: 2.0.6
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT