Giter Club home page Giter Club logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024

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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024

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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024

Original comment by [email protected] on 14 Nov 2010 at 5:14

  • Changed state: Done

from ogre-procedural.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.