Git Product home page Git Product logo

Comments (7)

nardove avatar nardove commented on August 23, 2024

OK I figure I need to build fieldkit to get the .a files, I am getting another set of errors but I am working my way through, will report back later

from fieldkit.cpp.

marcuswendt avatar marcuswendt commented on August 23, 2024

You're missing the compiled static libraries. Run $ ./fullbuild.sh in the
fieldkit.cpp/xcode folder which should compile the library for all supported
platforms and build configurations.

Ill check if the documentation is unclear here.

Hope this helps
M

On Tue, Jul 19, 2011 at 10:00 PM, nardove <
[email protected]>wrote:

I am getting the following errors when I try to compile the projects bundle
in the sample folder:
i686-apple-darwin10-llvm-g++-4.2: ../../../lib/libFieldKit_d.a: No such
file or directory
i686-apple-darwin10-llvm-g++-4.2: ../../../lib/libScriptKit_d.a: No such
file or directory
Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1

I follow the installation steps, I only istall FieldKit and v8 so I wonder
if I am missing another step in the process

Reply to this email directly or view it on GitHub:
#4

from fieldkit.cpp.

nardove avatar nardove commented on August 23, 2024

Cool, I manage to build successfully but now I get this error when I try to build the Flocking project:

Ld /Users/nardove/Library/Developer/Xcode/DerivedData/Flocking-ekthcsrwyzybvbaojvsuzooewlze/Build/Products/Debug/Flocking.app/Contents/MacOS/Flocking normal i386
cd /Users/nardove/Programming/Cinder/FieldKit.cpp/samples/Flocking/xcode
setenv MACOSX_DEPLOYMENT_TARGET 10.6
/Developer/usr/bin/clang++ -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/nardove/Library/Developer/Xcode/DerivedData/Flocking-ekthcsrwyzybvbaojvsuzooewlze/Build/Products/Debug -F/Users/nardove/Library/Developer/Xcode/DerivedData/Flocking-ekthcsrwyzybvbaojvsuzooewlze/Build/Products/Debug -filelist /Users/nardove/Library/Developer/Xcode/DerivedData/Flocking-ekthcsrwyzybvbaojvsuzooewlze/Build/Intermediates/Flocking.build/Debug/Flocking.build/Objects-normal/i386/Flocking.LinkFileList -mmacosx-version-min=10.6 ../../../lib/libFieldKit_d.a ../../../lib/libScriptKit_d.a ../../../../master/lib/libcinder_d.a -read_only_relocs suppress -framework Cocoa -framework OpenGL -framework Carbon -framework CoreVideo -framework QTKit -framework QuickTime -framework Accelerate -framework AudioToolbox -framework AudioUnit -framework CoreAudio -o /Users/nardove/Library/Developer/Xcode/DerivedData/Flocking-ekthcsrwyzybvbaojvsuzooewlze/Build/Products/Debug/Flocking.app/Contents/MacOS/Flocking
Command /Developer/usr/bin/clang++ failed with exit code 1

That looks alien to me, any ideas?

from fieldkit.cpp.

marcuswendt avatar marcuswendt commented on August 23, 2024

Hey

sorry this doesnt really tell me much either.

  • Are you running the latest Xcode/ OSX?
  • Did you try clean all libraries and the project before building?
  • Are there any other errors or hints in the build log / Can you post the
    complete build log here?

M

On Thu, Jul 21, 2011 at 9:21 PM, nardove <
[email protected]>wrote:

Cool, I manage to build successfully but no I get his error when I try to
build the Flocking project:

Ld
/Users/nardove/Library/Developer/Xcode/DerivedData/Flocking-ekthcsrwyzybvbaojvsuzooewlze/Build/Products/Debug/Flocking.app/Contents/MacOS/Flocking
normal i386
cd /Users/nardove/Programming/Cinder/FieldKit.cpp/samples/Flocking/xcode
setenv MACOSX_DEPLOYMENT_TARGET 10.6
/Developer/usr/bin/clang++ -arch i386 -isysroot
/Developer/SDKs/MacOSX10.6.sdk
-L/Users/nardove/Library/Developer/Xcode/DerivedData/Flocking-ekthcsrwyzybvbaojvsuzooewlze/Build/Products/Debug
-F/Users/nardove/Library/Developer/Xcode/DerivedData/Flocking-ekthcsrwyzybvbaojvsuzooewlze/Build/Products/Debug
-filelist
/Users/nardove/Library/Developer/Xcode/DerivedData/Flocking-ekthcsrwyzybvbaojvsuzooewlze/Build/Intermediates/Flocking.build/Debug/Flocking.build/Objects-normal/i386/Flocking.LinkFileList
-mmacosx-version-min=10.6 ../../../lib/libFieldKit_d.a
../../../lib/libScriptKit_d.a ../../../../master/lib/libcinder_d.a
-read_only_relocs suppress -framework Cocoa -framework OpenGL -framework
Carbon -framework CoreVideo -framework QTKit -framework QuickTime -framework
Accelerate -framework AudioToolbox -framework AudioUnit -framework CoreAudio
-o
/Users/nardove/Library/Developer/Xcode/DerivedData/Flocking-ekthcsrwyzybvbaojvsuzooewlze/Build/Products/Debug/Flocking.app/Contents/Ma
cOS/Flocking
Command /Developer/usr/bin/clang++ failed with exit code 1

That looks alien to me, any ideas?

Reply to this email directly or view it on GitHub:
#4 (comment)

from fieldkit.cpp.

rainerkohlberger avatar rainerkohlberger commented on August 23, 2024

hi,

had the same error,
there was a problem with the 'ShaderSet.cpp' reference in Xcode (it was marked red). none of the targets compiled successfully.
fixed it by opening FieldKit.xcodeproj and dragging ShaderSet.cpp in manually from src/fieldkit/gl/

hope that helps.

from fieldkit.cpp.

marcuswendt avatar marcuswendt commented on August 23, 2024

this is now fixed in master

from fieldkit.cpp.

num3ric avatar num3ric commented on August 23, 2024

Hi,
I'm not sure if this issue has been fixed. Pulling this repo today, I found that ShaderSet.cpp (and the header?) is shown in red (missing file) in the xcode project. I believe the path is incorrect.

Here is the ShaderSet.cpp path in red:
../../../../Libraries/FieldKit.cpp/src/fieldkit/gl/ShaderSet.cpp

And here is the PointCloud.cpp path for comparison:
../../FieldKit.cpp/src/fieldkit/gl/PointCloud.cpp

Similarly, it appears that the Flocking & RubberBand samples also have missing files in red like this. I thus had to "Right Click -> Get Info -> Choose.." to reset the correct path quite a few times. Could the paths have changed since the last .xcodeproj files have been pushed?

from fieldkit.cpp.

Related Issues (5)

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.