Hi W.

Thank you so much for your response. 

I am using Ubuntu and the CMake version is 3. 22. 1, and this dealii is what 
compatible with the system. 

Best,
Hao Ye


> On Aug 8, 2024, at 16:27, Wolfgang Bangerth <[email protected]> wrote:
> 
> 
> On 8/8/24 13:41, H wrote:
>> I was trying to run the dealii with Ubuntu desktop on Mac M1 but this is the 
>> error I received. I did not use the add_data_vector_internal function in my 
>> code. May I ask why would this happened?
>> Sincerely and Best Regards,
>> H
>> /home/parallels/dealii-candi/deal.II-v9.2.0/include/deal.II/numerics/data_out_dof_data.h:1081:
>>  error: undefined reference to 'void 
>> dealii::DataOut_DoFData<dealii::DoFHandler<2, 2>, 2, 
>> 2>::add_data_vector_internal<dealii::IndexSet>(dealii::DoFHandler<2, 2> 
>> const*, dealii::IndexSet const&, 
>> std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, 
>> std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, 
>> std::char_traits<char>, std::allocator<char> > > > const&, 
>> dealii::DataOut_DoFData<dealii::DoFHandler<2, 2>, 2, 2>::DataVectorType, 
>> std::vector<dealii::DataComponentInterpretation::DataComponentInterpretation,
>>  
>> std::allocator<dealii::DataComponentInterpretation::DataComponentInterpretation>
>>  > const&, bool)'
> 
> H:
> I don't quite know what is going wrong here, but you're using deal.II 9.2, 
> which was released 4 years ago. This function no longer exists today, so it's 
> hard to tell what the source of the error may have been. In any case, we're 
> not likely going to fix anything in a release this old. Can you try to 
> install a newer version of deal.II?
> 
> Best
> W.
> 
> -- 
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en
> --- You received this message because you are subscribed to the Google Groups 
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dealii/5406b202-f990-42c2-bec7-d31c83086a2b%40colostate.edu.

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/3E53FA6E-3AF2-42C2-BD1F-3AF4774A180F%40gmail.com.

Reply via email to