are ogre and ogre-next interchangeable or ogre-next
If you mean as code, it's hard to use interchangeable (not impossible) because of the API differences.
If you mean can they be installed alongside together, we are working on it on Linux because both versions will try to install the headers in the same directory (OGRECave/ogre-next#232)
I don't see that ogre-next has anything related to terrains
Yes ogre-next does, see the Sample_TutorialTerrain (the sample looks crappy but that's because of poor setup)
Note that it's totally different from the Terrain component offered in ogre.
OgreArchiveManager.cpp:65 pArch->load();
ResourceGroupManager::getSingleton().addResourceLocation(path, "Zip", RGN_TEMP, false, false)
but got segfault
Ogre::FileSystemLayer::removeFile
btw, should i go with Ogre::ResourceGroupManager::getSingleton().deleteResource
? are they both unicode safe?
Thread 1 "RoR" received signal SIGSEGV, Segmentation fault.
0x00007ffff78ef727 in Ogre::ResourceGroupManager::openResourceImpl (this=0x555555c792c0, resourceName="a1da0UID-nhelens.terrn2", groupName="General", searchGroupsIfNotFound=searchGroupsIfNotFound@entry=false, resourceBeingLoaded=resourceBeingLoaded@entry=0x0, throwOnFailure=true) at /home/babis/Downloads/ror-dependencies/Source/ogre/OgreMain/src/OgreResourceGroupManager.cpp:695
695 DataStreamPtr stream = pArch->open(resourceName);
(gdb) bt
#0 0x00007ffff78ef727 in Ogre::ResourceGroupManager::openResourceImpl (this=0x555555c792c0, resourceName="a1da0UID-nhelens.terrn2",
groupName="General", searchGroupsIfNotFound=searchGroupsIfNotFound@entry=false, resourceBeingLoaded=resourceBeingLoaded@entry=0x0,
throwOnFailure=true) at /home/babis/Downloads/ror-dependencies/Source/ogre/OgreMain/src/OgreResourceGroupManager.cpp:695
#1 0x000055555598caea in Ogre::ResourceGroupManager::openResource (throwOnFailure=true, resourceBeingLoaded=0x0, groupName=...,
resourceName="a1da0UID-nhelens.terrn2", this=<optimized out>)
at /home/babis/Downloads/ror-dependencies/Dependencies_Linux/include/OGRE/OgreResourceGroupManager.h:668
#2 RoR::TerrainManager::LoadAndPrepareTerrain (entry=entry@entry=0x55555806f2e0)
at /home/babis/Downloads/ror-dependencies/rigs-of-rods/source/main/terrain/TerrainManager.cpp:137
#3 0x000055555562120a in RoR::GameContext::LoadTerrain (this=<optimized out>, filename_part="a1da0UID-nhelens.terrn2")
at /home/babis/Downloads/ror-dependencies/rigs-of-rods/source/main/GameContext.cpp:114
#4 0x00005555555ed2a2 in main (argc=<optimized out>, argv=<optimized out>)
at /home/babis/Downloads/ror-dependencies/rigs-of-rods/source/main/main.cpp:516