ogrecave / ogitor Goto Github PK
View Code? Open in Web Editor NEWOgitor SceneBuilder, the WYSIWYG scene editing environment for OGRE
License: MIT License
Ogitor SceneBuilder, the WYSIWYG scene editing environment for OGRE
License: MIT License
Determining if the include file pthread.h exists failed with the following output:
Change Dir: D:/OgreNext/Editor/ogitor-build/x64/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe cmTC_5805e.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.10.2+857e5a733
版权所有(C) Microsoft Corporation。保留所有权利。
用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.29.30040 版
版权所有(C) Microsoft Corporation。保留所有权利。
CheckIncludeFile.c
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_5805e.dir\Debug\" /Fd"cmTC_5805e.dir\Debug\vc142.pdb" /external:W3 /Gd /TC /errorReport:queue "D:\OgreNext\Editor\ogitor-build\x64\CMakeFiles\CMakeTmp\CheckIncludeFile.c"
D:\OgreNext\Editor\ogitor-build\x64\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: 无法打开包括文件: “pthread.h”: No such file or directory [D:\OgreNext\Editor\ogitor-build\x64\CMakeFiles\CMakeTmp\cmTC_5805e.vcxproj]
Maybe one could include the contents of the Media.zip and Projects.zip files in the repository.
Especially because there are some shaders and material files included.
They were probably provided as *.zip files because they are large files.
I think that Git LFS was made to solve exactly that problem.
However, the example project could possibly be left out until #23 is solved.
CMake Error at CMakeLists.txt:71 (find_package):
Could not find a configuration file for package "OGRE" that is compatible
with requested version "1.12".
The following configuration files were considered but not accepted:
E:/3D/ogre-sdk-1.12.5-vc15-x64/CMake/OGREConfig.cmake, version: 1.12.5 (64bit)
hi
i want to build ogitor on my pc (manjaro 16) but giv this error :
[ 1%] Built target OgreTerrainConverter
[ 4%] Built target PagedGeometry
[ 6%] Built target OFS
[ 21%] Built target Ogitor
[ 31%] Built target Angelscript
[ 32%] Built target ImageConverter
[ 35%] Built target GenericTextEditor
[ 39%] Built target GenericImageEditor
[ 40%] Built target DotSceneSerializer
[ 45%] Built target OgModularZone
[ 50%] Built target OgMaterialEditor
[ 52%] Built target OgAngelScript
[ 55%] Built target OgScriptEditor
[ 58%] Built target OgAngelDialogManager
[ 60%] Built target OgScreenEffectEditor
[ 60%] Built target CustomSerializer
[ 61%] Built target OgreOfsPlugin
[ 66%] Built target QtSolutions_PropertyBrowser
[ 67%] Linking CXX executable qtOgitor
/usr/bin/ld: CMakeFiles/qtOgitor.dir/src/mainwindow.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/lib/libboost_system.so.1.62.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [qtOgitor/CMakeFiles/qtOgitor.dir/build.make:2353: qtOgitor/qtOgitor] Error 1
make[1]: *** [CMakeFiles/Makefile2:1206: qtOgitor/CMakeFiles/qtOgitor.dir/all] Error 2
make: *** [Makefile:128: all] Error 2
how can i fix it
When trying to build with OGRE 1.12.8,
build fails as OGRE_UNICODE_SUPPORT is not defined.
This results in the compiler not finding Ogre::UTFString.
Manually defining OGRE_UNICODE_SUPPORT fixes the issue,
but I think this should probably done in some way by invoking OgrePlatform.h
(Ubuntu 18.04)
citing the announcment thread https://forums.ogre3d.org/viewtopic.php?f=11&t=63497
I don't know but I am considering using PhysFS simply because it's maintained
Seems ogitor repository was removed from bitbacket, so links to Media and Projects are not valid anymore.
needs porting to work with OGRE_RESOURCEMANAGER_STRICT=2
.
The code needs updating to explicitly state the auto-detect group or the known group for retrieval.
see
std::tolower is not a member of std
This project could safely require C++11.
Furtermore one could replace Boost threads by C++11 threads.
C++11 should also be able to replace the Boost regex library, although I'm not entirely sure about that.
Maybe one could even remove the Boost dependency completely.
When building with MSVC (14.1 / 2017)
an error occurs, as the classes imported via dllimport have static members.
error C2491: "Ogitors::CBillboardSetEditorFactory::mBillboardTypes": definition of dllimport function for static members not allowed
(Not the actual message, but translated)
就单纯的想测试下,下次更新的时候可以把已经编译的win二进制版本一起发布出来吗?
对Qt不熟悉,踩了太多的坑 。。谢谢
struct OgreContext : public OgreBites::ApplicationContextQt
{
OgreContext() : OgreBites::ApplicationContextQt("Ogitor") {} // here Microsoft C++ exception: std::length_error
QT5.14.12+VS2017+Windows 10 + OGRE 20200423
Will be SkyX anf Hydrax added to Dependencies and plugins for them activated?
If no then probably need cleanup install code to not reference for them
I use ogre2.1, vs2019 to compile the ogitor, there are many cmake errors!!! when i use ogre1.13.6, there are also cmake error, # class Ogre::Camera don't have LookAt , setPosition.. function,
if it do not support ogre2.x, will you update ogitor project in the future to support ogre2.x ? thanks a lot, have a good day for you
[ 22%] Building CXX object Dependencies/Angelscript/CMakeFiles/Angelscript.dir/add_on/scriptarray/scriptarray.cpp.o
In file included from /ws/ogre_project/ogitor/Dependencies/Angelscript/add_on/scriptarray/scriptarray.h:6:0,
from /ws/ogre_project/ogitor/Dependencies/Angelscript/add_on/scriptarray/scriptarray.cpp:7:
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h: In function ‘asUINT asGetTypeTraits()’:
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:589:80: error: ‘has_trivial_default_constructor’ is not a member of ‘std’
bool hasConstructor = std::is_default_constructible<T>::value && !std::has_trivial_default_constructor<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:589:80: note: suggested alternative: ‘is_trivially_default_constructible’
bool hasConstructor = std::is_default_constructible<T>::value && !std::has_trivial_default_constructor<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is_trivially_default_constructible
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:589:113: error: expected primary-expression before ‘>’ token
ol hasConstructor = std::is_default_constructible<T>::value && !std::has_trivial_default_constructor<T>::value;
^
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:589:116: error: ‘::value’ has not been declared
ol hasConstructor = std::is_default_constructible<T>::value && !std::has_trivial_default_constructor<T>::value;
^~~~~
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:589:116: note: suggested alternative: ‘valloc’
ol hasConstructor = std::is_default_constructible<T>::value && !std::has_trivial_default_constructor<T>::value;
^~~~~
valloc
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:591:80: error: ‘has_trivial_copy_assign’ is not a member of ‘std’
bool hasAssignmentOperator = std::is_copy_assignable<T>::value && !std::has_trivial_copy_assign<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:591:80: note: suggested alternative: ‘is_trivially_copy_assignable’
bool hasAssignmentOperator = std::is_copy_assignable<T>::value && !std::has_trivial_copy_assign<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~
is_trivially_copy_assignable
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:591:105: error: expected primary-expression before ‘>’ token
bool hasAssignmentOperator = std::is_copy_assignable<T>::value && !std::has_trivial_copy_assign<T>::value;
^
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:591:108: error: ‘::value’ has not been declared
bool hasAssignmentOperator = std::is_copy_assignable<T>::value && !std::has_trivial_copy_assign<T>::value;
^~~~~
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:591:108: note: suggested alternative: ‘valloc’
bool hasAssignmentOperator = std::is_copy_assignable<T>::value && !std::has_trivial_copy_assign<T>::value;
^~~~~
valloc
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:592:80: error: ‘has_trivial_copy_constructor’ is not a member of ‘std’
bool hasCopyConstructor = std::is_copy_constructible<T>::value && !std::has_trivial_copy_constructor<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:592:80: note: suggested alternative: ‘is_trivially_copy_constructible’
bool hasCopyConstructor = std::is_copy_constructible<T>::value && !std::has_trivial_copy_constructor<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
is_trivially_copy_constructible
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:592:110: error: expected primary-expression before ‘>’ token
bool hasCopyConstructor = std::is_copy_constructible<T>::value && !std::has_trivial_copy_constructor<T>::value;
^
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:592:113: error: ‘::value’ has not been declared
bool hasCopyConstructor = std::is_copy_constructible<T>::value && !std::has_trivial_copy_constructor<T>::value;
^~~~~
/ws/ogre_project/ogitor/Dependencies/Angelscript/include/angelscript.h:592:113: note: suggested alternative: ‘valloc’
bool hasCopyConstructor = std::is_copy_constructible<T>::value && !std::has_trivial_copy_constructor<T>::value;
^~~~~
valloc
make[2]: *** [Dependencies/Angelscript/CMakeFiles/Angelscript.dir/build.make:63: Dependencies/Angelscript/CMakeFiles/Angelscript.dir/add_on/scriptarray/scriptarray.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:354: Dependencies/Angelscript/CMakeFiles/Angelscript.dir/all] Error 2
Compiling with Arch linux, Ogre 1.10.8+, CPP11=OFF
Any Ideas how to fix it?
Hello.
I'm using a Debian 11 computer with an NVIDIA GeForce RTX 3070 graphics card, and have custom-compiled Ogre 1.12.13, trying to get Ogitor to work with it. The Ogre Sample Browser runs almost all the samples (except for the PN Triangle). However, when I load the sample scene within Ogitor, the terrain does not show, the FPS is at zero, and I get flooded with the following message:
Application::notify caught an exception: InvalidParametersException: This pass does not have this program type assigned! in getGpuProgramParameters at /home/dirk/Programs/ogre-1.12.13/OgreMain/src/OgrePass.cpp (line 1302)
What could I be doing wrong?
Dirk
Update: Having realized that the newest graphics cards refuse to run Cg shader programs from the hardware level, I've recompiled Ogre without Cg support. The result of that is, that the repeated error messages from Ogitor have disappeared, that the Ogitor scene seems animated with the clouds rolling by, that the frame-rate is now an improved 60FPS, But, that the terrain is still completely transparent.
Also, when I quit Ogitor now, it freezes, and in such a way that it 'forgets' its most-recently opened files.
Is it possible that Ogitor's terrain engine depends on Cg?
OgitorsRootUtilityFunctions.obj : error LNK2001: unresolved symbol "__declspec(dllimport) public: void __cdecl Ogre::SceneNode::setVisible(bool,bool)" (_imp?setVisible@SceneNode@Ogre@@QEAAX_N0@Z)
error C2491: “OgreBites::ApplicationContextQt::staticMetaObject”: dllimport static member is not allowed in moc_OgreApplicationContextQt.cpp
in 3 out of 4 starts in resource loading/ preparation. Probably a race condition somewhere.
Need to include into source archive sources from subrepositories as pagedgeometry, in other cases it not buildable
Ogre now comes with a .scene loader - we should use it here as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.