Emscripten project compilation problem!

Problems building or running the engine, queries about how to use features etc.
Post Reply
1171633283
Gnoblar
Posts: 4
Joined: Wed Jul 11, 2018 12:19 pm

Emscripten project compilation problem!

Post by 1171633283 »

The C compiler identification is MSVC 18.0.40629.0
The CXX compiler identification is MSVC 18.0.40629.0
Check for working C compiler: E:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe
Check for working C compiler: E:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: E:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe
Check for working CXX compiler: E:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:8 (if):
if given arguments:

"TRUE"
An argument named "TRUE" appears in a conditional statement. Policy
CMP0012 is not set: if() recognizes numbers and boolean constants. Run
"cmake --help-policy CMP0012" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:16 (file):
file COPY cannot find
"E:/ogre-master/ogre-master/Samples/Emscripten/Samples/Emscripten/media".

CMake Error at CMakeLists.txt:20 (file):
file COPY cannot find
"E:/ogre-master/ogre-master/Samples/Emscripten/Samples/Media/materials/textures/ribbonband.png".

CMake Error at CMakeLists.txt:27 (file):
file COPY cannot find
"E:/ogre-master/ogre-master/Samples/Emscripten/Samples/Media/RTShaderLib/GLSL".

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred!
See also "E:/ogre-master/ogre-master/Samples/Emscripten/CMakeFiles/CMakeOutput.log".

Cmake error!
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Emscripten project compilation problem!

Post by paroj »

you are using the wrong toolchain. Please work through https://kripken.github.io/emscripten-si ... orial.html first.
1171633283
Gnoblar
Posts: 4
Joined: Wed Jul 11, 2018 12:19 pm

Re: Emscripten project compilation problem!

Post by 1171633283 »

I compile this project, you mean the CMakeLists.txt file in it is wrong. Does this document have the latest right.
[img]C:\Users\ZZ-XA\Desktop\Emscripten.bmp[/img].
1171633283
Gnoblar
Posts: 4
Joined: Wed Jul 11, 2018 12:19 pm

Re: Emscripten project compilation problem!

Post by 1171633283 »

Image

I compile this project, you mean the CMakeLists.txt file in it is wrong. Does this document have the latest right
Post Reply