{"id":13421130,"url":"https://github.com/ansgri/cpp-boilerplate-minimal","last_synced_at":"2025-03-15T08:30:59.430Z","repository":{"id":10899540,"uuid":"13193956","full_name":"ansgri/cpp-boilerplate-minimal","owner":"ansgri","description":"skeleton for writing image processing C++","archived":false,"fork":false,"pushed_at":"2015-08-30T20:54:02.000Z","size":3685,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-31T22:58:03.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansgri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-29T14:40:48.000Z","updated_at":"2014-05-29T11:29:25.000Z","dependencies_parsed_at":"2022-08-30T10:42:13.538Z","dependency_job_id":null,"html_url":"https://github.com/ansgri/cpp-boilerplate-minimal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansgri%2Fcpp-boilerplate-minimal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansgri%2Fcpp-boilerplate-minimal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansgri%2Fcpp-boilerplate-minimal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansgri%2Fcpp-boilerplate-minimal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansgri","download_url":"https://codeload.github.com/ansgri/cpp-boilerplate-minimal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707118,"owners_count":20334611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:01:50.053Z","updated_at":"2025-03-15T08:30:54.811Z","avatar_url":"https://github.com/ansgri.png","language":"C","readme":"Documentation\n=============\n\nIntro\n-----\n\ncpp-boilerplate-minimal is a skeleton for writing image processing C++. It contains a solid working CMakeLists structure,\nsome fundamental thirdparty libraries built from source, and an adapted OpenCV sample to get you up to speed quickly.\n\n_Why 'minimal'?_ Because there's a not-so-minimal version with useful infrastructure frameworks not _yet_ open-sourced.\n\nHow to use\n----------\n\n1. Copy (probably not clone unless you know better) the contents of this repository\n2. Replace \"CPPBP\" and \"cppbp\" in the root CMakeLists.txt and files within cmake/ folder to some short codename of your project\n3. Set up prerequisite libraries Boost and OpenCV (see below)\n4. Build the sample\n5. build new stuff based on the sample\n\nBuilding sample\n---------------\n\nAssuming Visual Studio 9 2008 as your sole installed compiler. Then from the root of the copied \u0026 customized cpp-boilerplate, run this:\n\n * mkdir build.vc9 \u0026\u0026 cd build.vc9\n * cmake ..\n * start \u003cyour-project-codename\u003e.sln\n * Build Solution (F7)\n\nTo run the sample, OpenCV dlls must be in the system path.\n\nSetting up Boost\n----------------\n\nIf you already have Boost installed or built, just set the `BOOST_ROOT` environment variable, like this:\n    \n    set BOOST_ROOT=c:\\Users\\ansgri\\thirdparty-src\\boost_1_54_0\n\nOtherwise, build it first following this approximate procedure:\n\n * you must have Visual Studio (or other compiler of choice) installed (obviously)\n * download and unpack the source archive\n * from the unpacked source dir execute `bootstrap.bat`\n * review the build options: `b2 --help`\n * build like this: `b2 link=shared variant=release threading=multi runtime-link=shared`\n\nSetting up OpenCV\n-----------------\n\nTODO: instructions for the case when OpenCV is installed via binary installer\n\nBuilding from source on Windows:\n\n * `git clone git://github.com/Itseez/opencv.git`\n * `git checkout 2.4.6` (or other stable tag; to see all, execute `git tag`)\n * `mkdir build.user \u0026\u0026 cd build.user`\n * `cmake .. \u0026\u0026 start OpenCV.sln`\n * build solution (F7) in both Release and Debug configurations\n * build 'INSTALL' target in both Release and Debug configurations (in Solution Explorer, right-click and Build, it's in CMake Targets folder)\n * you'll have `install` folder under `build.user`. Its full path must be set to `OpenCV_DIR` environment variable.\n\n","funding_links":[],"categories":["TODO scan for Android support in followings"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansgri%2Fcpp-boilerplate-minimal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansgri%2Fcpp-boilerplate-minimal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansgri%2Fcpp-boilerplate-minimal/lists"}