0

I used tizen sdk 2.3.1 and run my app in the emulator. Everytime I called function emplace_back from std::vector in Release mode my app crash. If I run it in Debug mode it runs just fine.

Any idea why ?

Mehedi Alamgir
  • 203
  • 2
  • 7
Kamil Zubair
  • 229
  • 2
  • 10

1 Answers1

0

When you change the configuration Debug mode to Release mode, It also changes the compiler settings.So after changing to Release mode, you have to change C++ compiler to C++11 again. Go to project properties and change the compiler setting.

Check the following screenshot of Tizen Studio 1.0.2.

enter image description here

enter image description here

enter image description here

Mehedi Alamgir
  • 203
  • 2
  • 7
  • Sorry for the late reply. I used cli sdk, I don't use tizen studio. I already specify the c++ tag in flags.mk. I tried -std=c++0x, -std=c++11, -std=c++14 and nothing works. Right now, I'm waiting for my tizen phone, I hope everyting will be ok of I build it for the real phone – Kamil Zubair Jan 16 '17 at 00:21