logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
NWNX4 source code compilation issues
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Development
View previous topic :: View next topic  
Author Message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Thu May 03, 2007 13:01    Post subject: Reply with quote

Since the linker can not find "wxmsw26d_core.lib", did you check if you have it on your machine ? You either need to download my compiled version from the subversion repository (recommended), or compile wxWidgets yourself in order to get that library.

@Gryphyn: 1.08 source code is not uploaded yet.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Thu May 03, 2007 16:08    Post subject: Reply with quote

Papillon wrote:
@Gryphyn: 1.08 source code is not uploaded yet.

I know, but I did download a fresh copy of the source from SVN (into new folders), it didn't compile as the wx...28's were in the download. (Header #13 I think, I didn't pay too much attention)
It doesn't matter...
But if someone else has a similar issue it's a quick and easy fix.

On hiatus until 1.08 is sourced. Cool

Cheers
Gryphyn
Back to top
View user's profile Send private message
Grinning Fool



Joined: 12 Feb 2005
Posts: 264

PostPosted: Thu May 03, 2007 17:10    Post subject: Reply with quote

Gryphyn wrote:
Papillon wrote:
@Gryphyn: 1.08 source code is not uploaded yet.

I know, but I did download a fresh copy of the source from SVN (into new folders), it didn't compile as the wx...28's were in the download. (Header #13 I think, I didn't pay too much attention)
It doesn't matter...
But if someone else has a similar issue it's a quick and easy fix.

On hiatus until 1.08 is sourced. Cool

Cheers
Gryphyn

Hm - I did a clean download from SVN about two weeks ago, and it compiled first time without issues.
_________________
Khalidine, a NWN2 persistent world

Looking for volunteers.
Back to top
View user's profile Send private message
Last_Yuzong



Joined: 01 Apr 2007
Posts: 11
Location: Germany

PostPosted: Fri May 04, 2007 12:11    Post subject: Reply with quote

Additional Dependencies: wxmsw26d_core.lib wxbase26d_net.lib wxbase26d.lib

Code:
LINK : fatal error LNK1104: Datei "wxmsw26d_core.lib" kann nicht geöffnet werden. (could not open)


It is the first entry in the additional dependencies. There are no wx___.lib with another number than 26 in my folder.
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Fri May 04, 2007 17:35    Post subject: Reply with quote

Hmm, let me rephrase my question:

1) Where is wxmsw26d_core.lib located ? Please post the full path
2) Where is the NWNX4 source code located ? Please post the full path as well.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Last_Yuzong



Joined: 01 Apr 2007
Posts: 11
Location: Germany

PostPosted: Fri May 04, 2007 19:45    Post subject: Reply with quote

D:\tools\VS C++\VC\lib\vc_lib\wxmsw26d_core.lib

D:\tools\VS C++\VC\src\
controller\...
erf\...
gui\...
hook\...
misc\...
plugins\...
NWNX4.ncb
NWNX4.sln
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sat May 05, 2007 7:54    Post subject: Reply with quote

Last_Yuzong wrote:
D:\tools\VS C++\VC\lib\vc_lib\wxmsw26d_core.lib


This is the cause. It should be

$(SolutionDir)..\lib\wxwidgets\lib\vc_lib, i.e. on your PC:

C++\VC\lib\wxwidgets\lib\vc_lib\wxmsw26d_core.lib

The include files go to:

C++\VC\lib\wxwidgets\include

Note: You can look up these setting under Project - Properties - Linker - General - Additional Library Directories.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Last_Yuzong



Joined: 01 Apr 2007
Posts: 11
Location: Germany

PostPosted: Sun May 06, 2007 15:03    Post subject: Reply with quote

I downloaded and managed everything new, because I allready had everything confused throu.

Code:
character.cpp
d:\tools\visual c++\vc\src\misc\log.h(24) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "wx/log.h": No such file or directory
log.cpp
d:\tools\visual c++\vc\src\misc\stdwx.h(3) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "wx/wx.h": No such file or directory


The unicode should fit so it seems to be a problem with the path again.
Back to top
View user's profile Send private message
Last_Yuzong



Joined: 01 Apr 2007
Posts: 11
Location: Germany

PostPosted: Mon May 21, 2007 0:29    Post subject: Reply with quote

I´m foolisch, i know that, but please help me again!
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Tue May 22, 2007 7:38    Post subject: Reply with quote

Please search for wx.h on your harddisk and double check that it is in the exact directory I posted earlier (the second one, for include files).
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Last_Yuzong



Joined: 01 Apr 2007
Posts: 11
Location: Germany

PostPosted: Tue May 22, 2007 17:26    Post subject: Reply with quote

D:\tools\Visual C++\VC\lib\wxwidgets\include\wx.h

does not work.
Back to top
View user's profile Send private message
Grinning Fool



Joined: 12 Feb 2005
Posts: 264

PostPosted: Wed May 23, 2007 2:35    Post subject: Reply with quote

You probably have already done this, but have tried done a completely, 100% clean, as in "erased the original directory" build?
_________________
Khalidine, a NWN2 persistent world

Looking for volunteers.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Development All times are GMT + 2 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group