CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Getting error - error: ‘pointer’ does not name a type

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2016, 05:18
Angry Getting error - error: ‘pointer’ does not name a type
  #1
New Member
 
Suraj Salvi
Join Date: Jul 2015
Posts: 3
Rep Power: 10
surajsalvip@gmail.com is on a distinguished road
while executing make on ISPM library getting c++ error

g++ -c fastainv/fastainv.cpp -o fastainv/fastainv.o -O2 -g -Wall -Wno-sign-compare -fPIC -I. -I/usr/local/cuda-7.5/include/
In file included from ./util/cuda/vector.h:8,
from ./formats/formats.h:4,
from ./fastainv/fastainv.h:4,
from fastainv/fastainv.cpp:11:
./util/cuda/allocator.h:14: error: ‘pointer’ does not name a type
./util/cuda/allocator.h:14: note: (perhaps ‘typename std::allocator<_CharT>:ointer’ was intended)
./util/cuda/allocator.h:21: error: ‘pointer’ is not a type
./util/cuda/allocator.h:21: error: ‘size_type’ is not a type
./util/cuda/allocator.h:51: error: ‘pointer’ does not name a type
./util/cuda/allocator.h:51: note: (perhaps ‘typename std::allocator<_CharT>:ointer’ was intended)
./util/cuda/allocator.h:57: error: ‘pointer’ is not a type
./util/cuda/allocator.h:57: error: ‘size_type’ is not a type
make: *** [fastainv/fastainv.o] Error 1


the allocator.h is available at https://github.com/amonakov/ispm-spa...da/allocator.h

please help
surajsalvip@gmail.com is offline   Reply With Quote

Reply

Tags
c++, ispm, openfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
Simulation of Radial Fan with simpleFoam MRF nash OpenFOAM Running, Solving & CFD 2 November 5, 2015 10:12
interFoam/kOmegaSST tank filling with printStackError/Mules simpomann OpenFOAM Running, Solving & CFD 3 February 17, 2014 17:06
[swak4Foam] Air Conditioned room groovyBC Sebaj OpenFOAM Community Contributions 7 October 31, 2012 14:16
pipe flow with heat transfer Fabian OpenFOAM 2 December 12, 2009 04:53


All times are GMT -4. The time now is 12:56.