pointer size

Asked by Charl on 2013-02-19

Hey,

I'm trying to compile the Dolfin 1.1.0 branch on a 64-bit system (from source, not using dorsal). I'm running into a problem with the pointer widths:

dolfin/fem/UFCCell.h:102:67: error: cannot convert âunsigned int**â to âstd::size_t** {aka long unsigned int**}â in assignment

It's not entirely clear to me where to specify the word size (in this case, long int). Any pointers? :)

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Solved by:
Charl
Solved:
2013-02-19
Last query:
2013-02-19
Last reply:
2013-02-19
Johan Hake (johan-hake) said : #1

You might want to try upgrade your UFC installation to 2.1.0 and try
compile dolfin again.

Johan

On 02/19/2013 09:31 PM, Charl wrote:
> New question #222309 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/222309
>
> Hey,
>
> I'm trying to compile the Dolfin 1.1.0 branch on a 64-bit system (from source, not using dorsal). I'm running into a problem with the pointer widths:
>
> dolfin/fem/UFCCell.h:102:67: error: cannot convert âunsigned int**â to âstd::size_t** {aka long unsigned int**}â in assignment
>
> It's not entirely clear to me where to specify the word size (in this case, long int). Any pointers? :)
>

Hi Johan,

I was aware that UFC 2.1.0 goes with the Dolfin 1.1 branch, but I must've made a mistake somewhere and checked out the wrong series. An rm -rf and bzr branch later and dolfin compiles. Thanks for the fast response.