Closed ThomasCrevoisier closed 8 years ago
@ThomasCrvsr on the sample Makefile we have icucore
.
However, your command line
with the latest ChakraCore uses the libs from the --icu=/usr/local/opt/icu4c/
location. So, under the makefile, we should set those instead of icucore too.
See https://github.com/Microsoft/ChakraCore/blob/linux/CMakeLists.txt#L15-L17
those 2 lib files under the /usr/local/opt/icu4c/lib
instead of icucore
I will try to send an addition to sample explaining this detail.
@obastemur Got it, thanks !
I came mostly from a JS background, so I'm not really used to this ecosystem. How can I specify a custom location for those 2 files in the Makefile of the example ?
See https://github.com/Microsoft/ChakraCore/blob/linux/CMakeLists.txt#L15-L17
those 2 lib files under the /usr/local/opt/icu4c/lib instead of icucore
Just to clarify.. Lines 15-17 highlight 3 libraries, do you mean to include all 3?
Scratch that. Got it to work and put up PR #35.
Thanks to @juliusl this is now fixed on master.
Hello,
I followed the instructions to compile ChakraCore on my Mac running
./build.sh --static --icu=/usr/local/opt/icu4c/include --test-build -j=2 --debug
I created the folder
CrossPlatform
insideChakraCore
repo and addedsample.cpp
andMakefile
.Then I built it running
make BUILD_TYPE=Debug PLATFORM=darwin
and here are the errors I get :Any clue on what I missed ?