Giter Club home page Giter Club logo

src's People

Contributors

dissonancepm avatar jwcotejr avatar loblao avatar mfwass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

src's Issues

building for mac does not work!

Undefined symbols for architecture x86_64:
"_CRYPTO_THREADID_set_callback", referenced from:
__setup_ssl_threads in libpythonembed.a(_ssl.c.o)
"_CRYPTO_THREADID_set_numeric", referenced from:
__ssl_threadid_callback in libpythonembed.a(_ssl.c.o)
"_HMAC_CTX_copy", referenced from:
_PKCS5_PBKDF2_HMAC_fast in libpythonembed.a(_hashopenssl.c.o)
"_SSL_CTX_set_next_proto_select_cb", referenced from:
__set_npn_protocols in libpythonembed.a(_ssl.c.o)
"_SSL_CTX_set_next_protos_advertised_cb", referenced from:
__set_npn_protocols in libpythonembed.a(_ssl.c.o)
"_SSL_get0_next_proto_negotiated", referenced from:
_PySSL_selected_npn_protocol in libpythonembed.a(_ssl.c.o)
"_SSL_select_next_proto", referenced from:
__selectNPN_cb in libpythonembed.a(_ssl.c.o)
"_TLSv1_1_method", referenced from:
_context_new in libpythonembed.a(_ssl.c.o)
"_TLSv1_2_method", referenced from:
_context_new in libpythonembed.a(_ssl.c.o)
"init_libmovies()", referenced from:
_main in main.o
"init_libpandadna()", referenced from:
niraicall_onLoadGameData() in empire.o
"init_libOpenALAudio()", referenced from:
load_openal() in main.o
__GLOBAL__sub_I_main.cxx in main.o
"init_libcocoadisplay()", referenced from:
main in main.o
"init_libpnmimagetypes()", referenced from:
main in main.o
"Create_OpenALAudioManager()", referenced from:
load_openal() in main.o
__GLOBAL__sub_I_main.cxx in main.o
"TypedObject::~TypedObject()", referenced from:
niraicall_onLoadGameData() in empire.o
"AudioManager::register_AudioManager_creator(AudioManager* (
)())", referenced from:
load_openal() in main.o
GLOBAL__sub_I_main.cxx in main.o
"DatagramIterator::get_string()", referenced from:
niraicall_onLoadGameData() in empire.o
"DatagramIterator::extract_bytes(unsigned long)", referenced from:
niraicall_onLoadGameData() in empire.o
"Notify::assert_failure(char const
, int, char const
)", referenced from:
niraicall_onLoadGameData() in empire.o
"Notify::ptr()", referenced from:
niraicall_onLoadGameData() in empire.o
"Datagram::append_data(void const
, unsigned long)", referenced from:
niraicall_onLoadGameData() in empire.o
"Datagram::~Datagram()", referenced from:
niraicall_onLoadGameData() in empire.o
"vtable for Datagram", referenced from:
niraicall_onLoadGameData() in empire.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"_init_core", referenced from:
_main in main.o
"_init_direct", referenced from:
_main in main.o
"_init_subprocess", referenced from:
__PyImport_Inittab in libpythonembed.a(config.c.o)
"_initegg", referenced from:
_main in main.o
"_initfx", referenced from:
_main in main.o
"_initinterrogatedb", referenced from:
_main in main.o
"_initlibpandadna", referenced from:
niraicall_onLoadGameData() in empire.o
"_initnt", referenced from:
__PyImport_Inittab in libpythonembed.a(config.c.o)
"_initode", referenced from:
_main in main.o
"_initphysics", referenced from:
_main in main.o
"_uchar_type_handle", referenced from:
niraicall_onLoadGameData() in empire.o
ld: symbol(s) not found for architecture x86_64

Segmentation Fault 11

I don't know much about this type of error. I think it has something to do with memory or something allocated by the OS being exceeded. Is there any way I can stop this? The segfault occurs when loading DNA files with libpandadna, so the issue might actually be with libpandadna but I don't know.

Error when compiling Miles

I know Miles isn't supported. I built Miles Sound System successfully on a non-static Panda3D. I tried to use the Panda3D here. When I build the sample project with Miles i get this (I am using Visual Studio 2010 CMD and Windows 10 x64):

C:\Users\Nicolas\Desktop\Nirai\sample-project\build>python -OO make.py -cnm �[35mCompiling CXX codes...�[0m main.cxx sample.cxx aes.cxx Linking... Creating library built/sample.lib and object built/sample.exp libp3miles_audio.lib(miles_audio_miles_audio_composite1.obj) : error LNK2001: unresolved external symbol __imp__midiOutReset@4 built/sample.exe : fatal error LNK1120: 1 unresolved externals

Thanks.

python makefile building error

[ 87%] Building C object CMakeFiles/pythonembed.dir/Modules/_json.c.o
[ 87%] Building C object CMakeFiles/pythonembed.dir/Modules/_localemodule.c.o
[ 88%] Building C object CMakeFiles/pythonembed.dir/Modules/_lsprof.c.o
[ 89%] Building C object CMakeFiles/pythonembed.dir/Modules/_math.c.o
[ 89%] Building C object CMakeFiles/pythonembed.dir/Modules/_randommodule.c.o
[ 90%] Building C object CMakeFiles/pythonembed.dir/Modules/_sre.c.o
[ 90%] Building C object CMakeFiles/pythonembed.dir/Modules/_ssl.c.o
In file included from /Users/mgracer48/Desktop/Toontown-Empire/Toontown Empire/src/build/nirai/python/Modules/_ssl.c:61:
In file included from /Users/mgracer48/Desktop/Toontown-Empire/Toontown Empire/src/build/nirai/python/../panda3d/thirdparty/win-libs-vc10/openssl/include/openssl/ssl.h:1361:
/Users/mgracer48/Desktop/Toontown-Empire/Toontown Empire/src/build/nirai/python/../panda3d/thirdparty/win-libs-vc10/openssl/include/openssl/dtls1.h:71:10: fatal error:
'winsock.h' file not found

include <winsock.h>

     ^

Compiling on macOS 10.11

Compiling CXX codes...
Compiling... /Users/gabrielfraser/Documents/Toontown Standard/Nirai/src/main.cxx
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/src/main.cxx:3:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipeSelection.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipe.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsDevice.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typedReferenceCount.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typedObject.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typeHandle.h:144:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typeRegistry.h:18:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexImpl.h:42:
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexPosixImpl.h:35:46: warning: deleted function definitions
      are a C++11 extension [-Wc++11-extensions]
  MutexPosixImpl(const MutexPosixImpl &copy) DELETED;
                                             ^
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/dtoolbase_cc.h:177:24: note: expanded from macro 'DELETED'
#     define DELETED = delete
                       ^
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/src/main.cxx:3:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipeSelection.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipe.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsDevice.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typedReferenceCount.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typedObject.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typeHandle.h:144:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typeRegistry.h:18:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexImpl.h:42:
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexPosixImpl.h:36:59: warning: deleted function definitions
      are a C++11 extension [-Wc++11-extensions]
  MutexPosixImpl &operator = (const MutexPosixImpl &copy) DELETED_ASSIGN;
                                                          ^
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/dtoolbase_cc.h:259:26: note: expanded from macro
      'DELETED_ASSIGN'
#  define DELETED_ASSIGN DELETED
                         ^
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/dtoolbase_cc.h:177:24: note: expanded from macro 'DELETED'
#     define DELETED = delete
                       ^
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/src/main.cxx:3:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipeSelection.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipe.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsDevice.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typedReferenceCount.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typedObject.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typeHandle.h:144:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typeRegistry.h:18:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexImpl.h:42:
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexPosixImpl.h:63:50: warning: deleted function definitions
      are a C++11 extension [-Wc++11-extensions]
  ReMutexPosixImpl(const ReMutexPosixImpl &copy) DELETED;
                                                 ^
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/dtoolbase_cc.h:177:24: note: expanded from macro 'DELETED'
#     define DELETED = delete
                       ^
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/src/main.cxx:3:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipeSelection.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipe.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsDevice.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typedReferenceCount.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typedObject.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typeHandle.h:144:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typeRegistry.h:18:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexImpl.h:42:
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexPosixImpl.h:64:63: warning: deleted function definitions
      are a C++11 extension [-Wc++11-extensions]
  ReMutexPosixImpl &operator = (const ReMutexPosixImpl &copy) DELETED;
                                                              ^
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/dtoolbase_cc.h:177:24: note: expanded from macro 'DELETED'
#     define DELETED = delete
                       ^
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/src/main.cxx:3:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipeSelection.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipe.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsDevice.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typedReferenceCount.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typedObject.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typeHandle.h:144:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/typeRegistry.h:18:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexImpl.h:42:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexPosixImpl.h:77:
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/mutexPosixImpl.I:18:35: error: expected expression
MutexPosixImpl() NOEXCEPT : _lock(PTHREAD_MUTEX_INITIALIZER) {
                                  ^
/usr/include/pthread.h:179:35: note: expanded from macro 'PTHREAD_MUTEX_INITIALIZER'
#define PTHREAD_MUTEX_INITIALIZER {_PTHREAD_MUTEX_SIG_init, {0}}
                                  ^
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/src/main.cxx:3:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipeSelection.h:19:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipe.h:21:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/pointerTo.h:61:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/pointerToBase.h:18:
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/pointerToVoid.h:39:44: warning: deleted function definitions are
      a C++11 extension [-Wc++11-extensions]
  PointerToVoid(const PointerToVoid &copy) DELETED;
                                           ^
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/dtoolbase_cc.h:177:24: note: expanded from macro 'DELETED'
#     define DELETED = delete
                       ^
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/src/main.cxx:3:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipeSelection.h:19:
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipe.h:56:42: warning: deleted function definitions are
      a C++11 extension [-Wc++11-extensions]
  GraphicsPipe(const GraphicsPipe &copy) DELETED;
                                         ^
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/dtoolbase_cc.h:177:24: note: expanded from macro 'DELETED'
#     define DELETED = delete
                       ^
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/src/main.cxx:3:
In file included from /Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipeSelection.h:19:
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/graphicsPipe.h:57:55: warning: deleted function definitions are
      a C++11 extension [-Wc++11-extensions]
  GraphicsPipe &operator = (const GraphicsPipe &copy) DELETED_ASSIGN;
                                                      ^
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/dtoolbase_cc.h:259:26: note: expanded from macro
      'DELETED_ASSIGN'
#  define DELETED_ASSIGN DELETED
                         ^
/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include/dtoolbase_cc.h:177:24: note: expanded from macro 'DELETED'
#     define DELETED = delete
                       ^
7 warnings and 1 error generated.
The following command returned non-zero value (1): g++ -c -DPy_BUILD_CORE -DLINK_ALL_STATIC -ftemplate-depth-70 -fPIC -O2 -Wno-deprecated-declarations -pthread -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/thirdparty/darwin-libs-a/jpeg/include" -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/src" -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/thirdparty/darwin-libs-a/openssl/include" -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/thirdparty/darwin-libs-a/freetype/include" -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/thirdparty/darwin-libs-a/tiff/include" -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/built/include" -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/python/Include" -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/thirdparty/darwin-libs-a/ode/include" -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/thirdparty/darwin-libs-a/vorbis/include" -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/thirdparty/darwin-libs-a/png/include" -I"/Users/gabrielfraser/Documents/Toontown Standard/Nirai/panda3d/thirdparty/darwin-libs-a/squish/include" -o "built/main.o" "/Users/gabrielfraser/Documents/Toontown Standard/Nirai/src/main.cxx"

Error output from using ppython -OO make.py -cnm

Assertion Error

I'm trying to use the Nirai folder found in Toontown Stride's src to compile my Toontown server for my friends (so they don't have to deal with so many folders). When running make.py in VS 2010 command prompt, I keep running into this error. I'm little confused what it means by run with -OO.

C:\Private Server\ToontownStride-master\build>python make.py
Traceback (most recent call last):
  File "make.py", line 9, in <module>
    from niraitools import *
  File "nirai/src\niraitools.py", line 1, in <module>
    assert not **debug** # Run with -OO
AssertionError

Fatal Error

Figured out silly mistake I made earlier, but I ran into this error while compiling my toontown server. By any chance are you aware of what's causing this fatal error?

C:\Private Server\ToontownStride-master\build>python -OO make.py -cnm
Compiling CXX codes...
main.cxx
aes.cxx
stride.cxx
Linking...
LINK : fatal error LNK1181: cannot open input file 'pythonembed.lib'
The following command returned non-zero value (1181): link /LTCG /LTCG:STATUS /nologo /out:built/stride.exe "built/aes.obj" "built/main.obj" "built/stride...

Cannot open include file: 'openssl/conf.h': No file or directory.

Hi, I'm trying to compile my Toontown server, and I am (now) getting this error:
C:\ttrbRECODE2\build>C:\Panda3D-1.9.0\python\ppython.exe make.py -c Warning: pandac.PandaModules is deprecated, import from panda3d.core instead Compiling CXX codes... aes.cxx C:\ttrbRECODE2\build\nirai\src\aes.cxx(3) : fatal error C1083: Cannot open include file: 'openssl/conf.h': No such file or directory The following command returned non-zero value (2): cl /c /GF /MP4 /DPy_BUILD_CORE /DNTDDI_VERSION=0x0501 /wd4996 /wd4275 /wd4267 /wd4101 /wd4273 /nolog...
So I went and got the openssl stuff from their github and errors started spewing out and I thought "This can't be the one for Nirai!". What are Nirai's prerequisites?

The cursor and icon

I understand it may not seem like a Nirai issue, but, when I test the client decompiled before I compile it with Nirai everything with the icon and cursor works fine. As I set all of the config files up correctly, I dont seem to know what would go wrong in the compiling of the client that doesn't allow them to work compiled.

unresolved externals

Hi. I'm trying to use Nirai, but I'm having trouble linking when I compile the cxx file. It keeps spewing "unresolved external symbol". I have compiled Panda3D, ran postbuild, ran aespyd with the VS2010 command prompt, and cmade python with VS2013, cmake gui version 3.5.0-rc2, and only now, it is failing. Here's the output:

Compiling CXX codes... aes.cxx rebuilt.cxx main.cxx Linking... Creating library built/rebuilt.lib and object built/rebuilt.exp main.obj : error LNK2001: unresolved external symbol _init_direct main.obj : error LNK2001: unresolved external symbol _init_core pythonembed.lib(tokenizer.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure pythonembed.lib(marshal.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure pythonembed.lib(getpath.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure pythonembed.lib(posixmodule.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure pythonembed.lib(unicodedata.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure pythonembed.lib(typeobject.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure pythonembed.lib(traceback.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure pythonembed.lib(longobject.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure pythonembed.lib(floatobject.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure pythonembed.lib(_math.obj) : error LNK2001: unresolved external symbol __libm_sse2_log_precise pythonembed.lib(longobject.obj) : error LNK2001: unresolved external symbol __libm_sse2_log_precise pythonembed.lib(complexobject.obj) : error LNK2001: unresolved external symbol __libm_sse2_log_precise pythonembed.lib(cmathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_log_precise pythonembed.lib(mathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_log_precise pythonembed.lib(floatobject.obj) : error LNK2001: unresolved external symbol __imp__round pythonembed.lib(mathmodule.obj) : error LNK2001: unresolved external symbol __imp__round pythonembed.lib(floatobject.obj) : error LNK2001: unresolved external symbol __dtoui3 pythonembed.lib(dtoa.obj) : error LNK2001: unresolved external symbol __dtoui3 pythonembed.lib(audioop.obj) : error LNK2001: unresolved external symbol __dtoui3 pythonembed.lib(timemodule.obj) : error LNK2001: unresolved external symbol __dtoui3 pythonembed.lib(floatobject.obj) : error LNK2001: unresolved external symbol __libm_sse2_pow_precise pythonembed.lib(complexobject.obj) : error LNK2001: unresolved external symbol __libm_sse2_pow_precise pythonembed.lib(mathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_pow_precise pythonembed.lib(complexobject.obj) : error LNK2001: unresolved external symbol __libm_sse2_cos_precise pythonembed.lib(cmathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_cos_precise pythonembed.lib(mathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_cos_precise pythonembed.lib(complexobject.obj) : error LNK2001: unresolved external symbol __libm_sse2_exp_precise pythonembed.lib(cmathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_exp_precise pythonembed.lib(mathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_exp_precise pythonembed.lib(_math.obj) : error LNK2001: unresolved external symbol __libm_sse2_exp_precise pythonembed.lib(complexobject.obj) : error LNK2001: unresolved external symbol __libm_sse2_sin_precise pythonembed.lib(cmathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_sin_precise pythonembed.lib(mathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_sin_precise pythonembed.lib(_lsprof.obj) : error LNK2001: unresolved external symbol __ltod3 pythonembed.lib(posixmodule.obj) : error LNK2001: unresolved external symbol __ltod3 pythonembed.lib(timemodule.obj) : error LNK2001: unresolved external symbol __ltod3 pythonembed.lib(xxsubtype.obj) : error LNK2001: unresolved external symbol __ltod3 pythonembed.lib(datetimemodule.obj) : error LNK2001: unresolved external symbol __ltod3 pythonembed.lib(audioop.obj) : error LNK2001: unresolved external symbol __libm_sse2_sqrt_precise pythonembed.lib(cmathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_sqrt_precise pythonembed.lib(_math.obj) : error LNK2001: unresolved external symbol __libm_sse2_sqrt_precise pythonembed.lib(cmathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_tan_precise pythonembed.lib(mathmodule.obj) : error LNK2001: unresolved external symbol __libm_sse2_log10_precise pythonembed.lib(timemodule.obj) : error LNK2001: unresolved external symbol __dtol3 pythonembed.lib(_lsprof.obj) : error LNK2001: unresolved external symbol __dtol3 built/rebuilt.exe : fatal error LNK1120: 15 unresolved externals The following command returned non-zero value (1120): link /LTCG /LTCG:STATUS /nologo /out:built/rebuilt.exe "built/aes.obj" "built/main.obj" "built/rebui...
I hope you can help me!

Error while building python

Hello, I was building the python included with Nirai and i have this issue. Im using visual studio 14 2015

Build FAILED.

"C:\Users\Nicolas\Desktop\Nirai\python\build\ALL_BUILD.vcxproj" (default target
) (1) ->
"C:\Users\Nicolas\Desktop\Nirai\python\build\pythonembed.vcxproj" (default targ
et) (3) ->
(ClCompile target) ->
C:\Users\Nicolas\Desktop\Nirai\python\Modules\timemodule.c(713): error C2065:
'timezone': undeclared identifier [C:\Users\Nicolas\Desktop\Nirai\python\build
\pythonembed.vcxproj]
C:\Users\Nicolas\Desktop\Nirai\python\Modules\timemodule.c(721): error C2065:
'timezone': undeclared identifier [C:\Users\Nicolas\Desktop\Nirai\python\build
\pythonembed.vcxproj]
C:\Users\Nicolas\Desktop\Nirai\python\Modules\timemodule.c(724): error C2065:
'daylight': undeclared identifier [C:\Users\Nicolas\Desktop\Nirai\python\build
\pythonembed.vcxproj]
C:\Users\Nicolas\Desktop\Nirai\python\Modules\timemodule.c(726): error C2065:
'tzname': undeclared identifier [C:\Users\Nicolas\Desktop\Nirai\python\build\p
ythonembed.vcxproj]
C:\Users\Nicolas\Desktop\Nirai\python\Modules\timemodule.c(726): error C2109:
subscript requires array or pointer type [C:\Users\Nicolas\Desktop\Nirai\pytho
n\build\pythonembed.vcxproj]

Errors when linking libpandadna to exectuable

Hi, I'm not sure if this is nirai or libpandadna issue, but I posted it here because I thought it belongs in nirai issues, not libpandadna issues. Anyway, I can link it fine, but the executable doesn't like it.

:interrogatedb(error): Attempt to use type ostream which has not yet been defined!
:interrogatedb(error): Attempt to use type Filename which has not yet been defined!
:interrogatedb(error): Attempt to use type Datagram which has not yet been defined!
:interrogatedb(error): Attempt to use type Texture which has not yet been defined!
:interrogatedb(error): Attempt to use type NodePath which has not yet been defined!
:interrogatedb(error): Attempt to use type TextFont which has not yet been defined!
:interrogatedb(error): Attempt to use type TypedObject which has not yet been defined!
:interrogatedb(error): Attempt to use type ostream which has not yet been defined!
:interrogatedb(error): Attempt to use type TypeHandle which has not yet been defined!
:interrogatedb(error): Attempt to use type Datagram which has not yet been defined!
:interrogatedb(error): Attempt to use type LVecBase3f which has not yet been defined!
:interrogatedb(error): Attempt to use type LVecBase4f which has not yet been defined!
:interrogatedb(error): Attempt to use type LPoint3f which has not yet been defined!
:interrogatedb(error): Attempt to use type NodePath which has not yet been defined!
:interrogatedb(error): Attempt to use type TypeHandle which has not yet been defined!
:interrogatedb(error): Attempt to use type TypedObject which has not yet been defined!
:interrogatedb(error): Attempt to use type LPoint3f which has not yet been defined!
Fatal Python error: PyThreadState_Get: no current thread

Any ideas?

Python 3

I imagine this has already been brought up, but Python 2's End-Of-Life is January 2020 and will no longer receive security updates https://pythonclock.org.

I believe it is an important step to ensure compatibility with python 3 going forward.

Error when building Panda3D on Mac

Hi. I'm trying to compile Nirai's Panda3D on Mac OS X Yosemite, but I can't due to some error with OpenSSL. I don't think it is installed, so if this is causing the problem, can someone point me in the right direction so I can download it? (I'd assume it's simple, but I know nothing about Macs. Got this one recently)
Here's my build log:

[name removed]-MBP:panda3d [name removed]$ sh compile.sh
Version: 1.10.0
Using Python 2.7
Target arch: x86_64
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package openexr, excluding from build
Generating dependencies...
[ 13%] Building Interrogate database built/pandac/input/libp3express.in
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /Users/[name removed]/ToontownRebuiltSource/build/nirai/panda3d/prebuilt/lib/libp3dtoolconfig.1.10.dylib
  Reason: image not found
Storing dependency cache.
Elapsed Time: 10 sec
The following command returned a non-zero value: prebuilt/darwin/interrogate -srcdir panda/src/express -Ipanda/src/express -DCPPPARSER -D__STDC__=1 -D__cplusplus=201103L -D__attribute__\(x\)= -D_LP64 -D__APPLE__ -oc built/tmp/libp3express_igate.cxx -od built/pandac/input/libp3express.in -fnames -string -refcount -assert -python-native -Sbuilt/include/parser-inc -Ipanda/src/express -Sbuilt/tmp -Sbuilt/include -S/System/Library/Frameworks/Python.framework/Versions/2.7/Headers -DLINK_ALL_STATIC= -module panda3d.core -library libp3express buffer.h checksumHashGenerator.h circBuffer.h compress_string.h config_express.h copy_stream.h datagram.h datagramGenerator.h datagramIterator.h datagramSink.h dcast.h encrypt_string.h error_utils.h export_dtool.h fileReference.h filename_ext.h globPattern_ext.h hashGeneratorBase.h hashVal.h indirectLess.h memoryInfo.h memoryUsage.h memoryUsagePointerCounts.h memoryUsagePointers.h memoryUsagePointers_ext.h multifile.h namable.h nodePointerTo.h nodePointerToBase.h nodeReferenceCount.h openSSLWrapper.h ordered_vector.h p3express_composite1.cxx p3express_composite2.cxx p3express_ext_composite.cxx pStatCollectorForwardBase.h password_hash.h patchfile.h pointerTo.h pointerToArray.h pointerToArrayBase.h pointerToArray_ext.h pointerToBase.h pointerToVoid.h profileTimer.h pta_double.h pta_float.h pta_int.h pta_stdfloat.h pta_uchar.h ramfile.h ramfile_ext.h referenceCount.h streamReader_ext.h streamWriter_ext.h subStream.h subStreamBuf.h subfileInfo.h temporaryFile.h threadSafePointerTo.h threadSafePointerToBase.h trueClock.h typeHandle_ext.h typedReferenceCount.h typedef.h vector_double.h vector_float.h vector_stdfloat.h vector_uchar.h virtualFile.h virtualFileComposite.h virtualFileList.h virtualFileMount.h virtualFileMountAndroidAsset.h virtualFileMountMultifile.h virtualFileMountRamdisk.h virtualFileMountSystem.h virtualFileSimple.h virtualFileSystem.h virtualFileSystem_ext.h virtualFile_ext.h weakPointerCallback.h weakPointerTo.h weakPointerToBase.h weakPointerToVoid.h weakReferenceList.h windowsRegistry.h zStream.h zStreamBuf.h
Build terminated.

Any and all help is appreciated, thanks!

symbol(s) not found for architecture x86_64

Hi. Trying to compile my game on OS X Yosemite 10.10, and I'm getting this error with pythonembed.

Thomass-MacBook-Pro:build thomas$ ppython -OO make.py -c
Compiling CXX codes...
Compiling... src/rebuilt.cxx
Compiling... /Users/thomas/ToontownRebuiltSource/build/nirai/src/main.cxx
Compiling... /Users/thomas/ToontownRebuiltSource/build/nirai/src/aes.cxx
Linking...
Undefined symbols for architecture x86_64:
  "_init_subprocess", referenced from:
      __PyImport_Inittab in libpythonembed.a(config.o)
  "_initnt", referenced from:
      __PyImport_Inittab in libpythonembed.a(config.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The following command returned non-zero value (1): g++ -o built/rebuilt -L"/Users/thomas/ToontownRebuiltSource/build/nirai/python" -L"/Users/thomas/ToontownRebuiltSource/build/nirai/panda3d/thirdparty/darwin-libs-a/vorbis/lib" -L"/Users/thomas/ToontownRebuiltSource/build/nirai/panda3d/thirdparty/darwin-libs-a/freetype/lib" -L"/Users/thomas/ToontownRebuiltSource/build/nirai/panda3d/thirdparty/darwin-libs-a/squish/lib" -L"/Users/thomas/ToontownRebuiltSource/build/nirai/panda3d/thirdparty/darwin-libs-a/tiff/lib" -L"/Users/thomas/ToontownRebuiltSource/build/nirai/panda3d/thirdparty/darwin-libs-a/png/lib" -L"/Users/thomas/ToontownRebuiltSource/build/nirai/panda3d/thirdparty/darwin-libs-a/openssl/lib" -L"/Users/thomas/ToontownRebuiltSource/build/nirai/panda3d/built/lib" -L"/Users/thomas/ToontownRebuiltSource/build/nirai/panda3d/thirdparty/darwin-libs-a/jpeg/lib" -L"/Users/thomas/ToontownRebuiltSource/build/nirai/panda3d/thirdparty/darwin-libs-a/ode/lib" -F"/Users/thomas/ToontownRebuiltSource/build/nirai/panda3d/built/Frameworks" -framework AGL -framework OpenGL -framework Cg -framework Cocoa -framework OpenAL -framework Carbon -framework AppKit -lp3direct -lpandatiffxx -ljpeg -lpanda -lp3framework -lp3tinydisplay -lvorbisenc -lp3dtoolconfig -lsquish -l_panda3d_fx -lpng -lvorbis -lpythonembed -lvorbisfile -lpandaphysics -lode -logg -lp3interrogatedb -l_panda3d_core -lpandagl -lpandafx -l_panda3d_physics -l_panda3d_interrogatedb -lpandaode -lcrypto -lp3dtool -l_panda3d_ode -l_panda3d_direct -lssl -lpandaexpress -lpandaegg -l_panda3d_egg -lpandatiff -lz -lfreetype -lp3openal_audio "libpandadna/DNASuitPoint.o" "libpandadna/DNAFlatBuilding.o" "built/rebuilt.o" "libpandadna/DNAProp.o" "libpandadna/DNALandmarkBuilding.o" "libpandadna/DNACornice.o" "libpandadna/libpandadna_module.o" "libpandadna/suit_igate.o" "libpandadna/DNASign.o" "libpandadna/DNADoor.o" "libpandadna/DNAVisGroup.o" "libpandadna/components_igate.o" "libpandadna/SuitLegList.o" "libpandadna/DNASuitPath.o" "libpandadna/config_dna.o" "built/main.o" "libpandadna/DNABattleCell.o" "built/aes.o" "libpandadna/DNANode.o" "libpandadna/DNASignBaseline.o" "libpandadna/SuitLeg.o" "libpandadna/DNASuitEdge.o" "libpandadna/DNASignGraphic.o" "libpandadna/DNAStorage.o" "libpandadna/DNAStreet.o" "libpandadna/DNAWall.o" "libpandadna/DNAAnimProp.o" "libpandadna/DNAGroup.o" "libpandadna/base_igate.o" "libpandadna/DNAFlatDoor.o" "libpandadna/DNAWindows.o" "libpandadna/DNALoader.o" "libpandadna/DNAInteractiveProp.o" "libpandadna/DNAAnimBuilding.o" -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib

How do I fix this?

panda3d error on mac

clang: warning: argument unused during compilation: '-pthread'
[ 89%] Copying file built/models/misc/Dirlight.egg
[ 89%] Copying file built/models/misc/Pointlight.egg
[ 90%] Copying file built/models/misc/Spotlight.egg
[ 90%] Converting built/models/misc/camera.egg

Storing dependency cache.
Elapsed Time: 9 min 33 sec
The following command returned a non-zero value: flt2egg -ps keep -o built/models/misc/camera.egg dmodels/src/misc/camera.flt

(macos) Error when trying to use json: no codec search functions registered: can't find encoding

I'm not the best with wording things, but here goes:

When I try to use json in Nirai, specifically the decode module of json, I get this traceback.

Traceback (most recent call last):
  File "NiraiStart", line 58, in <module>
  File "toontown.toonbase.ClientStart", line 100, in <module>
  File "otp.settings.Settings", line 2, in <module>
  File "json", line 108, in <module>
  File "json.decoder", line 24, in <module>
  File "json.decoder", line 18, in _floatconstants
LookupError: no codec search functions registered: can't find encoding

Line 18 of json.decoder is this:

_BYTES = '7FF80000000000007FF0000000000000'.decode('hex')

And that makes me believe this is a Nirai issue because it's something as simple as .decode(). But let's not lay blame on eachother :p.

Is there anything I can do to fix this?

building on windows doesnt work

aes.cxx
Linking...
pythonembed.lib(import.obj) : error LNK2005: _PyImport_GetModuleDict already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(sysmodule.obj) : error LNK2005: _PySys_GetObject already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pythonrun.obj) : error LNK2005: _Py_IsInitialized already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pythonrun.obj) : error LNK2005: _Py_Initialize already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pythonrun.obj) : error LNK2005: _PyErr_Print already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(typeobject.obj) : error LNK2005: _PyType_GenericAlloc already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(typeobject.obj) : error LNK2005: _PyType_IsSubtype already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(typeobject.obj) : error LNK2005: _PyType_Ready already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(obmalloc.obj) : error LNK2005: _PyObject_Free already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(obmalloc.obj) : error LNK2005: __PyObject_DebugFree already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(dictobject.obj) : error LNK2005: _PyDict_Type already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(dictobject.obj) : error LNK2005: _PyDict_New already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(dictobject.obj) : error LNK2005: _PyDict_GetItem already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(dictobject.obj) : error LNK2005: _PyDict_SetItem already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(dictobject.obj) : error LNK2005: _PyDict_DelItem already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(dictobject.obj) : error LNK2005: _PyDict_Size already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(dictobject.obj) : error LNK2005: _PyDict_GetItemString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(dictobject.obj) : error LNK2005: _PyDict_SetItemString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(dictobject.obj) : error LNK2005: _PyDict_DelItemString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_Exception already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_StandardError already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_TypeError already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_StopIteration already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_SystemExit already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_RuntimeError already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_AttributeError already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_IndexError already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_ValueError already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_AssertionError already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_BufferError already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(exceptions.obj) : error LNK2005: _PyExc_FutureWarning already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(ceval.obj) : error LNK2005: _PyEval_InitThreads already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(ceval.obj) : error LNK2005: _PyEval_SaveThread already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(ceval.obj) : error LNK2005: _PyEval_RestoreThread already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(ceval.obj) : error LNK2005: _PyEval_CallObjectWithKeywords already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(listobject.obj) : error LNK2005: _PyList_Type already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(listobject.obj) : error LNK2005: _PyList_New already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(listobject.obj) : error LNK2005: _PyList_GetItem already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(listobject.obj) : error LNK2005: _PyList_SetItem already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(listobject.obj) : error LNK2005: _PyList_Append already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(listobject.obj) : error LNK2005: _PyList_AsTuple already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(unicodeobject.obj) : error LNK2005: _PyUnicode_Type already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(unicodeobject.obj) : error LNK2005: _PyUnicodeUCS2_FromStringAndSize already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(unicodeobject.obj) : error LNK2005: _PyUnicodeUCS2_FromWideChar already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(unicodeobject.obj) : error LNK2005: _PyUnicodeUCS2_AsWideChar already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(unicodeobject.obj) : error LNK2005: _PyUnicodeUCS2_GetSize already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: __Py_NoneStruct already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: __Py_NotImplementedStruct already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: __Py_NegativeRefcount already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: __PyObject_Del already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyObject_Repr already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyObject_Str already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyObject_Compare already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyObject_RichCompareBool already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyObject_GetAttrString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyObject_HasAttrString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyObject_SetAttrString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyObject_GenericGetAttr already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyObject_GenericSetAttr already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyObject_IsTrue already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyCallable_Check already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: __Py_Dealloc already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(object.obj) : error LNK2005: _PyMem_Free already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(stringobject.obj) : error LNK2005: _PyString_Type already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(stringobject.obj) : error LNK2005: _PyString_FromStringAndSize already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(stringobject.obj) : error LNK2005: _PyString_FromString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(stringobject.obj) : error LNK2005: _PyString_FromFormat already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(stringobject.obj) : error LNK2005: _PyString_Size already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(stringobject.obj) : error LNK2005: _PyString_AsString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(stringobject.obj) : error LNK2005: _PyString_AsStringAndSize already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(stringobject.obj) : error LNK2005: _PyString_InternInPlace already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(stringobject.obj) : error LNK2005: _PyString_InternFromString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(errors.obj) : error LNK2005: _PyErr_Restore already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(errors.obj) : error LNK2005: _PyErr_SetString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(errors.obj) : error LNK2005: _PyErr_Occurred already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(errors.obj) : error LNK2005: _PyErr_ExceptionMatches already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(errors.obj) : error LNK2005: _PyErr_Fetch already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(errors.obj) : error LNK2005: _PyErr_Clear already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(errors.obj) : error LNK2005: _PyErr_NoMemory already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(errors.obj) : error LNK2005: _PyErr_Format already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyObject_Cmp already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyObject_Type already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyObject_GetBuffer already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyBuffer_Release already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyNumber_Check already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyNumber_Int already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyNumber_Long already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyNumber_Float already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PySequence_Check already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PySequence_Size already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PySequence_GetItem already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PySequence_Tuple already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PySequence_Fast already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyMapping_GetItemString already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyObject_CallObject already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyObject_Call already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyObject_CallFunction already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: __PyObject_CallFunction_SizeT already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyObject_CallMethod already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: __PyObject_CallMethod_SizeT already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyObject_CallMethodObjArgs already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyObject_CallFunctionObjArgs already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(abstract.obj) : error LNK2005: _PyObject_IsInstance already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(getargs.obj) : error LNK2005: _PyArg_Parse already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(getargs.obj) : error LNK2005: __PyArg_Parse_SizeT already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(getargs.obj) : error LNK2005: _PyArg_ParseTuple already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(getargs.obj) : error LNK2005: __PyArg_ParseTuple_SizeT already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(getargs.obj) : error LNK2005: _PyArg_ParseTupleAndKeywords already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(getargs.obj) : error LNK2005: __PyArg_ParseTupleAndKeywords_SizeT already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(getargs.obj) : error LNK2005: _PyArg_UnpackTuple already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(intobject.obj) : error LNK2005: _PyInt_Type already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(intobject.obj) : error LNK2005: _PyInt_FromLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(intobject.obj) : error LNK2005: _PyInt_FromSize_t already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(intobject.obj) : error LNK2005: _PyInt_AsLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(intobject.obj) : error LNK2005: _PyInt_AsSsize_t already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pystate.obj) : error LNK2005: __PyThreadState_Current already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pystate.obj) : error LNK2005: _PyThreadState_New already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pystate.obj) : error LNK2005: _PyThreadState_Clear already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pystate.obj) : error LNK2005: _PyThreadState_Delete already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pystate.obj) : error LNK2005: _PyThreadState_Get already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pystate.obj) : error LNK2005: _PyThreadState_Swap already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pystate.obj) : error LNK2005: _PyGILState_Ensure already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(pystate.obj) : error LNK2005: _PyGILState_Release already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_Type already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_FromLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_FromUnsignedLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_AsLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_AsSsize_t already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_AsUnsignedLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_FromLongLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_FromUnsignedLongLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_FromSize_t already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_AsLongLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(longobject.obj) : error LNK2005: _PyLong_AsUnsignedLongLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(floatobject.obj) : error LNK2005: _PyFloat_Type already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(floatobject.obj) : error LNK2005: _PyFloat_FromDouble already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(floatobject.obj) : error LNK2005: _PyFloat_AsDouble already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(_warnings.obj) : error LNK2005: _PyErr_WarnEx already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(_warnings.obj) : error LNK2005: _PyErr_Warn already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(tupleobject.obj) : error LNK2005: _PyTuple_Type already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(tupleobject.obj) : error LNK2005: _PyTuple_New already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(tupleobject.obj) : error LNK2005: _PyTuple_Size already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(tupleobject.obj) : error LNK2005: _PyTuple_GetItem already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(tupleobject.obj) : error LNK2005: _PyTuple_Pack already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(methodobject.obj) : error LNK2005: _PyCFunction_NewEx already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(methodobject.obj) : error LNK2005: _PyCFunction_New already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(modsupport.obj) : error LNK2005: _Py_InitModule4TraceRefs already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(modsupport.obj) : error LNK2005: _Py_BuildValue already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(modsupport.obj) : error LNK2005: __Py_BuildValue_SizeT already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(modsupport.obj) : error LNK2005: _PyEval_CallFunction already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(modsupport.obj) : error LNK2005: _PyModule_AddObject already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(modsupport.obj) : error LNK2005: _PyModule_AddIntConstant already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(modsupport.obj) : error LNK2005: _PyModule_AddStringConstant already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(boolobject.obj) : error LNK2005: __Py_ZeroStruct already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(boolobject.obj) : error LNK2005: __Py_TrueStruct already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(boolobject.obj) : error LNK2005: _PyBool_FromLong already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(genobject.obj) : error LNK2005: _PyGen_Type already defined in libp3pystub.lib(p3pystub_pystub.obj)
pythonembed.lib(memoryobject.obj) : error LNK2005: _PyMemoryView_FromObject already defined in libp3pystub.lib(p3pystub_pystub.obj)
Creating library built/empire.lib and object built/empire.exp
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
empire.obj : error LNK2001: unresolved external symbol _initlibpandadna
empire.obj : error LNK2001: unresolved external symbol "void __cdecl init_libpandadna(void)" (?init_libpandadna@@YAXXZ)
built/empire.exe : fatal error LNK1120: 2 unresolved externals
The following command returned non-zero value (1120): link /LTCG /LTCG:STATUS /nologo /out:built/empire.exe "built/aes.obj" "built/empire.obj" "built/main...

Unresolved externals while executing --compile-cxx on sample

Fresh (for this even) Windows 7 install. Tried running 32-bit mode on a 64-bit Windows 7 install, then due to it not liking that if I didn't run it in that mode (but working, but doing the same thing it does now), I just did a fresh 32-bit install instead to simplify this process as much as possible without any extra commands. Obviously I don't get the error relating to the 64-bit system as it's now on a 32-bit system, however I am getting another error which they both shared.

I did copy this over from the other drive (which was also just as fresh, just 64-bit) however all of the software installs are also fresh. It did this on both versions of Windows.

So basically, everything but this was done on a 64-bit system, and now I have moved it all (with freshly reinstalled third party programs, like the SDK) to a 32-bit system. If I started over and compiled Panda3D on this version of Windows 7 would it make a difference? Didn't seem to matter during the compilation of that at all, but would it have an effect now?

Takes about 50 seconds of spewing out these to get to the bottom. I've compiled Panda3D (and ran postbuild), pythonembed, AES, did --make-nri, all successfully. Basically the last step of everything and it finally fails.

Screenshot: http://i.imgur.com/JNWFlb4.png

Using "python -OO make.py --compile-cxx" in the Windows 7 x86 Debug Build Environment command window.

no module named aes

Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/mgracer48/Desktop/Toontown-Empire/Toontown Empire/src/build/make.py", line 9, in
from niraitools import *
File "nirai/src/niraitools.py", line 9, in
import aes
ImportError: No module named aes

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.