You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found that the Shared Debug library for linux does not work correctly. There is internal assert failures. The steps to reproduce are fairly straight forward if you follow the wiki with some slight changes( see: Microsoft/ChakraCore Wiki: Embedding ChakraCore).
The steps to reproduce the issue are as follows...
Create a clean checkout of the Master ChakraCore branch.
Meet all build dependencies for ChakraCore. In my case I use Ubuntu 16.04 LTS with packaged versions of cmake, clang, ninja ( ninja-build package), and others.
Build chakracore debug library
# Run this in root directory for ChakraCore.
./build.sh -n -d
Wait for build to finish.
prepare an example runtime/link folder using above...
cd BuildLinux
mkdir DebugLibTest
cd DebugLibTest
# This command is for Linux.
cp ../Debug/libChakraCore.so .# This is for OSX/Darwin.#cp ../Debug/libChakraCore.dylib .# add Headers.
mkdir include
cd include
# This will copy the four core headers outlined at...# https://github.com/Microsoft/ChakraCore/wiki/Embedding-ChakraCore
cp ../../../lib/Jsrt/Chakra*.h .
# NOTE: Copy sample.cpp from the Chakra Core Hello World example for Linux/OSX here.# Build example on a Linux System...
clang++ sample.cpp $(pwd)/libChakraCore.so -Wl,-rpath,. -Iinclude -o Sample -std=c++11
# Build example on a OS X/Darwin System... - NOTE: I have not tested this.# clang++ sample.cpp $(pwd)/libChakraCore.dylib -Wl,-rpath,. -Iinclude -o Sample -std=c++11
run the example.
./Sample
# This should output Hello World, but instead it crashes.
The text was updated successfully, but these errors were encountered:
I have found that the Shared Debug library for linux does not work correctly. There is internal assert failures. The steps to reproduce are fairly straight forward if you follow the wiki with some slight changes( see: Microsoft/ChakraCore Wiki: Embedding ChakraCore).
The steps to reproduce the issue are as follows...
# Run this in root directory for ChakraCore. ./build.sh -n -d
./Sample # This should output Hello World, but instead it crashes.
The text was updated successfully, but these errors were encountered: