Compilation of events failed, and scene cannot be previewed. Please report this problem to GDevelop’s developer, joining this file:
/tmp/GDTemporaries/LatestCompilationOutput.txt
It defaults to GCC v4.8.4 in Ubuntu 14.04. And just as important, it only includes the ‘C’ compiler, not the ‘C++’ compiler:
Open the console and Try:
which g++ gcc
/usr/bin/gcc
gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Now, you install G++ compiler!
Try:
sudo apt-get install build-essential
which g++ gcc
/usr/bin/g++
/usr/bin/gcc
g++ --version
g++ (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This solved my problem. But yet you failed to urge the G ++ compiler or the GCC , try:
It should work with g++ installed with build-essential (the dependency was added to the package for the next version), why do you need to do the second part of your explanation ?
In other distributions, especially if you use virtual machine with Linux, can occur not upgrade some features with the build-essential. It would be a second functional option for situations like that ^^ … I have the system on the machine and various distributions VM.I put here the two forms to help people and explained just another form.