|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Aman uz zaman Baig
Join Date: Nov 2015
Location: Cincinnati, US
Posts: 16
Rep Power: 11 ![]() |
Hi all,
I have added a new class for 1D interpolation in SU2 and I have a new .cpp and .hpp file to include with it. During compilation the compiler does not create the object of my class and gives the following error: solver_structure.cpp ![]() solver_structure.cpp ![]() solver_structure.cpp ![]() Are there are any files I have to change so that the compiler can see the new files? Thanks, Aman |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Akshay Koodly
Join Date: Aug 2017
Location: The Netherlands
Posts: 43
Rep Power: 9 ![]() |
Hi,
There should be a meson.build in the src/ directory (for ex, https://github.com/su2code/SU2/blob/...rc/meson.build) where all the .cpp files are listed. Can you try adding your *.cpp file in the corresponding directory (there is a meson.build in all */src directories) and try to compile? Regards. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 467
Rep Power: 14 ![]() |
Hi Aman,
If this relates to your current pull request let's move the conversation to github. Cheers, Pedro |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Aman uz zaman Baig
Join Date: Nov 2015
Location: Cincinnati, US
Posts: 16
Rep Power: 11 ![]() |
Thanks @akoodlyr for your advice. Let me see if that works.
@pcg - Yes this is related to my PR. I will put questions there if it doesn't get resolved. |
|
![]() |
![]() |
![]() |
Tags |
class, compile, su2 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam 3D problem | Lucie | OpenFOAM Pre-Processing | 2 | June 21, 2016 05:23 |
adding new fvm class | danny123 | OpenFOAM Programming & Development | 1 | December 14, 2015 09:53 |
chtMultiRegionFoam, adding a member to an existing class (regionProperties) | romain.h | OpenFOAM Running, Solving & CFD | 1 | October 10, 2012 15:05 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 21:51 |
Adding new class in version 12 | billy | OpenFOAM Pre-Processing | 1 | October 10, 2005 04:47 |