-
Notifications
You must be signed in to change notification settings - Fork 490
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
Issue with make python on Ubuntu 20.04 #187
Comments
I have the same question |
@Sun-Shun @Aliice8 you might want to try this
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone, I followed the steps for the installation in the readme but I face this issue that I really don't know how to solve when running "make python" in ~/DeepMimic/DeepMimicCore directory.
Looking at similar issues, it may also be that I indicated the wrong path to dir in the MakeFile because I don't really get what dir should I put...
Anyways, this is the error:
~/DeepMimic/DeepMimicCore$ make python swig -c++ -python DeepMimicCore.i clang++ -c -g -std=c++11 -O3 -Wall -fPIC -I./ -I/usr/local/include/eigen3 -I/usr/local/include/bullet -I -I -I/usr/local/include/bullet -lGLEW -lGL -lGLU -lglut -lBulletDynamics -lBulletCollision -lLinearMath -lm -lstdc++ DeepMimicCore.cpp DeepMimicCore_wrap.cxx -I/usr/include/python3.8 clang: warning: -lGLEW: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lGL: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lGLU: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lglut: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lBulletDynamics: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lBulletCollision: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lLinearMath: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Z-reserved-lib-stdc++: 'linker' input unused [-Wunused-command-line-argument] In file included from DeepMimicCore.cpp:3: In file included from ./render/DrawUtil.h:6: In file included from ./render/DrawMesh.h:21: ./render/VertexBuffer.h:20:32: warning: field 'mRenderState' will be initialized after field 'mLocalData' [-Wreorder-ctor] cVertexBuffer():mRenderID(0), mRenderState(NULL), mLocalData(NULL), ^ ./render/VertexBuffer.h:20:52: warning: field 'mLocalData' will be initialized after field 'mAttrInfo' [-Wreorder-ctor] cVertexBuffer():mRenderID(0), mRenderState(NULL), mLocalData(NULL), ^ ./render/VertexBuffer.h:21:15: warning: field 'mAttrInfo' will be initialized after field 'mNumAttr' [-Wreorder-ctor] mAttrInfo(NULL), mNumAttr(0), mSize(0) ^ ./render/VertexBuffer.h:21:32: warning: field 'mNumAttr' will be initialized after field 'mSize' [-Wreorder-ctor] mAttrInfo(NULL), mNumAttr(0), mSize(0) ^ ./render/VertexBuffer.h:23:77: warning: field 'mRenderState' will be initialized after field 'mLocalData' [-Wreorder-ctor] cVertexBuffer(GLuint bufferID, cRenderState &r_state):mRenderID(bufferID), mRenderState(&r_state), mLocalData(NULL), ^ ./render/VertexBuffer.h:23:101: warning: field 'mLocalData' will be initialized after field 'mAttrInfo' [-Wreorder-ctor] cVertexBuffer(GLuint bufferID, cRenderState &r_state):mRenderID(bufferID), mRenderState(&r_state), mLocalData(NULL), ^ ./render/VertexBuffer.h:24:40: warning: field 'mAttrInfo' will be initialized after field 'mNumAttr' [-Wreorder-ctor] mAttrInfo(NULL), mNumAttr(0), mSize(0) ^ ./render/VertexBuffer.h:24:57: warning: field 'mNumAttr' will be initialized after field 'mSize' [-Wreorder-ctor] mAttrInfo(NULL), mNumAttr(0), mSize(0) ^ ./render/VertexBuffer.h:26:69: warning: field 'mRenderState' will be initialized after field 'mNumAttr' [-Wreorder-ctor] cVertexBuffer(const cVertexBuffer &old): mRenderID(old.mRenderID), mRenderState(old.mRenderState), mNumAttr(old.mNumAttr), ^ ./render/VertexBuffer.h:26:101: warning: field 'mNumAttr' will be initialized after field 'mSize' [-Wreorder-ctor] cVertexBuffer(const cVertexBuffer &old): mRenderID(old.mRenderID), mRenderState(old.mRenderState), mNumAttr(old.mNumAttr), ^ In file included from DeepMimicCore.cpp:3: In file included from ./render/DrawUtil.h:6: In file included from ./render/DrawMesh.h:22: ./render/IBuffer.h:32:28: warning: field 'mRenderState' will be initialized after field 'mLocalData' [-Wreorder-ctor] cIBuffer(): mRenderID(0), mRenderState(NULL), mLocalData(NULL), mElemSize(0), mSize(0) ^ ./render/IBuffer.h:32:48: warning: field 'mLocalData' will be initialized after field 'mElemSize' [-Wreorder-ctor] cIBuffer(): mRenderID(0), mRenderState(NULL), mLocalData(NULL), mElemSize(0), mSize(0) ^ ./render/IBuffer.h:32:66: warning: field 'mElemSize' will be initialized after field 'mSize' [-Wreorder-ctor] cIBuffer(): mRenderID(0), mRenderState(NULL), mLocalData(NULL), mElemSize(0), mSize(0) ^ ./render/IBuffer.h:34:73: warning: field 'mRenderState' will be initialized after field 'mLocalData' [-Wreorder-ctor] cIBuffer(GLuint bufferID, cRenderState &r_state): mRenderID(bufferID), mRenderState(&r_state), mLocalData(NULL), mElemSize(0), mSize(0) ^ ./render/IBuffer.h:34:97: warning: field 'mLocalData' will be initialized after field 'mElemSize' [-Wreorder-ctor] cIBuffer(GLuint bufferID, cRenderState &r_state): mRenderID(bufferID), mRenderState(&r_state), mLocalData(NULL), mElemSize(0), mSize(0) ^ ./render/IBuffer.h:34:115: warning: field 'mElemSize' will be initialized after field 'mSize' [-Wreorder-ctor] cIBuffer(GLuint bufferID, cRenderState &r_state): mRenderID(bufferID), mRenderState(&r_state), mLocalData(NULL), mElemSize(0), mSize(0) ^ 16 warnings generated. In file included from DeepMimicCore_wrap.cxx:178: In file included from /usr/include/python3.8/Python.h:85: In file included from /usr/include/python3.8/pytime.h:6: In file included from /usr/include/python3.8/object.h:746: /usr/include/python3.8/cpython/object.h:177:16: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] typedef struct _typeobject { ^ DeepMimicCore_wrap.cxx:1767:23: note: in implicit copy assignment operator for '_typeobject' first required here swigpyobject_type = tmp; ^ /usr/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); ^ /usr/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ In file included from DeepMimicCore_wrap.cxx:178: In file included from /usr/include/python3.8/Python.h:85: In file included from /usr/include/python3.8/pytime.h:6: In file included from /usr/include/python3.8/object.h:746: /usr/include/python3.8/cpython/object.h:177:16: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] typedef struct _typeobject { ^ /usr/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); ^ /usr/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ 2 warnings generated. clang++ -shared -std=c++11 -O3 -Wall -fPIC objs/Main.o objs/DeepMimicCore.o objs/util/IndexManager.o objs/util/Timer.o objs/util/DynamicTimeWarper.o objs/util/Annealer.o objs/util/ArgParser.o objs/util/Trajectory.o objs/util/Rand.o objs/util/MathUtil.o objs/util/FileUtil.o objs/util/JsonUtil.o objs/util/BVHReader.o objs/util/json/json_value.o objs/util/json/json_reader.o objs/util/json/json_writer.o objs/anim/ClipsController.o objs/anim/KinController.o objs/anim/Shape.o objs/anim/MotionController.o objs/anim/KinTree.o objs/anim/Character.o objs/anim/KinCharacter.o objs/anim/Motion.o objs/anim/KinCtrlBuilder.o objs/sim/ExpPDController.o objs/sim/CtController.o objs/sim/SimSphere.o objs/sim/CtrlBuilder.o objs/sim/ImpPDController.o objs/sim/SimObj.o objs/sim/PerturbManager.o objs/sim/RBDUtil.o objs/sim/SimBox.o objs/sim/SpAlg.o objs/sim/SimRigidBody.o objs/sim/SimCapsule.o objs/sim/Controller.o objs/sim/CharController.o objs/sim/SimBodyLink.o objs/sim/CtCtrlUtil.o objs/sim/AgentRegistry.o objs/sim/CtVelController.o objs/sim/RBDModel.o objs/sim/DeepMimicCharController.o objs/sim/ObjTracer.o objs/sim/CtPDController.o objs/sim/SimPlane.o objs/sim/SimBodyJoint.o objs/sim/GroundBuilder.o objs/sim/World.o objs/sim/MultiBody.o objs/sim/SimCharacter.o objs/sim/ContactManager.o objs/sim/SimCharBuilder.o objs/sim/PDController.o objs/sim/SimCylinder.o objs/sim/SimJoint.o objs/sim/Ground.o objs/sim/GroundPlane.o objs/sim/SimCharGeneral.o objs/sim/Perturb.o objs/render/DrawMesh.o objs/render/DrawPerturb.o objs/render/DrawWorld.o objs/render/GraphUtil.o objs/render/DrawObj.o objs/render/VertexBuffer.o objs/render/DrawUtil.o objs/render/Camera.o objs/render/TextureDesc.o objs/render/MeshUtil.o objs/render/DrawKinTree.o objs/render/TextureUtil.o objs/render/IBuffer.o objs/render/Shader.o objs/render/DrawSimCharacter.o objs/render/ShadowMap.o objs/render/MatrixStack.o objs/render/DrawCharacter.o objs/render/DrawGround.o objs/render/lodepng/lodepng_util.o objs/render/lodepng/lodepng.o objs/scenes/DrawSceneSimChar.o objs/scenes/DrawSceneTargetAMP.o objs/scenes/SceneImitate.o objs/scenes/Scene.o objs/scenes/RLSceneSimChar.o objs/scenes/SceneHeadingAMP.o objs/scenes/DrawSceneKinChar.o objs/scenes/DrawSceneDribbleAMP.o objs/scenes/SceneSimChar.o objs/scenes/SceneTargetAMP.o objs/scenes/RLScene.o objs/scenes/DrawSceneStrikeAMP.o objs/scenes/DrawSceneHeadingAMPGetup.o objs/scenes/SceneKinChar.o objs/scenes/SceneStrikeAMP.o objs/scenes/DrawSceneImitate.o objs/scenes/DrawRLScene.o objs/scenes/DrawScene.o objs/scenes/SceneBuilder.o objs/scenes/DrawSceneImitateAMP.o objs/scenes/SceneDribbleAMP.o objs/scenes/DrawSceneHeadingAMP.o objs/scenes/SceneImitateAMP.o objs/scenes/SceneHeadingAMPGetup.o -lGLEW -lGL -lGLU -lglut -lBulletDynamics -lBulletCollision -lLinearMath -lm -lstdc++ DeepMimicCore_wrap.o -o _DeepMimicCore.so -L/usr/lib/ -lpython3.8 -L -L -L clang: error: argument to '-L' is missing (expected 1 value) make: *** [Makefile:76: python] Error 1
I really hope someone can help me!!
The text was updated successfully, but these errors were encountered: