alecjacobson / FAST

Fast Automatic Skinning Transformations
Mozilla Public License 2.0
66 stars 11 forks source link

successful build but no 'build' folder? #5

Open batchku opened 7 years ago

batchku commented 7 years ago

I'm able to successfully build the project in xcode, and the demo runs; however, i'm not able to see any of the puppets in the demo, which looks this: image

I'm also not able to execute this line in the README: ./skinning ogre/

In terminal, i get:

Alis-Unicorn:FAST ali$ ./skinning ogre/
-bash: ./skinning: is a directory

it seems like this line is asking that i run an executable called skinning but i don't see that.

when the project builds, should it create a build folder and place some executables inside it?

alecjacobson commented 7 years ago

I think you're just in the wrong directory.

Issue

cd skinning

and then

./skinning ogre/
batchku commented 7 years ago

Hello @alecjacobson and thanks for your response. That is not the issue, I tried that:

Alis-Unicorn:FAST ali$ cd skinning
Alis-Unicorn:skinning ali$ ./skinning ogre/
-bash: ./skinning: No such file or directory
Alis-Unicorn:skinning ali$ 

there is no executable called skinning in that folder either. where should the binaries be built by the xcode project?

also, when i build in XCode, here is what i see in the console:

getcwd(): /Users/ali/Library/Developer/Xcode/DerivedData/skinning-hbsbpwaojngospeesfulnzgrypld/Build/Products/Debug
argv[0] /Users/ali/Library/Developer/Xcode/DerivedData/skinning-hbsbpwaojngospeesfulnzgrypld/Build/Products/Debug/FAST.app/Contents/MacOS/FAST
cd /Users/ali/Library/Developer/Xcode/DerivedData/skinning-hbsbpwaojngospeesfulnzgrypld/Build/Products/Debug/FAST.app/Contents/MacOS/../..
getcwd(): /Users/ali/Library/Developer/Xcode/DerivedData/skinning-hbsbpwaojngospeesfulnzgrypld/Build/Products/Debug
pwd -> /Users/ali/Library/Developer/Xcode/DerivedData/skinning-hbsbpwaojngospeesfulnzgrypld/Build/Products/Debug
Loading mesh from file /var/tmp/.skinning_temp/mesh.obj...succeeded
Loading mesh from file /var/tmp/.skinning_temp/mesh.off...IOError: /var/tmp/.skinning_temp/mesh.off could not be opened...
failed
Loading mesh from file /var/tmp/.skinning_temp/mesh.mesh...IOError: /var/tmp/.skinning_temp/mesh.mesh could not be opened...failed
Loading weights... succeeded
Clearing bone roots...
Loading bone roots... bones.size(): 0
Bones match... Just loading data into existing bones...
Error: initialize_transformations() WI empty
loaded bone roots...
BoneBoneCopyMap constructed...
pushed back...
while...
next_name: /var/tmp/.skinning_temp/bone_roots-1.bf
loaded bone roots animation...
succeeded
  successfully loaded shader from FAST.app/Contents/Resources//directionalperpixel.frag
  successfully loaded shader from FAST.app/Contents/Resources//directionalperpixelcolor.frag
  successfully loaded shader from FAST.app/Contents/Resources//weightcolors.frag
  successfully loaded shader from FAST.app/Contents/Resources//scalar.frag
  successfully loaded shader from FAST.app/Contents/Resources//lbs.frag
  successfully loaded shader from FAST.app/Contents/Resources//lbsTextured.frag
GL_MAX_VERTEX_ATTRIBS: 16
GL_MAX_VERTEX_UNIFORM_COMPONENTS: 4096
GL_VERSION: 2.1 NVIDIA-10.14.20 355.10.05.15f03
GL_SHADING_LANGUAGE_VERSION: 1.20
GL_RENDERER: NVIDIA GeForce GT 650M OpenGL Engine
ERROR: send_transformations() num_handles == 0

-ali