pointer size

Asked by Charl

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:
Last query:
Last reply:
Revision history for this message
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? :)
>

Revision history for this message
Charl (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mkz9gl21a5rlwfnr8jn6ln0m3jxne2k9x1ohg85w3-launchpad) said :
#2

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.