View previous topic :: View next topic |
Author |
Message |
Kiri-Jolith
Joined: 01 Jul 2009 Posts: 10
|
Posted: Wed Jul 29, 2009 12:36 Post subject: NWNX_EASY |
|
|
I cannot seem to make it work.
Results of ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for netinet/in.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/ioctl.h... yes
checking for sys/mman.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking for bzero... yes
checking for getspnam... yes
checking for inflateEnd in -lz... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mnx/Makefile
config.status: creating functions/Makefile
config.status: creating hashset/Makefile
config.status: creating config.h
Results of ./install.sh
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for netinet/in.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/ioctl.h... yes
checking for sys/mman.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking for bzero... yes
checking for getspnam... yes
checking for inflateEnd in -lz... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mnx/Makefile
config.status: creating functions/Makefile
config.status: creating hashset/Makefile
config.status: creating chat/Makefile
config.status: creating events/Makefile
config.status: creating fixes/Makefile
config.status: creating leto/Makefile
config.status: creating odmbc/Makefile
config.status: creating profiler/Makefile
config.status: creating resman/Makefile
config.status: creating structs/Makefile
config.status: creating tmi/Makefile
config.status: creating config.h
config.status: config.h is unchanged
g++ -mcpu=i386 -c -o nwnx2lib.o nwnx2lib.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
nwnx2lib.cpp:42:21: error: nx_hook.h: No such file or directory
nwnx2lib.cpp: In function ‘void Configure()’:
nwnx2lib.cpp:509: warning: deprecated conversion from string constant to ‘char*’
nwnx2lib.cpp:516: warning: deprecated conversion from string constant to ‘char*’
nwnx2lib.cpp: In function ‘void Log(int, const char*, ...)’:
nwnx2lib.cpp:619: warning: format not a string literal and no format arguments
nwnx2lib.cpp:625: warning: format not a string literal and no format arguments
nwnx2lib.cpp: In constructor ‘startstop::startstop()’:
nwnx2lib.cpp:651: warning: format ‘%p’ expects type ‘void*’, but argument 2 has type ‘long unsigned int’
nwnx2lib.cpp:651: warning: format ‘%p’ expects type ‘void*’, but argument 3 has type ‘long unsigned int’
nwnx2lib.cpp:653: warning: format ‘%p’ expects type ‘void*’, but argument 2 has type ‘long unsigned int’
nwnx2lib.cpp:653: warning: format ‘%p’ expects type ‘void*’, but argument 3 has type ‘long unsigned int’
nwnx2lib.cpp:671: error: ‘nwn_hook_init’ was not declared in this scope
make: *** [nwnx2lib.o] Error 1
for i in mnx functions hashset chat events fixes leto odmbc profiler resman structs tmi; do make -C $i clean; done
make[1]: Entering directory `/home/user/nwnx_easy/mnx'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/home/user/nwnx_easy/mnx'
make[1]: Entering directory `/home/user/nwnx_easy/functions'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/home/user/nwnx_easy/functions'
make[1]: Entering directory `/home/user/nwnx_easy/hashset'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/home/user/nwnx_easy/hashset'
make[1]: Entering directory `/home/user/nwnx_easy/chat'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/home/user/nwnx_easy/chat'
make[1]: Entering directory `/home/user/nwnx_easy/events'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/home/user/nwnx_easy/events'
make[1]: Entering directory `/home/user/nwnx_easy/fixes'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/home/user/nwnx_easy/fixes'
make[1]: Entering directory `/home/user/nwnx_easy/leto'
/bin/rm -f *.o *.so *~ LetoSo
make[1]: Leaving directory `/home/user/nwnx_easy/leto'
make[1]: Entering directory `/home/user/nwnx_easy/odmbc'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/home/user/nwnx_easy/odmbc'
make[1]: Entering directory `/home/user/nwnx_easy/profiler'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/home/user/nwnx_easy/profiler'
make[1]: Entering directory `/home/user/nwnx_easy/resman'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/home/user/nwnx_easy/resman'
make[1]: Entering directory `/home/user/nwnx_easy/structs'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/home/user/nwnx_easy/structs'
make[1]: Entering directory `/home/user/nwnx_easy/tmi'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/home/user/nwnx_easy/tmi'
/bin/rm -f *.o *.so *~
for i in mnx functions hashset chat events fixes leto odmbc profiler resman structs tmi; do make -C $i distclean; done
make[1]: Entering directory `/home/user/nwnx_easy/mnx'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/mnx'
make[1]: Entering directory `/home/user/nwnx_easy/functions'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/functions'
make[1]: Entering directory `/home/user/nwnx_easy/hashset'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/hashset'
make[1]: Entering directory `/home/user/nwnx_easy/chat'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/chat'
make[1]: Entering directory `/home/user/nwnx_easy/events'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/events'
make[1]: Entering directory `/home/user/nwnx_easy/fixes'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/fixes'
make[1]: Entering directory `/home/user/nwnx_easy/leto'
/bin/rm -f *.o *.so *~ LetoSo
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/leto'
make[1]: Entering directory `/home/user/nwnx_easy/odmbc'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/odmbc'
make[1]: Entering directory `/home/user/nwnx_easy/profiler'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/profiler'
make[1]: Entering directory `/home/user/nwnx_easy/resman'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/resman'
make[1]: Entering directory `/home/user/nwnx_easy/structs'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/structs'
make[1]: Entering directory `/home/user/nwnx_easy/tmi'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/home/user/nwnx_easy/tmi'
/bin/rm -f Makefile config.h config.status config.cache config.log *.o *.so *~
NWNX has not been compiled, because the scripts seem to be corrupted, or your compiler is incapable of compiling them. Please refer to the NWNX forum for help.
Sorry for the huge post, but I am against a brick wall at this point. Any suggestions or ideas would be welcome. |
|
Back to top |
|
|
Zebranky
Joined: 04 Jun 2006 Posts: 415
|
Posted: Wed Jul 29, 2009 23:08 Post subject: Re: NWNX_EASY |
|
|
Kiri-Jolith wrote: | nwnx2lib.cpp:42:21: error: nx_hook.h: No such file or directory |
This is the error that's killing the build. nx_hook.h is in /trunk/include/ in the svn repository. If it's not there for you, you got an incomplete copy of the repository, and you should checkout/export it again. If it is, then the compiler's just not able to find it. _________________ Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/
<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.
<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for? |
|
Back to top |
|
|
Kiri-Jolith
Joined: 01 Jul 2009 Posts: 10
|
Posted: Thu Jul 30, 2009 0:35 Post subject: |
|
|
You're right. The file was somehow missing from the top level of the nwnx_easy folder. I greatly appreciate the help. May the gods smile upon you a thousand times. |
|
Back to top |
|
|
Zebranky
Joined: 04 Jun 2006 Posts: 415
|
Posted: Thu Jul 30, 2009 0:37 Post subject: |
|
|
I totally missed the glaring NWNX_EASY in the title of the thread, but I'm glad it worked anyway _________________ Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/
<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.
<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for? |
|
Back to top |
|
|
|