Hi Andrew,

Can you please first try to use the Makefiles that are supplied with
the examples and check if this works? (just run "make" in one of the
examples/step-xy/ directories).

> I put all the include folders for deal.II into
> the mingw include directory and linked with the libdeal_II.a

What do you mean with that, did you copy files around? If yes you
shouldn't need to do that (just hand mingw an external include and lib
directory). Can you figure out what exact command mingw uses for
compilation?

Good luck,
Timo

-- 
Timo Heister
http://www.math.tamu.edu/~heister/

I tried running make using cygwin in the examples/step-1 directory and that did 
compile a .exe file. I forgot to mention that I also used the libstdc++.a with 
the linker in codeblocks. I'm n
How would I debug a program with make. Are there flags I should use for gdb?

>What do you mean with that, did you copy files around? If yes you
>shouldn't need to do that (just hand mingw an external include and lib
>directory). Can you figure out what exact command mingw uses for
>compilation?

I did copy the files around. This second time I tried changing the build 
options in codeblocks. I right clicked on the project in the tree hierarchy and 
under the search directories I added the deal.II include folder under the 
compile tab and the lib folder under the linker tab. I only used the 
libdeal_II.a file in the linker settings and I received the following errors 
below. I'm, not sure how to invoke make from codeblocks and I did try searching 
google to no avail.

||=== dealII_example_1, Debug ===|
..\..\..\deal.II\lib\libdeal_II.a(grid_grid_generator.o):grid_generator.cc|| 
undefined reference to `_Unwind_Resume'|
..\..\..\deal.II\lib\libdeal_II.a(grid_grid_generator.o):grid_generator.cc|| 
undefined reference to `_Unwind_Resume'|
..\..\..\deal.II\lib\libdeal_II.a(grid_grid_generator.o):grid_generator.cc|| 
undefined reference to `_Unwind_Resume'|
..\..\..\deal.II\lib\libdeal_II.a(grid_grid_generator.o):grid_generator.cc|| 
undefined reference to `_Unwind_Resume'|
..\..\..\deal.II\lib\libdeal_II.a(grid_grid_generator.o):grid_generator.cc|| 
undefined reference to `_Unwind_Resume'|
..\..\..\deal.II\lib\libdeal_II.a(grid_grid_generator.o):grid_generator.cc|| 
more undefined references to `_Unwind_Resume' follow|
() const]+0x31)||undefined reference to `__assert_func'|
() const]+0x31)||undefined reference to `__assert_func'|
::~PointerMatrixAux()]+0x53)||undefined reference to `_Unwind_Resume'|
::~PointerMatrixAux()]+0x4b)||undefined reference to `_Unwind_Resume'|
::~SolverCG()]+0x47)||undefined reference to `_Unwind_Resume'|
::~Solver()]+0x47)||undefined reference to `_Unwind_Resume'|
::~Solver()]+0x3f)||undefined reference to `_Unwind_Resume'|
)]+0xa4)||undefined reference to `__assert_func'|
)]+0xd0)||undefined reference to `_Unwind_Resume'|
 std::forward_iterator_tag)]+0xd7a)||undefined reference to `_Unwind_Resume'|
)]+0x343)||undefined reference to `_Unwind_Resume'|
)]+0x387)||undefined reference to `__assert_func'|
)]+0x459)||undefined reference to `_Unwind_Resume'|
::~FE_Q()]+0x1d5)||undefined reference to `_Unwind_Resume'|
)]+0xb61)||undefined reference to `_Unwind_Resume'|
)]+0xcc8)||undefined reference to `__assert_func'|
::~FE_Q()]+0x1e0)||undefined reference to `_Unwind_Resume'|
::~FE_Q()]+0x1d5)||undefined reference to `_Unwind_Resume'|
)]+0x11a8)||undefined reference to `_Unwind_Resume'|
)]+0x1281)||undefined reference to `__assert_func'|
::~FE_Q()]+0x1e0)||undefined reference to `_Unwind_Resume'|
)]+0x1f7c)||undefined reference to `__assert_func'|
)]+0x1fae)||undefined reference to `__assert_func'|
)]+0x1fd2)||undefined reference to `__assert_func'|
)]+0x1ffc)||undefined reference to `__assert_func'|
)]+0x2020)||undefined reference to `__assert_func'|
)]+0x209a)||undefined reference to `_Unwind_Resume'|
)]+0x210a)||undefined reference to `__assert_func'|
)]+0x2123)||undefined reference to `_Unwind_Resume'|
)]+0x2151)||undefined reference to `__assert_func'|
)]+0xaf8)||undefined reference to `__assert_func'|
)]+0xb28)||undefined reference to `__assert_func'|
)]+0xb4c)||undefined reference to `__assert_func'|
)]+0xb64)||undefined reference to `_Unwind_Resume'|
)]+0xbc0)||undefined reference to `_Unwind_Resume'|
)]+0xc7a)||undefined reference to `_Unwind_Resume'|
 bool)]+0x19d)||undefined reference to `_Unwind_Resume'|
 bool)]+0x184)||undefined reference to `_Unwind_Resume'|
..\..\..\deal.II\lib\libdeal_II.a(grid_grid_generator.o):grid_generator.cc:(.eh_frame+0x12)||undefined
 reference to `__gxx_personality_v0'|
..\..\..\deal.II\lib\libdeal_II.a(grid_tria_boundary_lib.o):tria_boundary_lib.cc||
 undefined reference to `_Unwind_Resume'|
..\..\..\deal.II\lib\libdeal_II.a(grid_tria_boundary_lib.o):tria_boundary_lib.cc||
 undefined reference to `_Unwind_Resume'|
..\..\..\deal.II\lib\libdeal_II.a(grid_tria_boundary_lib.o):tria_boundary_lib.cc||
 undefined reference to `_Unwind_Resume'|
..\..\..\deal.II\lib\libdeal_II.a(grid_tria_boundary_lib.o):tria_boundary_lib.cc||
 undefined reference to `_Unwind_Resume'|
..\..\..\deal.II\lib\libdeal_II.a(grid_tria_boundary_lib.o):tria_boundary_lib.cc||
 undefined reference to `_Unwind_Resume'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to