To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+unsubscribe@googlegroups.com.
/opt/OpenVSP/repo/src/geom_core/VSPAEROMgr.cpp: In member function ‘void VSPAEROMgrSingleton::UpdateUnsteadyGroups()’:
/opt/OpenVSP/repo/src/geom_core/VSPAEROMgr.cpp:4318:48: error: no matching function for call to ‘std::vector<UnsteadyGroup*>::erase(std::vector<UnsteadyGroup*>::const_iterator&)’
m_UnsteadyGroupVec.erase( iter );
^
/opt/OpenVSP/repo/src/geom_core/VSPAEROMgr.cpp:4318:48: note: candidates are:
In file included from /usr/include/c++/4.8.2/vector:69:0,
from /opt/OpenVSP/repo/src/util/Vec2d.h:19,
from /opt/OpenVSP/repo/src/xmlvsp/XmlUtil.h:9,
from /opt/OpenVSP/repo/src/geom_core/Parm.h:19,
from /opt/OpenVSP/repo/src/geom_core/Link.h:17,
from /opt/OpenVSP/repo/src/geom_core/LinkMgr.h:14,
from /opt/OpenVSP/repo/src/geom_core/VSPAEROMgr.cpp:12:
/usr/include/c++/4.8.2/bits/vector.tcc:134:5: note: std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::iterator) [with _Tp = UnsteadyGroup*; _Alloc = std::allocator<UnsteadyGroup*>; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<UnsteadyGroup**, std::vector<UnsteadyGroup*> >; typename std::_Vector_base<_Tp, _Alloc>::pointer = UnsteadyGroup**]
vector<_Tp, _Alloc>::
^
/usr/include/c++/4.8.2/bits/vector.tcc:134:5: note: no known conversion for argument 1 from ‘std::vector<UnsteadyGroup*>::const_iterator {aka __gnu_cxx::__normal_iterator<UnsteadyGroup* const*, std::vector<UnsteadyGroup*> >}’ to ‘std::vector<UnsteadyGroup*>::iterator {aka __gnu_cxx::__normal_iterator<UnsteadyGroup**, std::vector<UnsteadyGroup*> >}’
/usr/include/c++/4.8.2/bits/vector.tcc:146:5: note: std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::iterator) [with _Tp = UnsteadyGroup*; _Alloc = std::allocator<UnsteadyGroup*>; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<UnsteadyGroup**, std::vector<UnsteadyGroup*> >; typename std::_Vector_base<_Tp, _Alloc>::pointer = UnsteadyGroup**]
vector<_Tp, _Alloc>::
^
/usr/include/c++/4.8.2/bits/vector.tcc:146:5: note: candidate expects 2 arguments, 1 provided
make[2]: *** [geom_core/CMakeFiles/geom_core.dir/VSPAEROMgr.cpp.o] Error 1
make[1]: *** [geom_core/CMakeFiles/geom_core.dir/all] Error 2
make: *** [all] Error 2
Problems with the build system almost always boil down to failure of the CMake FindXXX.cmake scripts. Sometimes they don't find what you want -- other times, they get confused like this.Rob
To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvsp/f447ef36-2ef4-4b42-b318-46f7646beb80o%40googlegroups.com.
Have you compiled on this machine in the past? If so, which version did you last have success?My gut says that Centos 7 has a really old version of gcc and that we've introduced a language feature that isn't implemented in that version. I haven't verified it, but we've hit this sort of thing other places.We have other users stuck on Centos 7 without the ability to use a newer compiler, so this is something I'll want to root out...Rob
To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvsp/ae78ff3c-f038-43cc-85fc-18b0cb1634eco%40googlegroups.com.
Marc,Can you try building 3.19.1? I think that version should build with Centos 7. If that works, we can probably isolate the new compiler features we're using and try to find other solutions.We have other users stuck at RedHat 7.7 that will probably run into the same problem when they go to update.Building on a newer machine and taking the *.zip back likely won't work. Often, the limitations aren't the compiler per-say, but the version of the standard library that is normally packaged with a particular compiler. Consequently, if it is a library feature that is missing, you can build on a newer machine, but unless you're going to back port the system standard libraries too, it won't get you very far.I'd love to have someone figure out a RPM based package -- likely for Fedora. Ideally, it would be a setup on some sort of build server or CI service -- and the ultimate build artifacts (the binary RPM files) would be something I could download with each new version and post on our website.For Mac and Ubuntu, we currently use Travis-CI. We use their GitHub deployment to transfer the build artifact over to GitHub. That is a bit of a hassle.For Windows, we currently use Appveyor. It makes it very easy to set up for different compilers, 32/64 bit, and different Python accompaniment. It also makes it very easy to download the build artifact at the end of the process without having to set up some other account for it to push the result to.Gary Gray is going to take a look at that setup and see if we can consolidate to Appveyor or otherwise make the system work better.I am not sure what kinds of options there are for Fedora / Centos / rpm land, but going to an automated build system is really key to making it practical for us to support.Rob
To view this discussion on the web visit https://groups.google.com/d/msgid/openvsp/ae78ff3c-f038-43cc-85fc-18b0cb1634eco%40googlegroups.com.
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find CodeEli (missing: CodeEli_INCLUDE_DIRS) (Required is at
least version "0.3.6")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
cmake/FindCodeEli.cmake:145 (find_package_handle_standard_args)
external/CMakeLists.txt:49 (FIND_PACKAGE)
To view this discussion on the web visit https://groups.google.com/d/msgid/openvsp/31012e79-c449-4c69-b736-68d616872d34o%40googlegroups.com.