Discussion:
LINK : fatal error LNK1104: cannot open file 'wxmsw28ud_stc.lib'
(too old to reply)
dayat
2009-05-05 15:41:36 UTC
Permalink
Hi, I'm newbie wxWidgets on windows. How to solving this problem, I try building
pgAdmin3 source from MSVC 2008 IDE. And got the error message: LINK : fatal error
LNK1104: cannot open file 'wxmsw28ud_stc.lib'. The file wxmsw28ud_stc is not in the
my source directory.

I hope someone can help me
many thanks before

Hidayat


__________________________________________________
Apakah Anda Yahoo!?
Lelah menerima spam? Surat Yahoo! memiliki perlindungan terbaik terhadap spam
http://id.mail.yahoo.com
Sebastian Krämer
2009-05-05 16:00:51 UTC
Permalink
Post by dayat
Hi, I'm newbie wxWidgets on windows. How to solving this problem, I try building
pgAdmin3 source from MSVC 2008 IDE. And got the error message: LINK : fatal error
LNK1104: cannot open file 'wxmsw28ud_stc.lib'. The file wxmsw28ud_stc is not in the
my source directory.
You have to specify the directoy that contains the requested file in
your *linker* settings.

There's a really good page on the wxwidgets wiki that explains all
necessary steps for visual studio.

Sebastian
Bryan Petty
2009-05-05 16:49:05 UTC
Permalink
Post by dayat
Hi, I'm newbie wxWidgets on windows. How to solving this problem, I try building
pgAdmin3 source from MSVC 2008 IDE. And got the error message: LINK : fatal error
LNK1104: cannot open file 'wxmsw28ud_stc.lib'. The file wxmsw28ud_stc is not in the
my source directory.
You need to build wxSTC seperately of wxWidgets itself. You can find
the project file in contrib\build\stc\stc.dsw. You may also need to
add the appropriate library paths to Visual Studio for the STC
library.

Regards,
Bryan Petty
d***@mchsi.com
2009-05-05 17:49:41 UTC
Permalink
Hi!

Hmmm... Sounds like you don't just have the cart before the horse, but don't even have a horse yet!;)

First, let me say that your message is extremely sketchy... I'll be making some assumptions, since I have nothing else to go on.

I'm assuming you downloaded a version of wxWidgets (which one, I have no idea!;). I'm also assuming that you have some code (from where, I do not know!;) that's supposed to be wxWidgets code and for a Windows platform (supposedly Visual Studio 2008, I'm guessing!;).

Before you can build any code on any platform with wxWidgets, you must first build the wxWidgets libraries. There are numerous ways to accomplish this, all of which assume a certain level of expertise on the part of the user for the platform they are using, the build tools they have, building libraries in general, and more... Again, only assuming on my part because I have no evidence to the contrary, it doesn't sound like you have some (possibly all?) of these skills (yet!;).

You may like to take a step back, look at the situation with a thoughtful eye, and decide what you need to learn to begin.

I can make a couple of suggestions:

1) There is a video (new) which addresses using a wxWidgets IDE (fully Visual Studio compatible, versions 5, 7[.1], 8 [2005], and 9 [2008]) to build wxWidgets for any platform that wxWidgets will build on, including, obviously, Windows. It takes the process step by step from download, to installation, to building wxWidgets, and building applications. You can access this at:

http://www.wxcodex.net/

The name is "Building wxWidgets Libraries and Applications on Windows and Linux using DialogBlocks", it is in the 'Misc' category, so, if you click the Misc radio button in the green menu at the left, then click the 'Go' button at the bottom of the same menu, you will be taken directly to it.

This is probably the easiest way for a 'newbie' to wxWidgets, who may also have limited toolkit building experience, to obtain and build a fully functional wxWidgets toolkit set of libraries for their platform. It's all free, so don't worry on that account. Also, since the video itself is only 38 minutes long (complete!!) and the portion dealing with download, install, and build of wxWidgets only takes up about 15 minutes, it's probably the quickest path to the final outcome!;)

Note that the video uses the wxWidgets-2.8.10 (latest stable release) and the IDE is DialogBlocks 4.30 (latest release).

You can also get information on wxWidgets on Windows platforms at:

http://tech.groups.yahoo.com/group/wxMS_developers/

HTH:


thx,
Dave S.

wxMS_developers - wxWidgets development on Microsoft Windows
http://tech.groups.yahoo.com/group/wxMS_developers/

wxWidgets Code Exchange
http://www.wxcodex.net/
Hi, I'm newbie wxWidgets on windows. How to solving this problem, I try building pgAdmin3 source from MSVC 2008 IDE. And got the error message: LINK : fatal
error LNK1104: cannot open file 'wxmsw28ud_stc.lib'. The file wxmsw28ud_stc is not in
the
my source directory.
I hope someone can help me
many thanks before
Hidayat
__________________________________________________
Apakah Anda Yahoo!?
Lelah menerima spam? Surat Yahoo! memiliki perlindungan terbaik terhadap spam
http://id.mail.yahoo.com
_______________________________________________
wx-users mailing list
http://lists.wxwidgets.org/mailman/listinfo/wx-users
d***@mchsi.com
2009-05-05 18:52:33 UTC
Permalink
Hi!

It would seem that my original response to this got lost in a bit bucket somewhere... Briefly, in a nutshell:

Possibly the easiest way for a wxWidgets 'newbie' who also seems (I'm assuming, from the sketchy message for help!;) to have limited knowledge, in general, on building things like add-on libraries and other such packages, general platform 'hands on' build experience, and other skills needed for 'rolled-up sleeves' work with a build system, is to follow the steps in a video.

There is a short (38 minute total, 17 minute to build wxWidgets) demo video that takes one through the steps needed to get to a point where one is ready to build and application with wxWidgets. It begins, making no assumptions about the viewer's experience level, with download, then to installation, next to building wxWidgets toolkit for a platform, finally to building a simple application. The video is entitled: "Building wxWidgets Libraries and Applications on Windows and Linux using DialogBlocks" and it is located at:

http://www.wxcodex.net/

Just click the 'Misc' radio button in the green menu on the top left, then click the 'Go' button at the bottom of the same menu and you'll be taken to a page to access the video, click the pulldown and select 'dnld' then select the 'Download Selections' button at page top and click the resultant link.

The video uses DialogBlocks to build wxWidgets for a platform (more up to date than wiki pages and less time consuming!;). For this purpose, DialogBlocks is free, always, no fee!:-) Within half an hour or less one can have wxWidgets built and ready for use on their platform.

HTH:

thx,
Dave S.

wxMS_developers - wxWidgets development on Microsoft Windows platforms
http://tech.groups.yahoo.com/group/wxMS_developers/

wxWidgets Code Exchange
http://www.wxcodex.net/
Hi, I'm newbie wxWidgets on windows. How to solving this problem, I try building pgAdmin3 source from MSVC 2008 IDE. And got the error message: LINK : fatal
error LNK1104: cannot open file 'wxmsw28ud_stc.lib'. The file wxmsw28ud_stc is not in
the
my source directory.
I hope someone can help me
many thanks before
Hidayat
dayat
2009-05-06 15:51:37 UTC
Permalink
Thank you Bryan Petty, my problem is solved.

Many thanks
Hidayat

----- Original Message -----
From: "Bryan Petty" <***@ibaku.net>
To: <wx-***@lists.wxwidgets.org>
Sent: Tuesday, May 05, 2009 11:49 PM
Subject: Re: LINK : fatal error LNK1104: cannot open file 'wxmsw28ud_stc.lib'
Post by Bryan Petty
Post by dayat
Hi, I'm newbie wxWidgets on windows. How to solving this problem, I try building
pgAdmin3 source from MSVC 2008 IDE. And got the error message: LINK : fatal error
LNK1104: cannot open file 'wxmsw28ud_stc.lib'. The file wxmsw28ud_stc is not in
the
my source directory.
You need to build wxSTC seperately of wxWidgets itself. You can find
the project file in contrib\build\stc\stc.dsw. You may also need to
add the appropriate library paths to Visual Studio for the STC
library.
Regards,
Bryan Petty
_______________________________________________
wx-users mailing list
http://lists.wxwidgets.org/mailman/listinfo/wx-users
__________________________________________________
Apakah Anda Yahoo!?
Lelah menerima spam? Surat Yahoo! memiliki perlindungan terbaik terhadap spam
http://id.mail.yahoo.com

Loading...