Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in GNU/Linux Ubuntu 22.04 #249

Open
mauriciovancine opened this issue Mar 21, 2023 · 2 comments
Open

Error in GNU/Linux Ubuntu 22.04 #249

mauriciovancine opened this issue Mar 21, 2023 · 2 comments

Comments

@mauriciovancine
Copy link

Dear,

I'm trying to compile on Ubuntu, but I had this error.

Could you help?

Thank you.

Error:

In file included from /home/mude/Downloads/TauDEM/src/streamnet.cpp:56:
/home/mude/Downloads/TauDEM/src/linklib.h: In function ‘bool sendLink(int32_t, int)’:
/home/mude/Downloads/TauDEM/src/linklib.h:281:9: error: ‘MPI_Type_extent’ was not declared in this scope; did you mean ‘MPI_Type_get_extent’?
281 | MPI_Type_extent(MPI_LONG, &extent);
| ^~~~~~~~~~~~~~~
| MPI_Type_get_extent
/home/mude/Downloads/TauDEM/src/linklib.h:286:9: error: ‘MPI_Type_struct’ was not declared in this scope; did you mean ‘MPI_Type_size_x’?
286 | MPI_Type_struct(2,blockcounts,offsets,oldtypes,&PointType);
| ^~~~~~~~~~~~~~~
| MPI_Type_size_x
/home/mude/Downloads/TauDEM/src/linklib.h: In function ‘bool recvLink(int)’:
/home/mude/Downloads/TauDEM/src/linklib.h:349:9: error: ‘MPI_Type_extent’ was not declared in this scope; did you mean ‘MPI_Type_get_extent’?
349 | MPI_Type_extent(MPI_LONG, &extent);
| ^~~~~~~~~~~~~~~
| MPI_Type_get_extent
/home/mude/Downloads/TauDEM/src/linklib.h:354:9: error: ‘MPI_Type_struct’ was not declared in this scope; did you mean ‘MPI_Type_size_x’?
354 | MPI_Type_struct(2,blockcounts,offsets,oldtypes,&PointType);
| ^~~~~~~~~~~~~~~
| MPI_Type_size_x
/home/mude/Downloads/TauDEM/src/streamnet.cpp: In function ‘int reachshape(long int*, float*, float*, float*, double*, double*, long int, tiffIO&)’:
/home/mude/Downloads/TauDEM/src/streamnet.cpp:347:24: warning: ignoring return value of ‘OGRErr OGR_L_CreateFeature(OGRLayerH, OGRFeatureH)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
347 | OGR_L_CreateFeature( hLayer1, hFeature1 ); //adding feature
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~

@drfuka
Copy link

drfuka commented Mar 21, 2023 via email

@mauriciovancine
Copy link
Author

Dear @drfuka,

Now, I'm good, thanks for asking.

I hope you are too.

The compilation worked!

Thank you so much for your help!

Kind regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants