Thread: [Maya2osg-users] Version.h header and out-of-source builds
Status: Alpha
Brought to you by:
jtaibo
From: Jean-Sébastien G. <jea...@cm...> - 2011-06-15 19:57:22
Attachments:
bump2normal.cpp
|
Hello guys, I saw there's now an autogenerated version.h header, which gets included as #include "../version.h" in bump2normal.cpp. However, in out-of-source builds, this is not valid, as ../ means the root maya2osg directory. The osgpreview.cpp file already includes version.h as #include "version.h" and because of include paths, this works fine for in-source and out-of-source builds, so I suggest it be included the same way in bump2normal.cpp as well. Attached modified source file. J-S -- ______________________________________________________ Jean-Sebastien Guay jea...@cm... http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ |
From: Javier T. <jav...@gm...> - 2011-06-15 21:08:20
|
Hi J-S, Don't worry about this file. I am changing the texture processing in Maya2OSG, though I still haven't finished the changes. The files bump2normal.{h,cpp} won't exist anymore. And the ones that replace them include "version.h", so I hope there is no problem. Anyway, when I commit the changes I will write a message to the list explaining the new features. It would be nice if you guys could test it and give some feedback. Regards, On Wed, Jun 15, 2011 at 9:57 PM, Jean-Sébastien Guay <jea...@cm...> wrote: > Hello guys, > > I saw there's now an autogenerated version.h header, which gets included as > #include "../version.h" in bump2normal.cpp. However, in out-of-source > builds, this is not valid, as ../ means the root maya2osg directory. > > The osgpreview.cpp file already includes version.h as #include "version.h" > and because of include paths, this works fine for in-source and > out-of-source builds, so I suggest it be included the same way in > bump2normal.cpp as well. > > Attached modified source file. > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay jea...@cm... > http://www.cm-labs.com/ > http://whitestar02.dyndns-web.com/ > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Maya2osg-users mailing list > May...@li... > https://lists.sourceforge.net/lists/listinfo/maya2osg-users > > -- Javier Taibo |
From: Jean-Sébastien G. <jea...@cm...> - 2011-06-15 21:53:47
|
Hi Javier, > Don't worry about this file. I am changing the texture processing in > Maya2OSG, though I still haven't finished the changes. Well the problem is that for now, this file doesn't compile at all for out-of-source builds. So perhaps you can check in the modified file I sent, while we wait for your other changes? For the other change, that's fine, if this code doesn't even exist anymore :-) J-S -- ______________________________________________________ Jean-Sebastien Guay jea...@cm... http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ |
From: Javier T. <jav...@gm...> - 2011-06-15 22:00:45
|
Committed! On Wed, Jun 15, 2011 at 11:53 PM, Jean-Sébastien Guay <jea...@cm...> wrote: > Hi Javier, > >> Don't worry about this file. I am changing the texture processing in >> Maya2OSG, though I still haven't finished the changes. > > Well the problem is that for now, this file doesn't compile at all for > out-of-source builds. So perhaps you can check in the modified file I > sent, while we wait for your other changes? > > For the other change, that's fine, if this code doesn't even exist > anymore :-) > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay jea...@cm... > http://www.cm-labs.com/ > http://whitestar02.dyndns-web.com/ > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Maya2osg-users mailing list > May...@li... > https://lists.sourceforge.net/lists/listinfo/maya2osg-users > -- Javier Taibo |