Help error on mac


#41

Looks like you’re trying to build libRocket for i386 whereas you’re linking it with a x86_64 build of freetype.


#42

ok installer with no rocket

[ 39%] Building C++ object built/tmp/p3ffmpeg_composite1.o
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:1:
In file included from panda/src/ffmpeg/config_ffmpeg.cxx:18:
In file included from panda/src/ffmpeg/ffmpegVideoCursor.h:22:
panda/src/ffmpeg/ffmpegVirtualFile.h:63:3: error: unknown type name
‘AVIOContext’
AVIOContext *_io_context;
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:3:
panda/src/ffmpeg/ffmpegVideo.cxx:74:12: error: no viable conversion from ‘To *’
(aka ‘FfmpegVideoCursor *’) to ‘PointerTo’
return result.p();
^~~~~~~~~~
built/include/pointerTo.h:83:10: note: candidate constructor not viable: no
known conversion from ‘To *’ (aka ‘FfmpegVideoCursor *’) to ‘To *’ (aka
‘MovieVideoCursor *’) for 1st argument
INLINE PointerTo(To *ptr = (To *)NULL);
^
built/include/pointerTo.h:84:10: note: candidate constructor not viable: no
known conversion from 'To ’ (aka 'FfmpegVideoCursor ') to ‘const
PointerTo &’ for 1st argument
INLINE PointerTo(const PointerTo &copy);
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:4:
panda/src/ffmpeg/ffmpegVirtualFile.cxx:112:17: error: use of undeclared
identifier ‘avio_alloc_context’
_io_context = avio_alloc_context(buffer, _buffer_size, 0, (void
) this,
^
panda/src/ffmpeg/ffmpegVirtualFile.cxx:166:17: error: use of undeclared
identifier ‘avio_alloc_context’
_io_context = avio_alloc_context(buffer, _buffer_size, 0, (void
) this,
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:5:
panda/src/ffmpeg/ffmpegAudioCursor.cxx:20:12: fatal error: ‘libavutil/dict.h’
file not found
#include “libavutil/dict.h”
^
5 errors generated.
Storing dependency cache.
Elapsed Time: 20 min 20 sec
The following command returned a non-zero value: g++ -ftemplate-depth-50 -fPIC -c -o built/tmp/p3ffmpeg_composite1.o -Ibuilt/tmp -Ibuilt/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/Cellar/eigen/3.2.2/include/eigen3 -Ithirdparty/darwin-libs-a/ffmpeg/include -Ipanda/src/ffmpeg -Wno-deprecated-declarations -pthread -msse2 -O2 -DBUILDING_FFMPEG panda/src/ffmpeg/p3ffmpeg_composite1.cxx


#43

Your version of ffmpeg is outdated. Get a new ffmpeg version or build with --no-ffmpeg.


#44

thanks man :slight_smile:
lets see what happens now


#45

ok i updated it
[ 39%] Building C++ object built/tmp/p3ffmpeg_composite1.o
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:1:
In file included from panda/src/ffmpeg/config_ffmpeg.cxx:18:
In file included from panda/src/ffmpeg/ffmpegVideoCursor.h:22:
panda/src/ffmpeg/ffmpegVirtualFile.h:63:3: error: unknown type name
‘AVIOContext’
AVIOContext *_io_context;
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:3:
panda/src/ffmpeg/ffmpegVideo.cxx:74:12: error: no viable conversion from ‘To *’
(aka ‘FfmpegVideoCursor *’) to ‘PointerTo’
return result.p();
^~~~~~~~~~
built/include/pointerTo.h:83:10: note: candidate constructor not viable: no
known conversion from ‘To *’ (aka ‘FfmpegVideoCursor *’) to ‘To *’ (aka
‘MovieVideoCursor *’) for 1st argument
INLINE PointerTo(To *ptr = (To *)NULL);
^
built/include/pointerTo.h:84:10: note: candidate constructor not viable: no
known conversion from 'To ’ (aka 'FfmpegVideoCursor ') to ‘const
PointerTo &’ for 1st argument
INLINE PointerTo(const PointerTo &copy);
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:4:
panda/src/ffmpeg/ffmpegVirtualFile.cxx:112:17: error: use of undeclared
identifier ‘avio_alloc_context’
_io_context = avio_alloc_context(buffer, _buffer_size, 0, (void
) this,
^
panda/src/ffmpeg/ffmpegVirtualFile.cxx:166:17: error: use of undeclared
identifier ‘avio_alloc_context’
_io_context = avio_alloc_context(buffer, _buffer_size, 0, (void
) this,
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:5:
In file included from panda/src/ffmpeg/ffmpegAudioCursor.cxx:20:
In file included from /usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/dict.h:36:
/usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/version.h:58:9: warning:
‘LIBAVUTIL_VERSION_MAJOR’ macro redefined
#define LIBAVUTIL_VERSION_MAJOR 54
^
thirdparty/darwin-libs-a/ffmpeg/include/libavutil/avutil.h:37:9: note: previous
definition is here
#define LIBAVUTIL_VERSION_MAJOR 50
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:5:
In file included from panda/src/ffmpeg/ffmpegAudioCursor.cxx:20:
In file included from /usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/dict.h:36:
/usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/version.h:60:9: warning:
‘LIBAVUTIL_VERSION_MICRO’ macro redefined
#define LIBAVUTIL_VERSION_MICRO 100
^
thirdparty/darwin-libs-a/ffmpeg/include/libavutil/avutil.h:39:9: note: previous
definition is here
#define LIBAVUTIL_VERSION_MICRO 0
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:5:
In file included from panda/src/ffmpeg/ffmpegAudioCursor.cxx:21:
In file included from /usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/opt.h:35:
In file included from /usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/samplefmt.h:25:
/usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/attributes.h:82:13: warning:
‘av_flatten’ macro redefined

define av_flatten

        ^

thirdparty/darwin-libs-a/ffmpeg/include/libavutil/common.h:90:13: note:
previous definition is here

define av_flatten attribute((flatten))

        ^

In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:5:
In file included from panda/src/ffmpeg/ffmpegAudioCursor.cxx:21:
In file included from /usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/opt.h:35:
In file included from /usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/samplefmt.h:25:
/usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/attributes.h:143:13: warning:
‘av_uninit’ macro redefined

define av_uninit(x) x

        ^

thirdparty/darwin-libs-a/ffmpeg/include/libavutil/common.h:114:13: note:
previous definition is here

define av_uninit(x) x=x

        ^

In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:5:
In file included from panda/src/ffmpeg/ffmpegAudioCursor.cxx:21:
/usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/opt.h:745:61: error: ISO C++
forbids forward references to ‘enum’ types
int av_opt_set_pixel_fmt (void *obj, const char *name, enum AVPixelForma…
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:5:
In file included from panda/src/ffmpeg/ffmpegAudioCursor.cxx:28:
In file included from /usr/local/Cellar/ffmpeg/2.4.2/include/libswresample/swresample.h:124:
/usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/frame.h:145:16: error:
redefinition of ‘AVFrame’
typedef struct AVFrame {
^
thirdparty/darwin-libs-a/ffmpeg/include/libavcodec/avcodec.h:988:16: note:
previous definition is here
typedef struct AVFrame {
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:5:
panda/src/ffmpeg/ffmpegAudioCursor.cxx:118:30: warning: comparison of two values
with different enumeration types
(‘enum SampleFormat’ and ‘AVSampleFormat’) [-Wenum-compare]
if (_audio_ctx->sample_fmt != AV_SAMPLE_FMT_S16) {
~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
panda/src/ffmpeg/ffmpegAudioCursor.cxx:133:5: error: no matching function for
call to ‘av_opt_set_sample_fmt’
av_opt_set_sample_fmt(_resample_ctx, “in_sample_fmt”, _audio_ctx->sa…
^~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/ffmpeg/2.4.2/include/libavutil/opt.h:746:5: note: candidate
function not viable: no known conversion from ‘enum SampleFormat’ to
‘enum AVSampleFormat’ for 3rd argument
int av_opt_set_sample_fmt(void *obj, const char *name, enum AVSampleForm…
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:6:
panda/src/ffmpeg/ffmpegVideoCursor.cxx:468:45: error: cannot initialize object
parameter of type ‘const MovieVideoCursor’ with an expression of type
‘FfmpegVideoCursor’
PT(FfmpegBuffer) frame = new FfmpegBuffer(size_x() * size_y() * get_nu…
^~~~~~
panda/src/ffmpeg/ffmpegVideoCursor.cxx:468:56: error: cannot initialize object
parameter of type ‘const MovieVideoCursor’ with an expression of type
‘FfmpegVideoCursor’
PT(FfmpegBuffer) frame = new FfmpegBuffer(size_x() * size_y() * get_nu…
^~~~~~
panda/src/ffmpeg/ffmpegVideoCursor.cxx:468:67: error: cannot initialize object
parameter of type ‘const MovieVideoCursor’ with an expression of type
‘FfmpegVideoCursor’
…frame = new FfmpegBuffer(size_x() * size_y() * get_num_components(), _vi…
^~~~~~~~~~~~~~~~~~
panda/src/ffmpeg/ffmpegVideoCursor.cxx:1201:21: error: cannot initialize object
parameter of type ‘MovieVideoCursor’ with an expression of type
‘FfmpegVideoCursor’
MovieVideoCursor::write_datagram(manager, dg);
^~~~~~~~~~~~~~
panda/src/ffmpeg/ffmpegVideoCursor.cxx:1241:10: error: cannot initialize return
object of type ‘TypedWritable *’ with an lvalue of type
‘FfmpegVideoCursor *’
return video;
^~~~~
panda/src/ffmpeg/ffmpegVideoCursor.cxx:1253:21: error: cannot initialize object
parameter of type ‘MovieVideoCursor’ with an expression of type
‘FfmpegVideoCursor’
MovieVideoCursor::fillin(scan, manager);
^~~~~~
panda/src/ffmpeg/ffmpegVideoCursor.cxx:1258:30: error: cannot initialize a
parameter of type ‘TypedWritable *’ with an rvalue of type
‘FfmpegVideoCursor *’
manager->register_finalize(this);
^~~~
built/include/bamReader.h:182:41: note: passing argument to parameter ‘whom’
here
void register_finalize(TypedWritable *whom);
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:1:
In file included from panda/src/ffmpeg/config_ffmpeg.cxx:17:
In file included from panda/src/ffmpeg/ffmpegVideo.h:20:
In file included from built/include/movieVideo.h:20:
In file included from built/include/pointerTo.h:69:
In file included from built/include/pointerToBase.h:64:
built/include/pointerToBase.I:69:7: error: cannot initialize object parameter of
type ‘const ReferenceCount’ with an expression of type ‘To’
(aka ‘FfmpegAudioCursor’)
ptr->ref();
^~~
built/include/pointerToBase.I:24:3: note: in instantiation of member function
‘PointerToBase::reassign’ requested here
reassign(ptr);
^
built/include/pointerTo.I:23:22: note: in instantiation of member function
‘PointerToBase::PointerToBase’ requested here
PointerTo(To *ptr) : PointerToBase(ptr) {
^
panda/src/ffmpeg/ffmpegAudio.cxx:50:34: note: in instantiation of member
function ‘PointerTo::PointerTo’ requested here
PT(FfmpegAudioCursor) result = new FfmpegAudioCursor(this);
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:1:
In file included from panda/src/ffmpeg/config_ffmpeg.cxx:17:
In file included from panda/src/ffmpeg/ffmpegVideo.h:20:
In file included from built/include/movieVideo.h:20:
In file included from built/include/pointerTo.h:69:
In file included from built/include/pointerToBase.h:64:
built/include/pointerToBase.I:112:5: error: no matching function for call to
‘update_type’
MemoryUsage::update_type(ptr, type);
^~~~~~~~~~~~~~~~~~~~~~~~
built/include/pointerToBase.I:72:9: note: in instantiation of member function
‘PointerToBase::update_type’ requested here
update_type(ptr);
^
built/include/pointerToBase.I:24:3: note: in instantiation of member function
‘PointerToBase::reassign’ requested here
reassign(ptr);
^
built/include/pointerTo.I:23:22: note: in instantiation of member function
‘PointerToBase::PointerToBase’ requested here
PointerTo(To *ptr) : PointerToBase(ptr) {
^
panda/src/ffmpeg/ffmpegAudio.cxx:50:34: note: in instantiation of member
function ‘PointerTo::PointerTo’ requested here
PT(FfmpegAudioCursor) result = new FfmpegAudioCursor(this);
^
built/include/memoryUsage.I:50:1: note: candidate function not viable: no known
conversion from ‘To *’ (aka ‘FfmpegAudioCursor *’) to ‘ReferenceCount *’
for 1st argument
update_type(ReferenceCount *ptr, TypeHandle type) {
^
built/include/memoryUsage.I:65:1: note: candidate function not viable: no known
conversion from ‘To *’ (aka ‘FfmpegAudioCursor *’) to ‘ReferenceCount *’
for 1st argument
update_type(ReferenceCount *ptr, TypedObject *typed_ptr) {
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:1:
In file included from panda/src/ffmpeg/config_ffmpeg.cxx:17:
In file included from panda/src/ffmpeg/ffmpegVideo.h:20:
In file included from built/include/movieVideo.h:20:
In file included from built/include/pointerTo.h:69:
In file included from built/include/pointerToBase.h:20:
In file included from built/include/referenceCount.h:167:
built/include/referenceCount.I:360:8: error: cannot initialize object parameter
of type ‘const ReferenceCount’ with an expression of type
‘FfmpegAudioCursor’
if (!ptr->unref()) {
^~~
built/include/pointerToBase.I:79:7: note: in instantiation of function template
specialization ‘unref_delete’ requested here
unref_delete(old_ptr);
^
built/include/pointerToBase.I:24:3: note: in instantiation of member function
‘PointerToBase::reassign’ requested here
reassign(ptr);
^
built/include/pointerTo.I:23:22: note: in instantiation of member function
‘PointerToBase::PointerToBase’ requested here
PointerTo(To *ptr) : PointerToBase(ptr) {
^
panda/src/ffmpeg/ffmpegAudio.cxx:50:34: note: in instantiation of member
function ‘PointerTo::PointerTo’ requested here
PT(FfmpegAudioCursor) result = new FfmpegAudioCursor(this);
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:1:
In file included from panda/src/ffmpeg/config_ffmpeg.cxx:17:
In file included from panda/src/ffmpeg/ffmpegVideo.h:20:
In file included from built/include/movieVideo.h:20:
In file included from built/include/pointerTo.h:69:
In file included from built/include/pointerToBase.h:64:
built/include/pointerToBase.I:69:7: error: cannot initialize object parameter of
type ‘const ReferenceCount’ with an expression of type ‘To’
(aka ‘FfmpegVideoCursor’)
ptr->ref();
^~~
built/include/pointerToBase.I:24:3: note: in instantiation of member function
‘PointerToBase::reassign’ requested here
reassign(ptr);
^
built/include/pointerTo.I:23:22: note: in instantiation of member function
‘PointerToBase::PointerToBase’ requested here
PointerTo(To *ptr) : PointerToBase(ptr) {
^
panda/src/ffmpeg/ffmpegVideo.cxx:69:34: note: in instantiation of member
function ‘PointerTo::PointerTo’ requested here
PT(FfmpegVideoCursor) result = new FfmpegVideoCursor(this);
^
In file included from panda/src/ffmpeg/p3ffmpeg_composite1.cxx:1:
In file included from panda/src/ffmpeg/config_ffmpeg.cxx:17:
In file included from panda/src/ffmpeg/ffmpegVideo.h:20:
In file included from built/include/movieVideo.h:20:
In file included from built/include/pointerTo.h:69:
In file included from built/include/pointerToBase.h:64:
built/include/pointerToBase.I:112:5: error: no matching function for call to
‘update_type’
MemoryUsage::update_type(ptr, type);
^~~~~~~~~~~~~~~~~~~~~~~~
built/include/pointerToBase.I:72:9: note: in instantiation of member function
‘PointerToBase::update_type’ requested here
update_type(ptr);
^
built/include/pointerToBase.I:24:3: note: in instantiation of member function
‘PointerToBase::reassign’ requested here
reassign(ptr);
^
built/include/pointerTo.I:23:22: note: in instantiation of member function
‘PointerToBase::PointerToBase’ requested here
PointerTo(To *ptr) : PointerToBase(ptr) {
^
panda/src/ffmpeg/ffmpegVideo.cxx:69:34: note: in instantiation of member
function ‘PointerTo::PointerTo’ requested here
PT(FfmpegVideoCursor) result = new FfmpegVideoCursor(this);
^
built/include/memoryUsage.I:50:1: note: candidate function not viable: no known
conversion from ‘To *’ (aka ‘FfmpegVideoCursor *’) to ‘ReferenceCount *’
for 1st argument
update_type(ReferenceCount *ptr, TypeHandle type) {
^
built/include/memoryUsage.I:65:1: note: candidate function not viable: no known
conversion from ‘To *’ (aka ‘FfmpegVideoCursor *’) to ‘ReferenceCount *’
for 1st argument
update_type(ReferenceCount *ptr, TypedObject *typed_ptr) {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
5 warnings and 20 errors generated.
Storing dependency cache.
Elapsed Time: 23 min 55 sec
The following command returned a non-zero value: g++ -ftemplate-depth-50 -fPIC -c -o built/tmp/p3ffmpeg_composite1.o -Ibuilt/tmp -Ibuilt/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/Cellar/eigen/3.2.2/include/eigen3 -Ithirdparty/darwin-libs-a/ffmpeg/include -I/usr/local/Cellar/ffmpeg/2.4.2/include -Ipanda/src/ffmpeg -Wno-deprecated-declarations -pthread -msse2 -O2 -DBUILDING_FFMPEG panda/src/ffmpeg/p3ffmpeg_composite1.cxx
Build terminated.


#46

maybe if i try with no ffmpeg


#47

[ 65%] Building C++ object built/tmp/p3daeegg_composite1.o
In file included from pandatool/src/daeegg/p3daeegg_composite1.cxx:2:
In file included from pandatool/src/daeegg/config_daeegg.cxx:16:
In file included from pandatool/src/daeegg/daeCharacter.h:19:
In file included from pandatool/src/daeegg/daeToEggConverter.h:27:
In file included from thirdparty/darwin-libs-a/fcollada/include/FCollada.h:49:
In file included from thirdparty/darwin-libs-a/fcollada/include/FUtils/FUtils.h:120:
thirdparty/darwin-libs-a/fcollada/include/FUtils/FUString.h:446:19: error:
reference to non-static member function must be called
Parent::resize(size + 1, value);
^~~~
In file included from pandatool/src/daeegg/p3daeegg_composite1.cxx:2:
In file included from pandatool/src/daeegg/config_daeegg.cxx:16:
In file included from pandatool/src/daeegg/daeCharacter.h:19:
In file included from pandatool/src/daeegg/daeToEggConverter.h:29:
In file included from thirdparty/darwin-libs-a/fcollada/include/FCDocument/FCDTransform.h:36:
In file included from thirdparty/darwin-libs-a/fcollada/include/FCDocument/FCDParameterAnimatable.h:400:
In file included from thirdparty/darwin-libs-a/fcollada/include/FCDocument/FCDParameterAnimatable.hpp:10:
thirdparty/darwin-libs-a/fcollada/include/FCDocument/FCDAnimated.h:309:45: warning:
implicit conversion of NULL constant to ‘size_t’ (aka ‘unsigned long’)
[-Wnull-conversion]
void Resize(const StringList& qualifiers = NULL, bool prependDo…
^~~~
0
In file included from pandatool/src/daeegg/p3daeegg_composite1.cxx:2:
In file included from pandatool/src/daeegg/config_daeegg.cxx:16:
In file included from pandatool/src/daeegg/daeCharacter.h:19:
In file included from pandatool/src/daeegg/daeToEggConverter.h:27:
In file included from thirdparty/darwin-libs-a/fcollada/include/FCollada.h:49:
In file included from thirdparty/darwin-libs-a/fcollada/include/FUtils/FUtils.h:120:
thirdparty/darwin-libs-a/fcollada/include/FUtils/FUString.h:59:32: error: use of
undeclared identifier ‘push_back’
if (c == NULL || (c) == 0) push_back((CH) 0);
^
this->
thirdparty/darwin-libs-a/fcollada/include/FCDocument/FCDMaterialInstance.h:141:63: note:
in instantiation of member function ‘fm::stringT::stringT’ requested
here
inline void SetSemantic(const fchar
_semantic) { semantic = _semantic; …
^
thirdparty/darwin-libs-a/fcollada/include/FMath/FMArray.h:367:15: note: must
qualify identifier to find this declaration in dependent base class
inline void push_back(const T& item) { insert(end(), item); }
^
1 warning and 2 errors generated.
Storing dependency cache.
Elapsed Time: 39 min 5 sec
The following command returned a non-zero value: g++ -ftemplate-depth-50 -fPIC -c -o built/tmp/p3daeegg_composite1.o -Ibuilt/tmp -Ibuilt/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/Cellar/eigen/3.2.2/include/eigen3 -Ithirdparty/darwin-libs-a/fcollada/include -Ipandatool/src/daeegg -Wno-deprecated-declarations -pthread -msse2 -O2 pandatool/src/daeegg/p3daeegg_composite1.cxx


#48

Those are a few errors in FCollada that need to be manually corrected, except if you don’t need dae2egg in which case you can use --no-fcollada. You’re almost there.


#49

[ 90%] Building C++ object built/tmp/pstats_composite1.o
In file included from pandatool/src/gtk-stats/gtkstats_composite1.cxx:1:
In file included from pandatool/src/gtk-stats/gtkStats.cxx:16:
pandatool/src/gtk-stats/gtkStats.h:20:10: fatal error: ‘gtk/gtk.h’ file not
found
#include <gtk/gtk.h>


#50

Install GTK (if you want PStats server), which may be more hassle than it’s worth, or just use --no-gtk2.


#51

Michaels-MacBook-Pro:panda3d-master michaelgray$ python makepanda/makepanda.py --installer --no-opencv --no-rocket --no-ffmpeg --no-fcollada --no-gtk2
WARNING: Could not locate thirdparty package gles, excluding from build
WARNING: Could not locate thirdparty package gles2, excluding from build
WARNING: Could not locate thirdparty package egl, excluding from build
Generating dependencies…
[ 90%] Building C++ object built/tmp/egg2x_eggToX.o
[ 91%] Linking executable built/bin/egg2x
clang: warning: argument unused during compilation: ‘-pthread’
[ 91%] Building C++ object built/tmp/x-trans_xFileTrans.o
[ 91%] Linking executable built/bin/x-trans
clang: warning: argument unused during compilation: ‘-pthread’
[ 91%] Building C++ object built/tmp/x2egg_xFileToEgg.o
[ 91%] Linking executable built/bin/x2egg
clang: warning: argument unused during compilation: ‘-pthread’
[ 92%] Building C++ object built/tmp/p3ai_composite1.o
contrib/src/ai/p3ai_composite1.cxx:1:10: fatal error: ‘config_ai.cxx’ file not
found
#include “config_ai.cxx”
^
1 error generated.
Storing dependency cache.
Elapsed Time: 55 sec
The following command returned a non-zero value: g++ -ftemplate-depth-50 -fPIC -c -o built/tmp/p3ai_composite1.o -Ibuilt/tmp -Ibuilt/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/Cellar/eigen/3.2.2/include/eigen3 -Icontrib/src/ai -Wno-deprecated-declarations -pthread -msse2 -O2 -DBUILDING_PANDAAI contrib/src/ai/p3ai_composite1.cxx
Build terminated.


#52

nvm fixed that


#53

[ 93%] Generating ‘pandac’ tree
Traceback (most recent call last):
File “built/direct/ffi/jGenPyCode.py”, line 74, in
from direct.ffi import DoGenPyCode
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/ffi/DoGenPyCode.py”, line 11, in
from direct.ffi import FFIConstants
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/ffi/FFIConstants.py”, line 3, in
from direct.directnotify.DirectNotifyGlobal import *
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/directnotify/DirectNotifyGlobal.py”, line 3, in
import DirectNotify
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/directnotify/DirectNotify.py”, line 5, in
import Notifier
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/directnotify/Notifier.py”, line 6, in
from direct.showbase import PythonUtil
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/showbase/PythonUtil.py”, line 62, in
from panda3d.core import ConfigVariableBool
ImportError: dlopen(/Users/michaelgray/Downloads/panda3d-master/built/panda3d/core.so, 2): Symbol not found: _rfftw_create_plan
Referenced from: /Users/michaelgray/Downloads/panda3d-master/built/lib/libpanda.1.9.dylib
Expected in: flat namespace
in /Users/michaelgray/Downloads/panda3d-master/built/lib/libpanda.1.9.dylib
Storing dependency cache.
Elapsed Time: 42 sec
The following command returned a non-zero value: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -B built/direct/ffi/jGenPyCode.py -r panda3d.core panda3d.physics panda3d.fx panda3d.direct panda3d.vision panda3d.skel panda3d.egg panda3d.ode panda3d.vrpn


#54

–no-fftw


#55

ok
ugh then it starts over :frowning:


#56

Traceback (most recent call last):
File “built/direct/ffi/jGenPyCode.py”, line 94, in
DoGenPyCode.run()
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/ffi/DoGenPyCode.py”, line 328, in run
generateNativeWrappers()
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/ffi/DoGenPyCode.py”, line 260, in generateNativeWrappers
import(moduleName)
ImportError: dlopen(/Users/michaelgray/Downloads/panda3d-master/built/panda3d/ode.so, 2): Symbol not found: _dAreConnected
Referenced from: /Users/michaelgray/Downloads/panda3d-master/built/lib/libpandaode.1.9.dylib
Expected in: flat namespace


#57

ODE library isn’t being linked properly, or doesn’t have the right symbol. If you don’t strictly need ode, you can disable it using --no-ode (sorry, that will cause a rebuild), otherwise you’ll have to dig a bit to find out why that symbol is not being exposed. (Likely due to a mismatching architecture thirdparty package or something.)


#58

[ 93%] Generating ‘pandac’ tree
Importing code library: panda3d.core
Found extensions for class: NodePath
Found extensions for class: Mat3
Found extensions for class: HTTPChannel
Found extensions for class: VBase3
Found extensions for class: VBase4
Importing code library: panda3d.physics
Importing code library: panda3d.fx
Importing code library: panda3d.direct
Found extensions for class: CInterval
Importing code library: panda3d.vision
Importing code library: panda3d.skel
Importing code library: panda3d.egg
Importing code library: panda3d.ode
Traceback (most recent call last):
File “built/direct/ffi/jGenPyCode.py”, line 94, in
DoGenPyCode.run()
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/ffi/DoGenPyCode.py”, line 328, in run
generateNativeWrappers()
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/ffi/DoGenPyCode.py”, line 260, in generateNativeWrappers
import(moduleName)
ImportError: dlopen(/Users/michaelgray/Downloads/panda3d-master/built/panda3d/ode.so, 2): Symbol not found: _dAreConnected
Referenced from: /Users/michaelgray/Downloads/panda3d-master/built/lib/libpandaode.1.9.dylib
Expected in: flat namespace
in /Users/michaelgray/Downloads/panda3d-master/built/lib/libpandaode.1.9.dylib
Storing dependency cache.
Elapsed Time: 19 hours 43 min
The following command returned a non-zero value: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -B built/direct/ffi/jGenPyCode.py -r panda3d.core panda3d.physics panda3d.fx panda3d.direct panda3d.vision panda3d.skel panda3d.egg panda3d.ode panda3d.vrpn


#59

oh nvm it is same error


#60

python makepanda/makepanda.py --installer --no-opencv --no-rocket --no-ffmpeg --no-fcollada --no-gtk2 --no-fftw --no-ode
WARNING: Could not locate thirdparty package gles, excluding from build
WARNING: Could not locate thirdparty package gles2, excluding from build
WARNING: Could not locate thirdparty package egl, excluding from build
Generating dependencies…
[ 93%] Generating ‘pandac’ tree
Importing code library: panda3d.core
Found extensions for class: NodePath
Found extensions for class: Mat3
Found extensions for class: HTTPChannel
Found extensions for class: VBase3
Found extensions for class: VBase4
Importing code library: panda3d.physics
Importing code library: panda3d.fx
Importing code library: panda3d.direct
Found extensions for class: CInterval
Importing code library: panda3d.vision
Importing code library: panda3d.skel
Importing code library: panda3d.egg
Importing code library: panda3d.vrpn
Traceback (most recent call last):
File “built/direct/ffi/jGenPyCode.py”, line 94, in
DoGenPyCode.run()
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/ffi/DoGenPyCode.py”, line 328, in run
generateNativeWrappers()
File “/Users/michaelgray/Downloads/panda3d-master/built/direct/ffi/DoGenPyCode.py”, line 260, in generateNativeWrappers
import(moduleName)
ImportError: dlopen(/Users/michaelgray/Downloads/panda3d-master/built/panda3d/vrpn.so, 2): Symbol not found: _Z27vrpn_get_connection_by_namePKcS0_S0_S0_S0_S0
Referenced from: /Users/michaelgray/Downloads/panda3d-master/built/lib/libp3vrpn.1.9.dylib
Expected in: flat namespace
in /Users/michaelgray/Downloads/panda3d-master/built/lib/libp3vrpn.1.9.dylib
Storing dependency cache.
Elapsed Time: 24 sec
The following command returned a non-zero value: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -B built/direct/ffi/jGenPyCode.py -r panda3d.core panda3d.physics panda3d.fx panda3d.direct panda3d.vision panda3d.skel panda3d.egg panda3d.vrpn
Build terminated.