Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling Error (Linux CentOS 6.5, Maya 2013) #41

Open
ruchitinfushion opened this issue Feb 19, 2015 · 15 comments
Open

Compiling Error (Linux CentOS 6.5, Maya 2013) #41

ruchitinfushion opened this issue Feb 19, 2015 · 15 comments

Comments

@ruchitinfushion
Copy link

Hello,
Need help to compile partio4Maya on linux centOS. Using CMake 2.6

here is what i tried so far

[ruchit.bhatt@mf-cg-11][] - cd /home/ruchit.bhatt/Documents/Partio/partio
[ruchit.bhatt@mf-cg-11][
/Documents/Partio/partio] - mkdir .build
[ruchit.bhatt@mf-cg-11][/Documents/Partio/partio] - cd .build
[ruchit.bhatt@mf-cg-11][
/Documents/Partio/partio/.build] - cmake ..
CMake Error at CMakeLists.txt:40 (cmake_policy):
Policy "CMP0015" is not known to this version of CMake.

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib64/ccache/gcc
-- Check for working C compiler: /usr/lib64/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE INSTALL PREFIX being changed to local build
-- Build Platform: Linux-x86_64
-- CMAKE INSTALL PREFIX = /home/ruchit.bhatt/Documents/Partio/partio/build-Linux-x86_64/
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found ZLIB: /usr/lib64/libz.so
-- Found PythonInterp: /usr/bin/python2.6
-- Found NumPy: version "2.0.0.dev-1dc1877" /code/python2.6/el6/numpy/core/include
-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_PATH)
-- Could NOT find Arnold (missing: ARNOLD_LIBRARY ARNOLD_INCLUDE_DIR)
CMake Error at contrib/cmake/FindMaya.cmake:179 (if):
if had incorrect arguments: ${MAYA_VERSION} STREQUAL "2011" (Unknown
arguments specified).
Call Stack (most recent call first):
contrib/CMakeLists.txt:4 (find_package)

-- Configuring incomplete, errors occurred!

[ruchit.bhatt@mf-cg-11][/Documents/Partio/partio/.build] - cmake -L
CMake Error: The source directory "/home/ruchit.bhatt/Documents/Partio/partio/.build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-- Cache values
ARNOLD_INCLUDE_DIR:PATH=ARNOLD_INCLUDE_DIR-NOTFOUND
ARNOLD_LIBRARY:FILEPATH=ARNOLD_LIBRARY-NOTFOUND
CMAKE_BUILD_TYPE:STRING=Release
CMAKE_INSTALL_PREFIX:PATH=/usr/local
EXECUTABLE_OUTPUT_PATH:PATH=
LIBRARY_OUTPUT_PATH:PATH=
MAYA_EXECUTABLE:FILEPATH=MAYA_EXECUTABLE-NOTFOUND
NUMPY_INCLUDE_DIR:STRING=/code/python2.6/el6/numpy/core/include
SWIG_DIR:PATH=/code/tools/el6/swig/3.0.0/share/swig/3.0.0
SWIG_EXECUTABLE:FILEPATH=/code/bin/fedora13/swig
SWIG_VERSION:STRING=3.0.0
[ruchit.bhatt@mf-cg-11][
/Documents/Partio/partio/.build] - ^C
[ruchit.bhatt@mf-cg-11][/Documents/Partio/partio/.build] - ^C
[ruchit.bhatt@mf-cg-11][
/Documents/Partio/partio/.build] -

@ruchitinfushion
Copy link
Author

ARNOLD_INCLUDE_DIR:PATH=ARNOLD_INCLUDE_DIR-NOTFOUND
ARNOLD_LIBRARY:FILEPATH=ARNOLD_LIBRARY-NOTFOUND

How to set variables for arnold??
Plz reply

@StefanReinhardt
Copy link

I am not really into this topic right now but perhaps i can help...
I assume you have arnold installed as a Renderer. If not it seems not be the problem here...

To your question, you usually just have to set them via export ...
If you don't find the path you can try the vfxcmake stuff form nerdvegas (https://github.com/nerdvegas/vfxcmake)

But from your first post it seems to be a problem that it doesn't find the PythonLibs ...

@ruchitinfushion
Copy link
Author

Test on Windows. same problem

partio error

Environment Variables are....
ARNOLD_HOME = C:\solidangle\arnold\Arnold-4.2.3.1-windows
HOUDINI_ROOT = C:\Program Files\Side Effects Software\Houdini 14.0.201.13
MTOA_PATH = C:\solidangle\mtoadeploy\2015
PYTHON_INCLUDE = C:\Python27\include
PYTHON_LIB = C:\Python27\Lib

@ruchitinfushion
Copy link
Author

[ 2%] Building CXX object src/lib/CMakeFiles/partio.dir/io/3rdParty/nextLimit/FileReader.o
[ 4%] Building CXX object src/lib/CMakeFiles/partio.dir/io/3rdParty/nextLimit/RPCReader.o
[ 6%] Building CXX object src/lib/CMakeFiles/partio.dir/io/XYZ.o
[ 8%] Building CXX object src/lib/CMakeFiles/partio.dir/io/PTC.o
[ 10%] Building CXX object src/lib/CMakeFiles/partio.dir/io/ZIP.o
[ 13%] Building CXX object src/lib/CMakeFiles/partio.dir/io/PDC.o
[ 15%] Building CXX object src/lib/CMakeFiles/partio.dir/io/PDB.o
[ 17%] Building CXX object src/lib/CMakeFiles/partio.dir/io/PTS.o
[ 19%] Building CXX object src/lib/CMakeFiles/partio.dir/io/ParticleIO.o
[ 21%] Building CXX object src/lib/CMakeFiles/partio.dir/io/BGEO.o
[ 23%] Building CXX object src/lib/CMakeFiles/partio.dir/io/BIN.o
[ 26%] Building CXX object src/lib/CMakeFiles/partio.dir/io/PDA.o
[ 28%] Building CXX object src/lib/CMakeFiles/partio.dir/io/RPC.o
[ 30%] Building CXX object src/lib/CMakeFiles/partio.dir/io/NEW_BGEO.o
[ 32%] Building CXX object src/lib/CMakeFiles/partio.dir/io/PRT.o
[ 34%] Building CXX object src/lib/CMakeFiles/partio.dir/io/PCD.o
[ 36%] Building CXX object src/lib/CMakeFiles/partio.dir/io/MC.o
[ 39%] Building CXX object src/lib/CMakeFiles/partio.dir/io/GEO.o
[ 41%] Building CXX object src/lib/CMakeFiles/partio.dir/io/RIB.o
[ 43%] Building CXX object src/lib/CMakeFiles/partio.dir/core/ParticleCaching.o
[ 45%] Building CXX object src/lib/CMakeFiles/partio.dir/core/ParticleSimple.o
[ 47%] Building CXX object src/lib/CMakeFiles/partio.dir/core/ParticleSimpleInterleave.o
[ 50%] Building CXX object src/lib/CMakeFiles/partio.dir/core/ParticleHeaders.o
[ 52%] Building CXX object src/lib/CMakeFiles/partio.dir/core/Particle.o
Linking CXX static library libpartio.a
[ 52%] Built target partio
Scanning dependencies of target partattr
[ 54%] Building CXX object src/tools/CMakeFiles/partattr.dir/partattr.o
Linking CXX executable partattr
[ 54%] Built target partattr
Scanning dependencies of target partconv
[ 56%] Building CXX object src/tools/CMakeFiles/partconv.dir/partconv.o
Linking CXX executable partconv
[ 56%] Built target partconv
Scanning dependencies of target partinfo
[ 58%] Building CXX object src/tools/CMakeFiles/partinfo.dir/partinfo.o
Linking CXX executable partinfo
[ 58%] Built target partinfo
Scanning dependencies of target partview
[ 60%] Building CXX object src/tools/CMakeFiles/partview.dir/partview.o
Linking CXX executable partview
[ 60%] Built target partview
Scanning dependencies of target jsontest
[ 63%] Building CXX object src/tests/CMakeFiles/jsontest.dir/jsontest.o
Linking CXX executable jsontest
[ 63%] Built target jsontest
Scanning dependencies of target makecircle
[ 65%] Building CXX object src/tests/CMakeFiles/makecircle.dir/makecircle.o
Linking CXX executable makecircle
[ 65%] Built target makecircle
Scanning dependencies of target makeline
[ 67%] Building CXX object src/tests/CMakeFiles/makeline.dir/makeline.o
Linking CXX executable makeline
[ 67%] Built target makeline
Scanning dependencies of target partio4Maya
[ 69%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partioVisualizer.o
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioVisualizer.cpp: In member function 'virtual MStatus partioVisualizer::compute(const MPlug&, MDataBlock&)':
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioVisualizer.cpp:797: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioVisualizer.cpp:801: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioVisualizer.cpp:805: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioVisualizer.cpp:809: warning: comparison between signed and unsigned integer expressions
[ 71%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partioEmitter.o
[ 73%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partioInstancer.o
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioInstancer.cpp: In member function 'virtual MStatus partioInstancer::compute(const MPlug&, MDataBlock&)':
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioInstancer.cpp:1068: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioInstancer.cpp:1072: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioInstancer.cpp:1076: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioInstancer.cpp:1080: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioInstancer.cpp:1084: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioInstancer.cpp:1088: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioInstancer.cpp:1092: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioInstancer.cpp:1096: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Maya/partioInstancer.cpp:1100: warning: comparison between signed and unsigned integer expressions
[ 76%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partioExport.o
[ 78%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partio4MayaShared.o
[ 80%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/plugin.o
[ 82%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partioImport.o
Linking CXX shared library partio4Maya.so
/usr/lib64/ccache/c++ -fPIC -fPIC -O3 -DNDEBUG -shared -Wl,-soname,partio4Maya.so -o partio4Maya.so CMakeFiles/partio4Maya.dir/partioVisualizer.o CMakeFiles/partio4Maya.dir/partioEmitter.o CMakeFiles/partio4Maya.dir/partioInstancer.o CMakeFiles/partio4Maya.dir/partioExport.o CMakeFiles/partio4Maya.dir/partio4MayaShared.o CMakeFiles/partio4Maya.dir/plugin.o CMakeFiles/partio4Maya.dir/partioImport.o -L/lib/x64 -L/apps/autodesk/maya2013sp1/lib -lz -lglut -lz ../../src/lib/libpartio.a -lOpenMaya -lFoundation -lOpenMayaAnim -lOpenMayaFX -lOpenMayaUI -lOpenMayaRender -lGL -lGLU -lglut -lOpenMaya -lFoundation -lOpenMayaAnim -lOpenMayaFX -lOpenMayaUI -lOpenMayaRender -lGL -lGLU -Wl,-rpath,/lib/x64:/apps/autodesk/maya2013sp1/lib:
[ 82%] Built target partio4Maya
Scanning dependencies of target partioTranslator
[ 84%] Building CXX object contrib/partio4Arnold/plugin/CMakeFiles/partioTranslator.dir/PartioVizTranslator.o
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Arnold/plugin/PartioVizTranslator.cpp: In member function 'virtual AtNode* CPartioVizTranslator::CreateArnoldNodes()':
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Arnold/plugin/PartioVizTranslator.cpp:88: error: no matching function for call to 'CPartioVizTranslator::IsMasterInstance()'
/apps/solidangle/mtoa-0.22.0/2013/include/translators/NodeTranslator.h:266: note: candidates are: virtual bool CDagTranslator::IsMasterInstance(MDagPath&)
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Arnold/plugin/PartioVizTranslator.cpp: In member function 'virtual void CPartioVizTranslator::Export(AtNode_)':
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Arnold/plugin/PartioVizTranslator.cpp:128: error: 'GetMasterInstance' was not declared in this scope
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Arnold/plugin/PartioVizTranslator.cpp: In member function 'virtual void CPartioVizTranslator::Update(AtNode_)':
/home/ruchit.bhatt/Documents/Partio/partio/partio/contrib/partio4Arnold/plugin/PartioVizTranslator.cpp:146: error: 'GetMasterInstance' was not declared in this scope
make[2]: *** [contrib/partio4Arnold/plugin/CMakeFiles/partioTranslator.dir/PartioVizTranslator.o] Error 1
make[1]: *** [contrib/partio4Arnold/plugin/CMakeFiles/partioTranslator.dir/all] Error 2
make: *** [all] Error 2
[ruchit.bhatt@mf-cg-11][~/Documents/Partio/partio/partio/Build] -

@redpawfx
Copy link
Owner

redpawfx commented Mar 2, 2015

Hmm.. not sure, it could be that you're missing an include path to the arnold headers still, or something was changed in the API that I have yet to come across, its possible they moved some things around. I'll have to take a look at it, until then it looks like you're getting close so you can just not compile the arnold stuff for now and still get everything else working.

-j

@ruchitinfushion
Copy link
Author

compile Done, But Maya getting crash on Export.

=>partioExport Problem:
*Tried to export cached classic & nParticles but everytimes maya get crash.

also tried manually
partioExport -mnf 1 -mxf 50 -f pdc -atr position -atr velocity -atr rgbPP -atr opacityPP -fp "classicParticles" -p "/home/ruchit.bhatt/Desktop/partioTest" particleShape1;

@redpawfx
Copy link
Owner

Have you tried any other formats besides PDC? We use BGEO and PRT all the time from nParticles and regular particles.. its possible there's something broken in the PDC writer at the moment.

-john

@ruchitinfushion
Copy link
Author

Same problem with BGEO & PRT, Below is maya crash report


/lib64/libc.so.6() [0x34258326b0]
MFnParticleSystem::isDeformedParticleShape(MStatus_) const
PartioExport::doIt(MArgList const&)
THcommandObject::doIt(TargList&)
TmetaCommand::doCommand(TargList&)
Mel_Command_Dispatch(SphNode_)
f_function_entry_node
node_exec
sophia_call_executable
SophiaExecutable::evaluate(void_)
TcommandEngine::executeCommand(SophiaExecutable_, void_)
TevalEchoCmd::doCommand(TargList&)
Mel_Command_Dispatch(SphNode_)
node_exec
fc_ifelse
node_exec
fc_if
node_exec
fc_foreach
node_exec
fc_for
node_exec
f_function_entry_node
node_exec
sophia_call_executable
SophiaExecutable::evaluate(void_)
TcommandEngine::executeCommand(Tstring const&, bool, bool, TmelCmdResult_, unsigned int)
TscriptAction::execute(Tevent const&, TinterpreterResult**)
TscriptAction::doIt(Tevent const&)
TcontrolScriptAction::doIt(Tevent const&)

@gatgui
Copy link

gatgui commented Mar 13, 2015

I remember having issues with deformed particles a while ago. Here is a commit in my partio fork that works around maya crashing when querying particles ids of a "deformed" particle system: gatgui@fd35439
Not really elegant, but it worked so far.

Maybe changing the call to 'isDeformedParticleShape' by something in line with the following code may help (given that you also pay attention when querying the ids)

MPlugArray plugs;
MPlug plug = PS.findPlug("deformedPosition");
plug.connectedTo(plugs, true, false);
bool deformed = (plugs.length() >= 1);

@ruchitinfushion
Copy link
Author

@gatgui, getting below error wid ur code

/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp: In member function 'virtual MStatus PartioExport::doIt(const MArgList&)':
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:106: error: 'numWriteFormats' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:109: error: 'writeFormatExtension' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:157: error: 'writeFormatIndex' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:157: error: 'InvalidIndex' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:160: error: 'numWriteFormats' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:163: error: 'writeFormatExtension' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp: In member function 'void PartioExport::printUsage()':
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:570: error: 'numWriteFormats' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:573: error: 'writeFormatExtension' is not a member of 'Partio'

@redpawfx
Copy link
Owner

Which branch of my repo are you currently trying to use? I recently
(jan6) added support for this in the redpawfx branch, and have been
using it successfully with the bgeo format.
let me know.
-j

On Fri, Mar 13, 2015 at 7:55 PM, Ruchit Bhatt notifications@github.com
wrote:

@gatgui https://github.com/gatgui, getting below error wid ur code

/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:
In member function 'virtual MStatus PartioExport::doIt(const MArgList&)':
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:106:
error: 'numWriteFormats' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:109:
error: 'writeFormatExtension' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:157:
error: 'writeFormatIndex' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:157:
error: 'InvalidIndex' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:160:
error: 'numWriteFormats' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:163:
error: 'writeFormatExtension' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:
In member function 'void PartioExport::printUsage()':
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:570:
error: 'numWriteFormats' is not a member of 'Partio'
/home/ruchit.bhatt/Documents/Partio/partio4Maya/contrib/partio4Maya/partioExport.cpp:573:
error: 'writeFormatExtension' is not a member of 'Partio'


Reply to this email directly or view it on GitHub
#41 (comment).

@ruchitinfushion
Copy link
Author

Currently I m using "redpawfx-rez" branch
https://github.com/redpawfx/partio/tree/redpawfx-rez

@ruchitinfushion
Copy link
Author

Getting bellow error with "redpawfx" Branch


Linking CXX executable ../../outputs/bin/Linux-x86_64/makecircle
[ 78%] Built target makecircle
Scanning dependencies of target makeline
[ 81%] Building CXX object src/tests/CMakeFiles/makeline.dir/makeline.o
Linking CXX executable ../../outputs/bin/Linux-x86_64/makeline
[ 81%] Built target makeline
Scanning dependencies of target partio4Maya
[ 84%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partioVisualizer.o
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioVisualizer.cpp: In member function 'virtual MStatus partioVisualizer::compute(const MPlug&, MDataBlock&)':
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioVisualizer.cpp:797: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioVisualizer.cpp:801: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioVisualizer.cpp:805: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioVisualizer.cpp:809: warning: comparison between signed and unsigned integer expressions
[ 86%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partioEmitter.o
[ 89%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partioInstancer.o
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioInstancer.cpp: In member function 'virtual MStatus partioInstancer::compute(const MPlug&, MDataBlock&)':
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioInstancer.cpp:1068: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioInstancer.cpp:1072: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioInstancer.cpp:1076: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioInstancer.cpp:1080: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioInstancer.cpp:1084: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioInstancer.cpp:1088: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioInstancer.cpp:1092: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioInstancer.cpp:1096: warning: comparison between signed and unsigned integer expressions
/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/contrib/partio4Maya/partioInstancer.cpp:1100: warning: comparison between signed and unsigned integer expressions
[ 92%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partioExport.o
[ 94%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partio4MayaShared.o
[ 97%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/plugin.o
[100%] Building CXX object contrib/partio4Maya/CMakeFiles/partio4Maya.dir/partioImport.o
Linking CXX shared library ../../outputs/lib/Linux-x86_64/partio4Maya.so
/usr/lib64/ccache/c++ -fPIC -fPIC -O3 -DNDEBUG -shared -Wl,-soname,partio4Maya.so -o ../../outputs/lib/Linux-x86_64/partio4Maya.so CMakeFiles/partio4Maya.dir/partioVisualizer.o CMakeFiles/partio4Maya.dir/partioEmitter.o CMakeFiles/partio4Maya.dir/partioInstancer.o CMakeFiles/partio4Maya.dir/partioExport.o CMakeFiles/partio4Maya.dir/partio4MayaShared.o CMakeFiles/partio4Maya.dir/plugin.o CMakeFiles/partio4Maya.dir/partioImport.o -L/lib/x64 -L/apps/autodesk/maya2013sp1/lib -L/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/.Build/outputs/lib/Linux-x86_64 -lz -Wl,-Bstatic -lpartio -Wl,-Bdynamic -lOpenMaya -lFoundation -lOpenMayaAnim -lOpenMayaFX -lOpenMayaUI -lOpenMayaRender -lGL -lGLU -Wl,-rpath,/lib/x64:/apps/autodesk/maya2013sp1/lib:/home/ruchit.bhatt/Documents/Partio/partioRedpawfx/partio/.Build/outputs/lib/Linux-x86_64:
[100%] Built target partio4Maya

@redpawfx
Copy link
Owner

There are no errors there.. it said it built the library 100% they're just warnings because some of the code I'm not explicitly casting variable types.

have you tried this version ?
-j

@ruchitinfushion
Copy link
Author

Yup, i tried to export normal & Nparticles to BIN, PRT, BGEO,etc.
But every time Maya get crash.

redpawfx pushed a commit that referenced this issue Feb 5, 2016
Fixes to read .bin and .prt files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants