Build instructions:
git clone https://github.com/ReactiveX/RxCpp.git
make
./main
This is the output of the program:
===== println stream of std::string =====
#include "agg_basics.h" | |
#include "agg_rendering_buffer.h" | |
#include "agg_rasterizer_scanline_aa.h" | |
#include "agg_scanline_u.h" | |
#include "agg_renderer_scanline.h" | |
#include "agg_pixfmt_rgb.h" | |
#include "platform/agg_platform_support.h" | |
#include "ctrl/agg_slider_ctrl.h" | |
#include "ctrl/agg_cbox_ctrl.h" |
#include "agg_basics.h" | |
#include "agg_rendering_buffer.h" | |
#include "agg_rasterizer_scanline_aa.h" | |
#include "agg_scanline_u.h" | |
#include "agg_renderer_scanline.h" | |
#include "agg_pixfmt_rgb.h" | |
#include "platform/agg_platform_support.h" | |
#include "ctrl/agg_slider_ctrl.h" | |
#include "ctrl/agg_cbox_ctrl.h" |
// Compiling: | |
// | |
// just put this file into agg24/examples and run: | |
// g++ -DRECT_X=1 -DRECT_Y=1 -DAGG_GRAY16 -I. -I../include -g -O2 -o aa_float aa_float.cpp | |
#if !defined(AGG_GRAY8) && !defined(AGG_GRAY16) && !defined(AGG_GRAY32) | |
#define AGG_GRAY32 | |
#endif | |
#if defined(AGG_GRAY8) |
#!/usr/bin/perl | |
use Email::Valid; | |
use WWW::Mechanize; | |
use LWP::UserAgent; | |
#use Thread qw/async yield/; | |
use threads; | |
use threads::shared; |
#!/bin/bash | |
if [ $# -lt 2 ]; then | |
echo "Usage: $0 LIB_IN LIB_OUT STRIP_PARAMS" | |
echo "Example: $0 mylib_debug.a mylib_release.a --strip-debug" | |
fi | |
LIB_IN="$1"; shift; | |
LIB_OUT="$1"; shift; | |
LIB_IN="`realpath "$LIB_IN"`" |
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 MACOSX_SDK_PATH" | |
echo "Example: $0 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk" | |
exit 1 | |
fi | |
for tbd in $(find -L "$1" -name '*.tbd'); do |
// standard C++ header: | |
#include <iostream> | |
#include <string> | |
// Qt header: | |
#include <QApplication> | |
#include <QBoxLayout> | |
#include <QFrame> | |
#include <QGroupBox> | |
#include <QLabel> |
Build instructions:
git clone https://github.com/ReactiveX/RxCpp.git
make
./main
This is the output of the program:
===== println stream of std::string =====
To know which dll libraries need to be bundled with your application, the safest way is to profile your app at runtime, because some libraries may be loaded just at runtime (e.g. Qt plugins). We use MSYS2 (https://www.msys2.org/) for compiling our apps with GCC and MSYS2 contains the strace
package which we use here to get a list of loaded dll libraries:
/usr/bin/strace ANY_APP.exe 2>&1 \
| tee out.log \
| grep -a -E '^--- Process .* loaded .*\.dll' \
| cut -d' ' -f 5- \
| sed 's/\.dll.*/.dll/' \
| sort -u
#!/usr/bin/perl | |
#-------------------------------------------------- | |
# Usage: | |
# ./speak.pl en input.txt output.mp3 | |
# | |
# Prerequisites: | |
# sudo apt-get install libwww-perl libhtml-tree-perl sox libsox-fmt-mp3 | |
# | |
# Compiling sox: |