Commit 740b122ab6fbe93ec6274a8203c2455e1103cd98
1 parent
0322ab29
transferring to pranathi
Showing
3 changed files
with
5 additions
and
2 deletions
Show diff stats
CMakeLists.txt
... | ... | @@ -11,8 +11,10 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}") |
11 | 11 | find_package(CUDA REQUIRED) |
12 | 12 | |
13 | 13 | #find BOOST - particularly the filesystem libraries |
14 | +set(Boost_USE_STATIC_LIBS ON) | |
14 | 15 | find_package(Boost 1.5.0 COMPONENTS filesystem system regex REQUIRED) |
15 | 16 | |
17 | + | |
16 | 18 | #find the pthreads package |
17 | 19 | find_package(Threads) |
18 | 20 | ... | ... |
main.cu
... | ... | @@ -5,7 +5,6 @@ |
5 | 5 | #include "stim/parser/filename.h" |
6 | 6 | #include "stim/grids/image_stack.h" |
7 | 7 | |
8 | -#include <unistd.h> | |
9 | 8 | |
10 | 9 | int main(){ |
11 | 10 | |
... | ... | @@ -14,5 +13,7 @@ int main(){ |
14 | 13 | |
15 | 14 | stack.save_images("test/????.jpg"); |
16 | 15 | |
16 | + stack.save_image("snickerdoodle.bmp", 128); | |
17 | + | |
17 | 18 | return 0; |
18 | 19 | } | ... | ... |