Closed nazarimilad closed 6 years ago
When compiling a project for the Web platform using Cheerp you need to also compile all the required dependencies, such as libuv in this case. You need to get libuv source and compile it as well. During installation you can put it in any path you like. Afterwards you can use the ccmake command to manually set the UV_LIBRARY UV_INCLUDE_DIR paths to the directory of choice.
Another possibility is to avoid using external dependencies such as libuv since they may not be a good fit for the Web platform in the first place.
I see, thank you for your advice! :)
I'm trying to compile a C++ project using cmake and cheerp's clang.
cmake .. -DWITH_AEON=OFF -DWITH_HTTPD=OFF -DCMAKE_TOOLCHAIN_FILE=/opt/cheerp/share/cmake/Modules/CheerpToolchain.cmake
I get the following error:
I guess I have to include the UV path in
/opt/cheerp/share/cmake/Modules/CheerpToolchain.cmake
but I have no idea if this is correct or how to do it. Thanks.