Comments (11)
Original comment by [email protected]
on 13 Sep 2010 at 2:15
- Added labels: Milestone-0.1
- Removed labels: Milestone-V0-2
from ogre-procedural.
Original comment by [email protected]
on 20 Sep 2010 at 9:32
- Added labels: Milestone-0.2
- Removed labels: Milestone-0.1
from ogre-procedural.
Trying to test the tip on a Debian Squeeze (6.0). Found an error in CMake:
CMake Error at CMakeLists.txt:6 (STRING):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
I'm starting to look into it.
Original comment by [email protected]
on 11 Oct 2010 at 5:03
from ogre-procedural.
Which version of CMake are you using? Mine is 2.8.2. I'm not sure if the
minimum version I specified (2.6) is actually enough...
If it's not for the version number, then maybe it doesn't like special
characters, such as backslashes...
Anyway, this line is not necessary for linux, and I might even be able to
remove it on windows...
Original comment by [email protected]
on 11 Oct 2010 at 5:26
from ogre-procedural.
Mine is too. I commented the lines when I saw they were'nt needed for Linux and
could produce a Makefile. Nonetheless the compiler started complaining
nonsense. The following was outputted:
[ 7%] Building CXX object
library/CMakeFiles/OgreProcedural.dir/src/ProceduralBoxGenerator.cpp.o
In file included from /.../library/./include/ProceduralMeshGenerator.h:31,
from /.../library/./include/ProceduralBoxGenerator.h:31,
from /.../library/src/ProceduralBoxGenerator.cpp:28:
/.../library/./include/ProceduralRoot.h:36: error: expected initializer before
'Root'
/.../library/src/ProceduralBoxGenerator.cpp:69: error: expected '}' at end of
input
make[2]: ***
[library/CMakeFiles/OgreProcedural.dir/src/ProceduralBoxGenerator.cpp.o] Error 1
make[1]: *** [library/CMakeFiles/OgreProcedural.dir/all] Error 2
make: *** [all] Error 2
I tried editing the files, but I couldn't change the errors or solve them. I'm
attaching the patch with my few changes. It isn't useful but, then you know
what I tried.
hg status:
M CMakeLists.txt
M library/include/ProceduralPlatform.h
M library/include/ProceduralRoot.h
M library/src/ProceduralBoxGenerator.cpp
Original comment by [email protected]
on 11 Oct 2010 at 6:49
Attachments:
from ogre-procedural.
Ok, thanks for trying... Linux compatibility may actually need a little more
work from me.
I'll try to fix it, but don't hold your breath, I don't even have a Linux
installed yet..
Original comment by [email protected]
on 12 Oct 2010 at 9:22
from ogre-procedural.
I've located the source of the compilation problem (or I think so). I've found
that if I remove the _ProceduralExport macro from a class declaration, that
class will then compile. I suppose there's a problem with the
ProceduralPlatform.h in which the macro isn't defined properly because it
doesn't detect this is a Linux.
I've never worked in Windows so I never needed that import/export definitions.
I'll try to fix this but note I may break things up, so I'm checking for other
problems instead of fixing the issue, I'll let you plan on how to do that
properly ('cause I really don't know how).
I'll post again if I make it work at last.s
Original comment by [email protected]
on 3 Nov 2010 at 3:57
from ogre-procedural.
I was right, because now it builds without problems. It crashes with:
"An exception has occured: OGRE EXCEPTION(2:InvalidParametersException): Cannot
find requested emitter type. in ParticleSystemManager::_createEmitter at "
It may be because I don't have the right resources installed or any other thing.
In conclusion, for a Linux build you need to change _ProceduralExport macro to
be correctly defined when Linux is used. I'd recommend checking at Ogre's way
of doing that.
I'll test it again when it's done, if you want.
Original comment by [email protected]
on 3 Nov 2010 at 4:48
from ogre-procedural.
It now compiles and runs in Ubuntu.
There are still some big bugs, though (maybe because I'm testing inside a
virtualbox?)
Original comment by [email protected]
on 9 Nov 2010 at 10:24
from ogre-procedural.
Graphical bugs fixed.
I just have to check if the install target is ok, now.
Original comment by [email protected]
on 14 Nov 2010 at 4:56
from ogre-procedural.
Original comment by [email protected]
on 14 Nov 2010 at 5:14
- Changed state: Done
from ogre-procedural.
Related Issues (20)
- SphereGenerator : partial sphere
- Create a PPA for Ubuntu
- Swig doesn't support different variations of threading support with Ogre HOT 1
- Triangulator crashes on some meshes
- Bad cmake PATH_SUFFIXES on FindOgreProcedural.cmake on linux HOT 1
- OgreProceduralIllustrations has unhandled exception when no renderers available HOT 3
- Targets don't link because Boost isn't linked. HOT 8
- Document Lua Dependency HOT 4
- CMake: cannot link to debug build HOT 3
- Does it work with Ogre 2.1 ? HOT 3
- build fails for emscripten target against ogre 1.11 HOT 4
- Remove deleted files from CMake install routines HOT 4
- Missing headers for Visual Studio build
- Porting to OGRE 2.2 HOT 2
- Bug in bool Segment2D::findIntersect() in ProceduralGeometryHelpers HOT 2
- Commit c2616e9 isn't cherry-picked to ogre-next branch HOT 1
- Commit c2616e9 doesn't work in OGRE 2.x HOT 1
- Make resulting mesh reloadable
- OgreProceduralIllustrations tries to display visual but then segfaults. HOT 4
- Non-incrementable iterator in MultiShape
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ogre-procedural.