A project that contains cpp code sample
./install.sh
See also install.sh
c:\Python27[-x64]\python.exe -m pip install --upgrade pip
pip.exe install colorama conan termcolor distro pywin32 setuptools==19.2 pyinstaller==2.1
#sudo pip2.7 freeze > requirements-current-2.7.txt
sudo pip2.7 install -r requirements-current-2.7.txt
#sudo pip3.8 freeze > requirements-current-3.8.txt
sudo pip3.8 install -r requirements-current-3.8.txt
See also build.sh for scons AND sample/build-linux/build.sh for cmake
export SCONS="/usr/bin/python3.6 /opt/ansible/env36/bin/scons"
./build.sh
#python3 /usr/bin/scons --cache-disable opt=True gcc_version=9.2.1 color=True use_cpp11=True
scons --clean
See also clean.sh
Your components should be available
You can convert a rpm to a deb with alien
sudo apt-get install alien
See https://doc.ubuntu-fr.org/wine_trucs_et_astuces
# For 32 bits do first
export WINEARCH="win32"
# Start the program
WINEDEBUG=-all target/bin/x86Linux/run_app.exe
# shows dynamically linked libraries
ldd target/bin/x86Linux/run_app.exe
# shows the symbols in the file.
nm target/bin/x86Linux/run_app.exe
#convert PE32+ to ELF
strip -O elf32-i386 -o myprogram.elf -N xxxxxxx target/bin/x86Linux/run_app.exe
readelf -a -W myprogram.elf
i686-w64-mingw32-objdump -h myprogram.elf
# See https://wiki.winehq.org/Wine_Developer%27s_Guide/Debugging_Wine
WINEDEBUG=+relay,-debug wine target/bin/x86Linux/run_app.exe
WINEDEBUG=+relay wine target/bin/x86Linux/run_app.exe 2>&1 | less -i
winedbg target/bin/x86Linux/run_app.exe
ldconfig -v | grep libstdc
g++ -print-file-name=libstdc++.a
file /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
#readelf -a -W /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
readelf -a -W target/lib/x86Linux/debug64/shared/libmain_library.so
See pre-commit
Run pre-commit install
Run pre-commit run --all-files
pylint --rcfile=.pylintrc SConstruct
pylint --rcfile=.pylintrc *.py
File -> Import -> Existing code as Makefile project
sample/build-linux/
See tools
npm install --save markdown-toc
brew install github-markdown-toc gh-md-toc --insert README.md
Content type
Image
Digest
sha256:d31149c67…
Size
44.3 MB
Last updated
over 3 years ago
docker pull nabla/nabla-cpp