Commit f4f086c1 authored by ElenaSubbotina's avatar ElenaSubbotina

Merge branch 'develop' of https://github.com/ONLYOFFICE/core into develop

parents 895e7ca4 7436d802
sudo apt-get update
# gcc 4.9
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 20
sudo update-alternatives --config gcc
sudo update-alternatives --config g++
# qt
chmod +x qt-opensource-linux-x64-5.4.2.run
./qt-opensource-linux-x64-5.4.2.run
# shared folder
add share forder in wizard vbox
cd /home/oleg/
sudo mkdir activex
sudo mount -t vboxsf share activex
# v8 ---------------------------------------------------------------------------------------------------
sudo apt-get install git
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=`pwd`/depot_tools:"$PATH"
gclient
fetch v8
cd v8
// make native
CFLAGS="-fPIC" CXXFLAGS="-fPIC" make native
#mac:
CFLAGS="-fPIC" CXXFLAGS="-fPIC -stdlib=libc++" LDFLAGS="-stdlib=libc++" make native
# or ---------------------------------------------------------------------------------------------------
sudo apt-get install git
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=`pwd`/depot_tools:"$PATH"
sudo apt-get install subversion
svn co http://v8.googlecode.com/svn/branches/bleeding_edge v8
cd v8
make dependencies
// make native
CFLAGS="-fPIC" CXXFLAGS="-fPIC" make native
---------------------------------------------------------------------------------------------------------
# additionals
zlib: sudo apt-get install --reinstall zlibc zlib1g zlib1g-dev
cef3:
sudo apt-get install libperl-dev (??)
sudo apt-get install libgtk2.0-dev
sudo apt-get install libcairo2-dev
sudo apt-get install libgtkglext1-dev
\ No newline at end of file
windows:
1) install git:
http://msysgit.github.io/
2) checkout v8
cd .../ServerComponents/DesktopEditor/doctrenderer
create folder v8_windows
cd v8_windows
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
add System Environment Path:
.../ServerComponents/DesktopEditor/doctrenderer/v8_windows/depot_tools;
fetch v8
cd v8
git checkout 3.30.34
add System Environment Path:
.../ServerComponents/DesktopEditor/doctrenderer/v8_windows/depot_tools/python276_bin;
3) generate visual studio project
32bit: python build/gyp_v8
64bit: python build/gyp_v8 -Dtarget_arch=x64
build project in visual studio ( - , )
a) open all.sln
b) select projects:
icui18n
icuuc
mksnapshot
v8_base
v8_libbase
v8_libplatform
v8_nosnapshot
) Project Properies -> Configuration Properties -> C/C++ ->Code Generation
for Debug Configuration change "Runtime Library" to "Multi-threaded Debug DLL (/MDd)"
for Release Configuration change "Runtime Library" to "Multi-threaded DLL(/MD)"
Rebuild All
4) Rebuild doctrenderer project
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment