Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Very basic question about OF 0.9.0 + QtCreator 3.5.1 on OSX

$
0
0

@msaitow wrote:

Hi guys,

I'm a beginner of OF and if possible I love to use QtCreator as IDE rather than Xcode. The problem I have now is that when I try to compile an already-existing OF project, I always encounter the problem as shown at the end.

I've changed the default compiler to Clang, as told in the instructions, from GCC and just converted of_v0.9.0_osx_release/examples/3d/3DPrimitivesExample/ into 3DPrimitivesExample.qbs. Actually, I'm also a beginner of QtCreator even though I have some experience on C++ + Emacs. Please give me a hint on how to use QtCreator as an default IDE for OF. I succeeded to compile the project with Xcode. Therefore, I think the development environment I have is working properly.

Undefined symbols for architecture x86_64:
"OBJCCLASS_$_QTCaptureDevice", referenced from:
objc-class-ref in libopenFrameworksDebug.a(ofQTKitGrabber.o)
"OBJCCLASS_$_QTCaptureDeviceInput", referenced from:
objc-class-ref in libopenFrameworksDebug.a(ofQTKitGrabber.o)
"OBJCCLASS_$_QTCaptureMovieFileOutput", referenced from:
objc-class-ref in libopenFrameworksDebug.a(ofQTKitGrabber.o)
"OBJCCLASS_$_QTCaptureSession", referenced from:
objc-class-ref in libopenFrameworksDebug.a(ofQTKitGrabber.o)
"OBJCCLASS_$_QTCaptureVideoPreviewOutput", referenced from:
OBJCCLASS_$_QTKitVideoGrabber in libopenFrameworksDebug.a(ofQTKitGrabber.o)
"OBJCCLASS_$_QTCompressionOptions", referenced from:
objc-class-ref in libopenFrameworksDebug.a(ofQTKitGrabber.o)
"OBJCMETACLASS_$_QTCaptureVideoPreviewOutput", referenced from:
OBJCMETACLASS_$_QTKitVideoGrabber in libopenFrameworksDebug.a(ofQTKitGrabber.o)
"_QTMediaTypeMuxed", referenced from:
+[QTKitVideoGrabber listVideoDevices] in libopenFrameworksDebug.a(ofQTKitGrabber.o)
-[QTKitVideoGrabber setVideoDeviceID:] in libopenFrameworksDebug.a(ofQTKitGrabber.o)
ofQTKitGrabber::setVideoDeviceID(std::1::basic_string1::char_traits, std::__1::allocator >) in libopenFrameworksDebug.a(ofQTKitGrabber.o)
"_QTMediaTypeSound", referenced from:
+[QTKitVideoGrabber listAudioDevices] in libopenFrameworksDebug.a(ofQTKitGrabber.o)
-[QTKitVideoGrabber setAudioDeviceID:] in libopenFrameworksDebug.a(ofQTKitGrabber.o)
+[QTKitVideoGrabber listAudioCodecs] in libopenFrameworksDebug.a(ofQTKitGrabber.o)
-[QTKitVideoGrabber setAudioCodec:] in libopenFrameworksDebug.a(ofQTKitGrabber.o)
ofQTKitGrabber::setAudioDeviceID(std::1::basic_string1::char_traits, std::__1::allocator >) in libopenFrameworksDebug.a(ofQTKitGrabber.o)
"_QTMediaTypeVideo", referenced from:
+[QTKitVideoGrabber listVideoDevices] in libopenFrameworksDebug.a(ofQTKitGrabber.o)
-[QTKitVideoGrabber setVideoDeviceID:] in libopenFrameworksDebug.a(ofQTKitGrabber.o)
+[QTKitVideoGrabber listVideoCodecs] in libopenFrameworksDebug.a(ofQTKitGrabber.o)
-[QTKitVideoGrabber setVideoCodec:] in libopenFrameworksDebug.a(ofQTKitGrabber.o)
ofQTKitGrabber::setVideoDeviceID(std::1::basic_string1::char_traits, std::__1::allocator >) in libopenFrameworksDebug.a(ofQTKitGrabber.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Process failed with exit code 1.
The following products could not be built for configuration qtc_Desktop_6edaa6da-debug:
3DPrimitivesExample
Error while building/deploying project 3DPrimitivesExample (kit: Desktop)
When executing step "Qbs Build"
2

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles