Giter Site home page Giter Site logo

coral-repo's People

Contributors

andrea-i avatar iaiotom avatar narann avatar nyue avatar

Watchers

 avatar  avatar

coral-repo's Issues

buildEnv issue

What steps will reproduce the problem?
1. created buindEnv file as explained in the wiki,but for windows + added maya 
include and lib dirs
2. not sure what to do with "export PYTHONPATH=$PYTHONPATH:"~/coralRepo"" -the 
python.exe command line doesn't like it,nor does cmd.exe
3. use scons to build coral and coralMaya

What is the expected output? What do you see instead?
Should get (I presume) a coral.exe, coral.dll, coral.lib, and coral.mll file? 
scons complains that there isn't a CORAL_CORAL_IMATH_INCLUDES_PATH_DEBUG env, 
even when added to buildEnv

What version of the product are you using? On what operating system?

I'm using windows 7 x64, python27 x64, boost x64, openEXR x64, tbb x64, and 
Maya 2012 x64
Please provide any additional information below.
I couldn't wait for the binaries...

Original issue reported on code.google.com by notanymike on 29 Sep 2011 at 7:54

Seg fault tiping "ids" in GeoDrawNode

What steps will reproduce the problem?
1. create a Geo*Node
2. connect it to a GeoDrawNode
3. tip "ids" in GeoDrawNode
4. Crash

OS: Linux

I have a seg fault tiping "ids" in GeoDrawNode:

# info: running coral standalone
executeCommand('CreateNode', className = 'GeoSphereNode', name = 
'GeoSphereNode', parentNode = 'root')
executeCommand('CreateNode', className = 'GeoDrawNode', name = 'GeoDrawNode', 
parentNode = 'root')
executeCommand('ConnectAttributes', sourceAttribute = 'root.GeoSphereNode.out', 
destinationAttribute = 'root.GeoDrawNode.geo')
freeglut  ERROR:  Function <glutBitmapCharacter> called without first calling 
'glutInit'.
Erreur de segmentation


When I do:

/*for(int k = 0; k < len; ++k){
    glutBitmapCharacter(GLUT_BITMAP_8_BY_13, idStr[k]);
}*/

There is no prob anymore.

If it can help, there is the backtrace I tried to get during the error with gdb:


Program received signal SIGSEGV, Segmentation fault.
0x00007f9e721a6932 in std::less<int>::operator()(int const&, int const&) const 
() from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
(gdb) bt
#0  0x00007f9e721a6932 in std::less<int>::operator()(int const&, int const&) 
const () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#1  0x00007f9e721c3754 in std::_Rb_tree<int, std::pair<int const, 
boost::python::api::object>, std::_Select1st<std::pair<int const, 
boost::python::api::object> >, std::less<int>, std::allocator<std::pair<int 
const, boost::python::api::object> > 
>::_M_lower_bound(std::_Rb_tree_node<std::pair<int const, 
boost::python::api::object> >*, std::_Rb_tree_node<std::pair<int const, 
boost::python::api::object> >*, int const&) ()
   from /media/Seagate 1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#2  0x00007f9e721c2a5d in std::_Rb_tree<int, std::pair<int const, 
boost::python::api::object>, std::_Select1st<std::pair<int const, 
boost::python::api::object> >, std::less<int>, std::allocator<std::pair<int 
const, boost::python::api::object> > >::find(int const&) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#3  0x00007f9e721c23f5 in std::map<int, boost::python::api::object, 
std::less<int>, std::allocator<std::pair<int const, boost::python::api::object> 
> >::find(int const&) ()
   from /media/Seagate 1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#4  0x00007f9e721c1e8a in coral::PythonDataCollector::findPyObjectPtr(int) () 
from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#5  0x00007f9e720d3af8 in object_removeReferenceCallback(coral::Object*) () 
from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#6  0x00007f9e721c18e6 in coral::Object::removeReference() () from 
/media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#7  0x00007f9e721b44e8 in 
coral::NestedObject::removeObject(coral::NestedObject*) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#8  0x00007f9e721b8370 in coral::Node::removeAttribute(coral::Attribute*) () 
from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#9  0x00007f9e7219f232 in coral::Attribute::deleteIt() () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#10 0x00007f9e720d4d2e in attribute__del__(coral::Attribute&) () from 
/media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#11 0x00007f9e7218de4b in _object* boost::python::detail::invoke<int, void 
(*)(coral::Attribute&), boost::python::arg_from_python<coral::Attribute&> 
>(boost::python::detail::invoke_tag_<true, false>, int const&, void 
(*&)(coral::Attribute&), boost::python::arg_from_python<coral::Attribute&>&) () 
from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#12 0x00007f9e7217ce62 in boost::python::detail::caller_arity<1u>::impl<void 
(*)(coral::Attribute&), boost::python::default_call_policies, 
boost::mpl::vector2<void, coral::Attribute&> >::operator()(_object*, _object*) 
()
   from /media/Seagate 1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#13 0x00007f9e7216a7c9 in 
boost::python::objects::caller_py_function_impl<boost::python::detail::caller<vo
id (*)(coral::Attribute&), boost::python::default_call_policies, 
boost::mpl::vector2<void, coral::Attribute&> > >::operator()(_object*, 
_object*) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#14 0x00007f9e711ef71e in boost::python::objects::function::call(_object*, 
_object*) const () from /usr/lib/libboost_python-py27.so.1.42.0
#15 0x00007f9e711ef978 in ?? () from /usr/lib/libboost_python-py27.so.1.42.0
#16 0x00007f9e711f8c63 in 
boost::python::handle_exception_impl(boost::function0<void>) () from 
/usr/lib/libboost_python-py27.so.1.42.0
#17 0x00007f9e711f0e74 in ?? () from /usr/lib/libboost_python-py27.so.1.42.0
#18 0x000000000045d864 in PyObject_Call ()
#19 0x000000000045f43f in ?? ()
#20 0x000000000045d864 in PyObject_Call ()
#21 0x0000000000495d46 in PyEval_CallObjectWithKeywords ()
#22 0x00000000004dab0a in ?? ()
#23 0x000000000048a1ac in ?? ()
#24 0x00007f9e720d8fc7 in boost::python::api::object_base::~object_base() () 
from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#25 0x00007f9e720d8e5c in boost::python::api::object::~object() () from 
/media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#26 0x00007f9e721c22a4 in std::pair<int const, 
boost::python::api::object>::~pair() () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#27 0x00007f9e721c5736 in __gnu_cxx::new_allocator<std::pair<int const, 
boost::python::api::object> >::destroy(std::pair<int const, 
boost::python::api::object>*) ()
   from /media/Seagate 1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#28 0x00007f9e721c4633 in std::_Rb_tree<int, std::pair<int const, 
boost::python::api::object>, std::_Select1st<std::pair<int const, 
boost::python::api::object> >, std::less<int>, std::allocator<std::pair<int 
const, boost::python::api::object> > 
>::_M_destroy_node(std::_Rb_tree_node<std::pair<int const, 
boost::python::api::object> >*) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#29 0x00007f9e721c3031 in std::_Rb_tree<int, std::pair<int const, 
boost::python::api::object>, std::_Select1st<std::pair<int const, 
boost::python::api::object> >, std::less<int>, std::allocator<std::pair<int 
const, boost::python::api::object> > 
>::_M_erase(std::_Rb_tree_node<std::pair<int const, boost::python::api::object> 
>*) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#30 0x00007f9e721c300e in std::_Rb_tree<int, std::pair<int const, 
boost::python::api::object>, std::_Select1st<std::pair<int const, 
boost::python::api::object> >, std::less<int>, std::allocator<std::pair<int 
const, boost::python::api::object> > 
>::_M_erase(std::_Rb_tree_node<std::pair<int const, boost::python::api::object> 
>*) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#31 0x00007f9e721c300e in std::_Rb_tree<int, std::pair<int const, 
boost::python::api::object>, std::_Select1st<std::pair<int const, 
boost::python::api::object> >, std::less<int>, std::allocator<std::pair<int 
const, boost::python::api::object> > 
>::_M_erase(std::_Rb_tree_node<std::pair<int const, boost::python::api::object> 
>*) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#32 0x00007f9e721c300e in std::_Rb_tree<int, std::pair<int const, 
boost::python::api::object>, std::_Select1st<std::pair<int const, 
boost::python::api::object> >, std::less<int>, std::allocator<std::pair<int 
const, boost::python::api::object> > 
>::_M_erase(std::_Rb_tree_node<std::pair<int const, boost::python::api::object> 
>*) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#33 0x00007f9e721c300e in std::_Rb_tree<int, std::pair<int const, 
boost::python::api::object>, std::_Select1st<std::pair<int const, 
boost::python::api::object> >, std::less<int>, std::allocator<std::pair<int 
const, boost::python::api::object> > 
>::_M_erase(std::_Rb_tree_node<std::pair<int const, boost::python::api::object> 
>*) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#34 0x00007f9e721c300e in std::_Rb_tree<int, std::pair<int const, 
boost::python::api::object>, std::_Select1st<std::pair<int const, 
boost::python::api::object> >, std::less<int>, std::allocator<std::pair<int 
const, boost::python::api::object> > 
>::_M_erase(std::_Rb_tree_node<std::pair<int const, boost::python::api::object> 
>*) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#35 0x00007f9e721c27d9 in std::_Rb_tree<int, std::pair<int const, 
boost::python::api::object>, std::_Select1st<std::pair<int const, 
boost::python::api::object> >, std::less<int>, std::allocator<std::pair<int 
const, boost::python::api::object> > >::~_Rb_tree() () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#36 0x00007f9e721c60ec in std::map<int, boost::python::api::object, 
std::less<int>, std::allocator<std::pair<int const, boost::python::api::object> 
> >::~map() ()
   from /media/Seagate 1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/_coral.so
#37 0x00007f9e72b74961 in exit () from /lib/x86_64-linux-gnu/libc.so.6
#38 0x00007f9e70390431 in fgError () from /usr/lib/libglut.so.3
#39 0x00007f9e70388c15 in glutBitmapCharacter () from /usr/lib/libglut.so.3
#40 0x00007f9e70650431 in coralUi::GeoDrawNode::drawPointIds(coral::Geo*) () 
from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/coralUi/_coralUi.
so
#41 0x00007f9e706506bc in coralUi::GeoDrawNode::draw() () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/coralUi/_coralUi.
so
#42 0x00007f9e70650c08 in coralUi::MainDrawRoutine::drawAll() () from 
/media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/coralUi/_coralUi.
so
#43 0x00007f9e70653c41 in coralUi::Viewport::draw() () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/coralUi/_coralUi.
so
#44 0x00007f9e7064cbef in _object* boost::python::detail::invoke<int, void 
(coralUi::Viewport::*)(), boost::python::arg_from_python<coralUi::Viewport&> 
>(boost::python::detail::invoke_tag_<true, true>, int const&, void 
(coralUi::Viewport::*&)(), boost::python::arg_from_python<coralUi::Viewport&>&) 
() from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/coralUi/_coralUi.
so
#45 0x00007f9e7064ab28 in boost::python::detail::caller_arity<1u>::impl<void 
(coralUi::Viewport::*)(), boost::python::default_call_policies, 
boost::mpl::vector2<void, coralUi::Viewport&> >::operator()(_object*, _object*)
    () from /media/Seagate 1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/coralUi/_coralUi.so
#46 0x00007f9e7064882d in 
boost::python::objects::caller_py_function_impl<boost::python::detail::caller<vo
id (coralUi::Viewport::*)(), boost::python::default_call_policies, 
boost::mpl::vector2<void, coralUi::Viewport&> > >::operator()(_object*, 
_object*) () from /media/Seagate 
1To/Prog/coral-repo-read-only/build/coralStandaloneBuild/coral/coralUi/_coralUi.
so
#47 0x00007f9e711ef71e in boost::python::objects::function::call(_object*, 
_object*) const () from /usr/lib/libboost_python-py27.so.1.42.0
#48 0x00007f9e711ef978 in ?? () from /usr/lib/libboost_python-py27.so.1.42.0
#49 0x00007f9e711f8c63 in 
boost::python::handle_exception_impl(boost::function0<void>) () from 
/usr/lib/libboost_python-py27.so.1.42.0
#50 0x00007f9e711f0e74 in ?? () from /usr/lib/libboost_python-py27.so.1.42.0
#51 0x000000000045d864 in PyObject_Call ()
#52 0x0000000000496c4e in PyEval_EvalFrameEx ()

Original issue reported on code.google.com by [email protected] on 8 Oct 2011 at 12:12

coral doesn't support Multiple Viewports

Now that we don't use OpenGL instant drawing anymore, we can't have multiple 
viewports without deal with multiple contexts.

This is something I have to do in the future: Separate shared contexts.

This is something I've never done before, there is some documentations:

http://glew.sourceforge.net/advanced.html

https://developer.apple.com/library/mac/#documentation/graphicsimaging/Conceptua
l/OpenGL-MacProgGuide/opengl_contexts/opengl_contexts.html

Original issue reported on code.google.com by [email protected] on 15 Dec 2011 at 10:59

RangeLoop Node doesnt take Int Node, and crash of coral after connecting Int to RangeLoop

What steps will reproduce the problem?
1. Coral crashed after connecting Int to RangeLoop's start


What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?

MacOs 10.6.6

Please provide any additional information below.

I don't know if this happened only to me... it's quite weird.

Thanks

Regards

XL 

Original issue reported on code.google.com by [email protected] on 26 Dec 2011 at 11:53

Feature Request: Some features

1. Copy node. Or Array. Visual array, not math. It may consists attributes like:
   1) input geometry
   2) number of copies
   3) transform-matrix. Its matrix add to original. And so for each copy
   4) somthing else

2. Create Geometry. If you write maya <--> coral. Its not difficult. Attrs are:
   Array of points, Array faces, normals, colors, etc... 

3) Delete geometry faces(edges,verices)...
4) Group of elements ("Group","Components", somthing else). Maybe it need to 
create separate data type "group". And with it nodes will know which components 
to work with. Maybe all nodes that have Geo input attribute, need have group 
attribute also.

Maybe you think I want a copy of houdini ;) Not, but its features realy needet 
for framework like your

Original issue reported on code.google.com by [email protected] on 12 Dec 2011 at 7:49

GeoDrawNode in maya crash

What steps will reproduce the problem?
create a DrawGeo node in coral-maya

What is the expected output? What do you see instead?
Maya crashes.

Please use labels and text to provide additional information.
The crash has been isolated to this function call glGenBuffers, which happens 
in GeoDrawNode::initGL()



Original issue reported on code.google.com by [email protected] on 14 Dec 2011 at 1:42

Maya crashed after two file-opening

What steps will reproduce the problem?
1. open a script crl
2. open a second script crl
3 TaDa, maya crashes

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?

macos10.6 maya2012sp1

Please provide any additional information below.

It only make maya crash. Standalone just worked fine. Let me know if you can 
reproduce the same problem. :)

Thanks

Regards
XL

Original issue reported on code.google.com by [email protected] on 26 Dec 2011 at 3:47

Display problem with verletSim.crl example

What steps will reproduce the problem?
1.Open verletSim.crl, everything is fine
2.Disconnect "draw" group. Draw nodes doesn't seems to be refreshed.
3.Reconnect "draw" group. Everything seems to be ok.

I'm wondering if the is not a problem during node (group?) disconnection.

Original issue reported on code.google.com by [email protected] on 25 Jan 2012 at 11:01

Streamline the build

The core classes and concept everything is fine. But the build system is very 
clumsy even to an expert c++ programmer.

For brevity I am providing the list of points and the suggestive actions. These 
are pretty straight forward and if someone can correct them people like me can 
jump start contributing to this.

1. The missing 'buildEnv.py' is not really a welcome thing. Action: Please 
supply the default 'buildEnv.py' with all the paths 'relatively coded'. See the 
next point also
2. The missing dependency files are not really easy to integrate. I will not go 
into the justification, but the corrective action request for this - Action: 
Please add the third party dependencies as part of the git code. Or At-least a 
zip of the third-party files that has pre-built libraries (such as ilm-base and 
openimage etc.) that can be extracted and merged with the code downloaded 
separately is welcome. 

You may not need to provide the boost library, but the ones that need .libs 
should be provided. For example, the ilm-base, GLEW, cl etc... all that are 
working correctly with your build can be provided. Atleast the links to their 
pre-built libraries should be provided.

If the build issue is streamlined, many would adapt this and start 
contributing. At least that is the only that is stopping me from stepping into 
this.

Thank you.


Original issue reported on code.google.com by [email protected] on 9 Apr 2012 at 2:27

error linux build

I build coralStandalone on linux Ubuntu 11.10 x64

I have error. Last lines of output:

g++ -o coral/_coral.so -shared coral/builtinNodes/debugDEBUG/GeoNodes.os 
coral/builtinNodes/debugDEBUG/ObjImporter.os 
coral/builtinNodes/debugDEBUG/CoralIOImporter.os 
coral/builtinNodes/debugDEBUG/GeoGrid.os 
coral/builtinNodes/debugDEBUG/MathNodes.os 
coral/builtinNodes/debugDEBUG/NumericOperation.os 
coral/builtinNodes/debugDEBUG/LoopNodes.os 
coral/builtinNodes/debugDEBUG/GeoSphere.os 
coral/builtinNodes/debugDEBUG/ArithmeticNodes.os 
coral/builtinNodes/debugDEBUG/GeoCube.os 
coral/builtinNodes/debugDEBUG/ProcessSimulationNode.os 
coral/builtinNodes/debugDEBUG/SplineNodes.os 
coral/builtinNodes/debugDEBUG/NumericNodes.os 
coral/builtinNodes/debugDEBUG/DagNodes.os 
coral/builtinNodes/debugDEBUG/ConditionalNodes.os 
coral/pythonWrappers/debugDEBUG/pythonWrapper.os 
coral/src/debugDEBUG/ErrorObject.os coral/src/debugDEBUG/Value.os 
coral/src/debugDEBUG/GeoAttribute.os coral/src/debugDEBUG/Command.os 
coral/src/debugDEBUG/BoolAttribute.os coral/src/debugDEBUG/Object.os 
coral/src/debugDEBUG/Numeric.os coral/src/debugDEBUG/NetworkManager.os 
coral/src/debugDEBUG/NestedObject.os coral/src/debugDEBUG/mathUtils.os 
coral/src/debugDEBUG/PassThroughAttribute.os 
coral/src/debugDEBUG/containerUtils.os coral/src/debugDEBUG/stringUtils.os 
coral/src/debugDEBUG/EnumAttribute.os coral/src/debugDEBUG/Node.os 
coral/src/debugDEBUG/Geo.os coral/src/debugDEBUG/Attribute.os 
coral/src/debugDEBUG/NumericAttribute.os 
coral/src/debugDEBUG/PythonDataCollector.os -L/usr/local/lib -L/usr/lib 
-L/usr/lib -L/opt/coral/tbb40_233oss/lib -lImath.6 -lIex.6 -lpython2.7 
-lboost_python -ltbb
/usr/bin/ld: cannot find -lImath.6
/usr/bin/ld: cannot find -lIex.6
/usr/bin/ld: cannot find -ltbb
collect2: ld returned 1 exit status
scons: *** [coral/_coral.so] Error 1
scons: building terminated because of errors.

Please help me...


Original issue reported on code.google.com by [email protected] on 18 Nov 2011 at 10:46

Internationalisation problem when parsing floats (comma vs point)

When I open verletSim.crl, gravity is set to zero.

But in the file I can read:

    executeCommand('CreateNode', className = 'Vec3', name = 'gravity', specializationPreset = 'single', parentNode = topNode)
    executeCommand('SetAttributeValue', attribute = topNode + '.gravity.x', value = '[0] 3')
    executeCommand('SetAttributeValue', attribute = topNode + '.gravity.y', value = '[-0.8] 3')
    executeCommand('SetAttributeValue', attribute = topNode + '.gravity.z', value = '[0] 3')

Don't know why it do that...

Same for "endPoint". When I open the y value is set to 12.000, but in the file 
it is 12.7:

    executeCommand('CreateNode', className = 'Vec3', name = 'endPoint', specializationPreset = 'single', parentNode = topNode)
    executeCommand('SetAttributeValue', attribute = topNode + '.endPoint.x', value = '[10] 3')
    executeCommand('SetAttributeValue', attribute = topNode + '.endPoint.y', value = '[12.7] 3')
    executeCommand('SetAttributeValue', attribute = topNode + '.endPoint.z', value = '[0] 3')

bad convertion to integer? :(

Original issue reported on code.google.com by [email protected] on 10 Dec 2011 at 12:01

error MacOs X build

I build coral on MacOs.

I got this error: 

g++ -o coral/builtinNodes/debugDEBUG/KernelNode.os -c -DCORAL_PARALLEL_TBB 
-fPIC -I/opt/local/include/OpenEXR 
-I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
-I/opt/local/include -I/opt/local/include 
-I/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenCL.framework/Vers
ions/A/Headers coral/builtinNodes/KernelNode.cpp
In file included from coral/builtinNodes/KernelNode.cpp:2:
coral/builtinNodes/KernelNode.h:15:21: error: CL/cl.hpp: No such file or 
directory
In file included from coral/builtinNodes/KernelNode.cpp:2:
coral/builtinNodes/KernelNode.h:35: error: 'cl' was not declared in this scope
coral/builtinNodes/KernelNode.h:35: error: template argument 2 is invalid
coral/builtinNodes/KernelNode.h:35: error: template argument 4 is invalid
coral/builtinNodes/KernelNode.h:35: error: 'cl' has not been declared
coral/builtinNodes/KernelNode.h:35: error: expected ',' or '...' before '&' 
token
coral/builtinNodes/KernelNode.h:36: error: 'cl_int' does not name a type
coral/builtinNodes/KernelNode.h:37: error: 'cl' was not declared in this scope
coral/builtinNodes/KernelNode.h:37: error: template argument 2 is invalid
coral/builtinNodes/KernelNode.h:37: error: template argument 4 is invalid
coral/builtinNodes/KernelNode.h:37: error: 'cl' has not been declared
coral/builtinNodes/KernelNode.h:37: error: expected ',' or '...' before '&' 
token
coral/builtinNodes/KernelNode.h:42: error: 'cl' has not been declared
coral/builtinNodes/KernelNode.h:42: error: ISO C++ forbids declaration of 
'Context' with no type
coral/builtinNodes/KernelNode.h:42: error: expected ';' before '_context'
coral/builtinNodes/KernelNode.h:43: error: 'cl' has not been declared
coral/builtinNodes/KernelNode.h:43: error: ISO C++ forbids declaration of 
'CommandQueue' with no type
coral/builtinNodes/KernelNode.h:43: error: expected ';' before '_queue'
coral/builtinNodes/KernelNode.h:44: error: 'cl' was not declared in this scope
coral/builtinNodes/KernelNode.h:44: error: template argument 1 is invalid
coral/builtinNodes/KernelNode.h:44: error: template argument 2 is invalid
coral/builtinNodes/KernelNode.h:45: error: 'cl' was not declared in this scope
coral/builtinNodes/KernelNode.h:45: error: template argument 1 is invalid
coral/builtinNodes/KernelNode.h:45: error: template argument 2 is invalid
coral/builtinNodes/KernelNode.h:46: error: `*' cannot appear in a 
constant-expression
coral/builtinNodes/KernelNode.h:46: error: template argument 2 is invalid
coral/builtinNodes/KernelNode.h:46: error: template argument 4 is invalid
coral/builtinNodes/KernelNode.h:47: error: `*' cannot appear in a 
constant-expression
coral/builtinNodes/KernelNode.h:47: error: template argument 2 is invalid
coral/builtinNodes/KernelNode.h:47: error: template argument 4 is invalid
coral/builtinNodes/KernelNode.cpp:8: error: 'cl_int' was not declared in this 
scope
coral/builtinNodes/KernelNode.cpp:9: error: expected ',' or ';' before '{' token
coral/builtinNodes/KernelNode.cpp:511: error: expected `}' at end of input
scons: *** [coral/builtinNodes/debugDEBUG/KernelNode.os] Error 1
scons: building terminated because of errors.


ok, <CL/cl.hpp> not found, that's normal, because i'm in MacOs, I changed it to 
<OpenCL/cl.h>, I still cannot build it, because, apparently there is no  
"cl::Event" but cl_event in OpenCl/cl.h... 

Please help me 

Thank you

Original issue reported on code.google.com by [email protected] on 24 Nov 2011 at 3:54

File-browser

What steps will reproduce the problem?
1.drop an image node
2.find image on disk?
3.

What is the expected output? What do you see instead?
It would be very nice if the text input for file paths could launch a file 
browser. Instead I see a blank text input. 


What version of the product are you using? On what operating system?
coral v0.3 - LINUX x86_64 (Gentoo) 


Please provide any additional information below.
Perhaps it's a linux thing, but I find it awkward relying on a separate app to 
find my geo / image paths. Thanks for the great app!


Original issue reported on code.google.com by [email protected] on 15 Apr 2012 at 6:37

ShaderNode::recompileShader() is executed even if there is no OpenGL context

I just had a segfault trying to investigate on another segfault. :D

- I launch coral without viewport (never launched at all).
- Select "Shader1" node and see the message "Ready to do some shading!"
- I and click on "Compile Shader".
- it crash.

After investigation it crash at:

GLuint vertexShader = glCreateShader(GL_VERTEX_SHADER);

The first OpenGL function actually.

And there is no OpenGL context.

I this the log message could write:

No Viewport available, can't compile shader.

Or something similar.

Original issue reported on code.google.com by [email protected] on 12 Feb 2012 at 3:15

Code review request

Define coral::pythonWrapperUtils::pyGILEnsured as an external variable so that 
multiple include of pythonWrapperUtils.h will not cause multiple symbols 
linking error

Original issue reported on code.google.com by [email protected] on 21 Feb 2012 at 1:21

git clone issue

What steps will reproduce the problem?
1. git clone https://code.google.com/p/coral-repo/ 
Initialized empty Git repository in /home/maxd/rm/remove/coral-repo/.git/
fatal: https://code.google.com/p/coral-repo//info/refs not found: did you run 
git update-server-info on the server?

2.git clone http://code.google.com/p/coral-repo/ 
Initialized empty Git repository in /home/maxd/rm/remove/coral-repo/.git/
fatal: http://code.google.com/p/coral-repo//info/refs not found: did you run 
git update-server-info on the server?

3.git clone git://code.google.com/p/coral-repo/ 
Initialized empty Git repository in /home/maxd/rm/remove/coral-repo/.git/
code.google.com[0: 74.125.79.138]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)

as you can see - clone is broken

Original issue reported on code.google.com by maxim.d33 on 26 Jan 2012 at 8:04

Merge Geo Node

A node like BuildNumericArray to input an arbitrary number of Geo and output 
one merged geo.

Original issue reported on code.google.com by [email protected] on 9 Dec 2011 at 11:35

Segfault opening cow.obj on Linux

Hi all!

I have a segfault opening the cow.obj with the OBJImporter... :(

If I open the example and change cow.obj by the zombie obj it work.

This problem doesn't seem to be related to OBJImporter directly but 
cacheAlignmentData()

I suppose this problem is Linux specific. Can someone confirm this?

Program received signal SIGSEGV, Segmentation fault.
0x00007f7953604dde in __gnu_cxx::new_allocator<int>::construct(int*, int 
const&) ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/_coral.so
(gdb) bt
#0  0x00007f7953604dde in __gnu_cxx::new_allocator<int>::construct(int*, int 
const&) ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/_coral.so
#1  0x00007f79536046f8 in std::vector<int, std::allocator<int> >::push_back(int 
const&) ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/_coral.so
#2  0x00007f79537d6292 in coral::Geo::cacheAlignmentData() ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/_coral.so
#3  0x00007f79537d5c59 in coral::Geo::cacheFaceNormals() ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/_coral.so
#4  0x00007f79537d5ecd in coral::Geo::verticesNormals() ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/_coral.so
#5  0x00007f794f5dbe50 in coralUi::GeoDrawNode::updateGeoVBO() ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/coralUi/_coralUi.so
#6  0x00007f794f5dd240 in coralUi::GeoDrawNode::draw() ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/coralUi/_coralUi.so
#7  0x00007f794f5dda1c in coralUi::MainDrawRoutine::drawAll() ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/coralUi/_coralUi.so
#8  0x00007f794f5e8e0e in coralUi::Viewport::draw() ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/coralUi/_coralUi.so
#9  0x00007f794f5cf3fb in _object* boost::python::detail::invoke<int, void 
(coralUi::Viewport::*)(), boost::python::arg_from_python<coralUi::Viewport&> 
>(boost::python::detail::invoke_tag_<true, true>, int const&, void 
(coralUi::Viewport::*&)(), boost::python::arg_from_python<coralUi::Viewport&>&) 
()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/coralUi/_coralUi.so
#10 0x00007f794f5cc8cd in boost::python::detail::caller_arity<1u>::impl<void 
(coralUi::Viewport::*)(), boost::python::default_call_policies, 
boost::mpl::vector2<void, coralUi::Viewport&> >::operator()(_object*, _object*) 
()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/coralUi/_coralUi.so
#11 0x00007f794f5c9713 in 
boost::python::objects::caller_py_function_impl<boost::python::detail::caller<vo
id (coralUi::Viewport::*)(), boost::python::default_call_policies, 
boost::mpl::vector2<void, coralUi::Viewport&> > >::operator()(_object*, 
_object*) ()
   from coral-git-repo/coral/build/coralStandaloneBuild/coral/coralUi/_coralUi.so
#12 0x00007f79542e3edf in boost::python::objects::function::call(_object*, 
_object*) const ()
   from /usr/lib/libboost_python-py26.so.1.46.1
#13 0x00007f79542e4138 in ?? () from /usr/lib/libboost_python-py26.so.1.46.1
#14 0x00007f79542ed283 in 
boost::python::handle_exception_impl(boost::function0<void>) ()
   from /usr/lib/libboost_python-py26.so.1.46.1

Original issue reported on code.google.com by [email protected] on 12 Feb 2012 at 2:55

launch fails on 'typeinfo for Imf::Attribute'

I got this far. Is it an incompatibility with the version of libilmbase6?

+plus(pts/0):~/dl/coral-repo/coral/build/coralStandaloneBuild% python 
launchApp.py 
Traceback (most recent call last):
  File "launchApp.py", line 30, in <module>
    from coral import coralApp
  File "/home/drewp/dl/coral-repo/coral/build/coralStandaloneBuild/coral/__init__.py", line 32, in <module>
    from _coral import *
ImportError: 
/home/drewp/dl/coral-repo/coral/build/coralStandaloneBuild/coral/_coral.so: 
undefined symbol: _ZTIN3Imf9AttributeE

or through c++filt:
ImportError: 
/home/drewp/dl/coral-repo/coral/build/coralStandaloneBuild/coral/_coral.so: 
undefined symbol: typeinfo for Imf::Attribute


+plus(pts/0):~/dl/coral-repo/coral/build/coralStandaloneBuild% ldd 
coral/_coral.so
    linux-vdso.so.1 =>  (0x00007fff631ff000)
    libImath.so.6 => /usr/lib/libImath.so.6 (0x00007f9b5bbe6000)
    libIex.so.6 => /usr/lib/libIex.so.6 (0x00007f9b5b9c7000)
    libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0x00007f9b5b50e000)
    libboost_python-py27.so.1.46.1 => /usr/lib/libboost_python-py27.so.1.46.1 (0x00007f9b5b2c2000)
    libtbb.so.2 => /usr/lib/libtbb.so.2 (0x00007f9b5b095000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f9b5ad94000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9b5aa9a000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9b5a884000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9b5a4c6000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9b5a2a9000)
    libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f9b5a04d000)
    libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f9b59c84000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f9b59a6d000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9b59869000)
    libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f9b59665000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f9b5cbe1000)

+plus(pts/0):~/dl/coral-repo/coral/build/coralStandaloneBuild% dpkg -l 
libopenimageio-dev libilmbase6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version                 Description
+++-=======================-=======================-============================
==================================
ii  libilmbase6             1.0.1-3build2           several utility libraries 
from ILM used by OpenEXR
ii  libopenimageio-dev      1.0.2+git20120406-0irie Library for reading and 
writing images - development


Other libs are whatever I get with Ubuntu 12.04.

Original issue reported on code.google.com by drewpca on 10 Apr 2012 at 4:25

standalone and maya crash when creating DrawGeo without Viewport

Hi,

What steps will reproduce the problem?

1.create DrawGeo with no viewport


What version of the product are you using? On what operating system?

MacOs10.6.6  Qt4.7 Glew1.7 Maya2012sp1

Please provide any additional information below.

This happened in both standalone and maya,I know this is not a big issue, we 
just need to pay attention if the viewport is on when creating the DrawGeo 
node. I don't know if this crash is caused by our configuration, however it'd 
be better if we can get rid of this crash, coz some time that could be 
annoying. 

Thank you for your help

Regards  


Original issue reported on code.google.com by [email protected] on 30 Nov 2011 at 3:38

CORAL_EXPORT definition causing issues on Windows

In "Attribute.cpp," all the "UI\external observers stuff" that are defined as 0 
gets rejected by MSVC compiler claiming that "definition of a static member not 
allowed," or something like that...


Original issue reported on code.google.com by notanymike on 3 Oct 2011 at 2:00

coralMaya linux cant find libs

I build coralMaya ok. Bu I dont understand how to export right libs pathes 
(_coral.so, _coralUi.so ).

For example:

After build folders structure:

1. _coral.so = /coralBuildPath/coral/_coral.so
2. _coralUi.so = /coralBuildPath/coral/coralUi/_coralUi.so
3. Imath.so = /coralBuildPath/coral/Imath.so
4. coralMaya folder = /coralBuildPath/coral/coralMaya
------------------------------

I run maya with command like:

LD_LIBRARY_PATH = /coralBuildPath/coral:/coralBuildPath/coral/coralUi


but after:

from coralMaya import coralMayaApp

it cant find _coral.so

What right pathes I need to set


Also afterBuil maya plugin name is libcoralMaya.so, but in your python scripts 
name is coralMaya.so. I renamed it and it works. Plese check this

Original issue reported on code.google.com by [email protected] on 25 Nov 2011 at 11:05

crash on show Geo id

What steps will reproduce the problem?
1.startup coral
2.create a geoDrawNode , geoSphereNode
3.show id

What is the expected output? What do you see instead?
see the id of the vertex

What version of the product are you using? On what operating system?
linux , fedora 15 , latest svn version

Please provide any additional information below.
I'm probably drunk (it's friday)

Original issue reported on code.google.com by [email protected] on 7 Oct 2011 at 8:22

Crash when changing input values from Maya

What steps will reproduce the problem?
1. Launch Maya
2. Start Coral UI
3. Create MayaContext, double click to enter the node.
4. Create MayaFloatInput, MayaGeoOutput and GeoSphere
5. Connect GeoSphere.out to MayaGeoOutput.geo
6. In Maya create a polygon mesh object (cube) with history on.
7. Connect the coralNetworkNode.mayaGeoOut to pCubeShape1.inMesh.
8. You should now see the sphere mesh being drawn.
9. In Coral connect the MayaFloatInput.value to GeoSphere.radius
10. In Maya set the value of coralNetworkNode.MayaFloatInput to 10
11. Crash

What is the expected output? What do you see instead?
Expected to see the sphere changed size but Maya crashed hard.

What version of the product are you using? On what operating system?

Windows 7 64bit
Boost 1.46 (from source)
TBB 4.0 (from source)
ilmbase 1.0.2 (from source)
QT 4.6.3 or 4.7.4 (I'm not entirely sure which is being used)
Maya 2009 (32bit)
mayapy 2.5 (32bit)
PyQt-Py2.5 4.8.6 (32bit)
Maya's cgGL 2.1.0012

Please provide any additional information below.

I will be able to provide some more information when I get a debug environment 
setup. I had to change a couple of lines to get Coral compiling against the 
Maya 2009 api, so I wouldn't be surprised if it was something silly I did.

Keir 

Original issue reported on code.google.com by [email protected] on 28 Nov 2011 at 8:47

Ubuntu 32bit build - changes required

What steps will reproduce the problem?
1.Build coral on 32bit Ubuntu 10.04
2.
3.

What is the expected output?
Build as expected as on 64bit Ubuntu 64bit

What do you see instead?
Build failure

What version of the product are you using? On what operating system?


Please provide any additional information below.
On the 32bit OS, malloc calls requires #include <stdlib.h>

Modified file attached

Original issue reported on code.google.com by [email protected] on 4 Dec 2011 at 6:59

Attachments:

save graph: attribute not saved for custom value types

In python, it seems that we can not save the value of the attribute if the 
attribute value is custom (inherited from the Value class)

I did not have the chance to put breakpoints in the C++ code, but one 
possibility I suspect that it's the default Value::asString which is called, 
that's why Attribute::asScript returns an empty string.

here is the minimal repro:
--------------------

from coral import Node, Value, Attribute
from coral.plugin import Plugin

class DummyValue(Value):
    def __init__(self, value=0):
        Value.__init__(self)
        self._value = value

    def setFromString(self, string):
        self._value = int(string)

    def asString(self):
        return str(self._value)

class DummyAttribute(Attribute):
    def __init__(self, name, parent):
        Attribute.__init__(self, name, parent)
        self.setClassName("DummyAttribute")
        self._setValuePtr(DummyValue(1))

class DummyNode(Node):
    def __init__(self, name, parent):
        Node.__init__(self, name, parent)
        self.out = DummyAttribute("out", self)
        self.addOutputAttribute(self.out)
        self.out2 = StringAttribute("string", self)
        self.addOutputAttribute(self.out2)

def loadPlugin():
    plugin = Plugin("dummyPlug")
    plugin.registerNode("DummyNode", DummyNode, tags=["dummy"])
    plugin.registerAttribute("DummyAttribute", DummyAttribute)
    return plugin

---------------------

result crl file is:

# coral save script
version = 0.1

def runScript(topNode = 'root'):
    executeCommand('CreateNode', className = 'DummyNode', name = 'DummyNode', specializationPreset = 'none', parentNode = topNode)
    executeCommand('SetAttributeValue', attribute = topNode + '.DummyNode.string', value = 'dummy_string_value')

    # nodeEditor save data
    executeCommand('SetNodeUiData', node = topNode, data = {})
    executeCommand('SetNodeUiData', node = topNode + '.DummyNode', data = {'pos': [-23.0, -141.0]})


--------------------


we can see that there is a missing line:
executeCommand('SetAttributeValue', attribute = topNode + '.DummyNode.out', 
value = '1')
but the string attribute is correctly saved

Original issue reported on code.google.com by [email protected] on 25 Jul 2012 at 4:54

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.