I'm a badaOS developer and tried to import a native c++ game of mine from badaOS 2.0 to the new TizenOS 2.0 following the migration guide. After all modifications in my source code I get errors that aren't in my header and/or source files:
I get 4 warnings and 2 errors generated.
C:/tizen-sdk/platforms/tizen2.0/rootstraps/tizen-emulator-2.0.cpp/usr/include\unistd.h:1056:20: error: use of undeclared identifier 'intptr_t'
extern void *sbrk (intptr_t __delta) __THROW;
^
C:/tizen-sdk/platforms/tizen2.0/rootstraps/tizen-emulator-2.0.cpp/usr/include\unistd.h:1056:37: error: expected ';' after top level declarator
extern void *sbrk (intptr_t __delta) __THROW;
GamesGUI/src/subdir.mk:301: recipe for target 'GamesGUI/src/OGUT.o' failed
mingw32-make.exe: *** [GamesGUI/src/OGUT.o] Error 1
in the subdir.mk file @ line 301
GamesGUI/src/OGUT.o: C:/Tizen-workspace/FrameWork/GamesGUI/src/OGUT.cpp
@echo 'Building file: $<'
@echo 'Invoking: C++ Compiler'
clang++.exe -I"pch" -D_DEBUG -I"C:\Tizen-workspace\Arithmetics\inc" -I"C:/tizen-sdk/platforms/tizen2.0/rootstraps/tizen-emulator-2.0.cpp/usr/include" -I"C:/tizen-sdk/platforms/tizen2.0/rootstraps/tizen-emulator-2.0.cpp/usr/include/libxml2" -I"C:\tizen-sdk\library" -I"C:/tizen-sdk/platforms/tizen2.0/rootstraps/tizen-emulator-2.0.cpp/usr/include/osp" -I"C:\Tizen-workspace\FrameWork\_Include" -I"C:\Tizen-workspace\FrameWork\GamesGUI\inc" -I"C:\Tizen-workspace\FrameWork\GameLogic" -I"C:\Tizen-workspace\FrameWork\AdvanceUtils" -I"C:\Tizen-workspace\FrameWork\BaseUtils" -I"C:\Tizen-workspace\FrameWork\CmdHandling" -I"C:\Tizen-workspace\FrameWork\Hardware" -I"C:\Tizen-workspace\FrameWork\Security" -O0 -g3 -Wall -c -fmessage-length=0 -target i386-tizen-linux-gnueabi -gcc-toolchain C:/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu -fPIE --sysroot="C:/tizen-sdk/platforms/tizen2.0/rootstraps/tizen-emulator-2.0.cpp" -I"C:/tizen-sdk/platforms/tizen2.0/rootstraps/tizen-emulator-2.0.cpp/usr/include" -I"C:/tizen-sdk/platforms/tizen2.0/rootstraps/tizen-emulator-2.0.cpp/usr/include/libxml2" -I"C:\tizen-sdk\library" -I"C:/tizen-sdk/platforms/tizen2.0/rootstraps/tizen-emulator-2.0.cpp/usr/include/osp" -D_APP_LOG -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
Any help?