Discussion:
Compiling wx
Incongruous
2014-07-09 01:51:42 UTC
Permalink
OS: Windows7 64bit
IDE/Compiler: Visual Studio Express 2013
wxWidgets-3.0.1

After downloading, setting up, and adding [drive]\wxWidgets-3.0.1 to the path, I proceeded to compile the toolkit by compiling the ‘D:\wxWidgets-3.0.1\build\msw\wx_vc12’ solution as a 64bit, however, I get this error:
---------------------------
Microsoft Visual Studio Express 2013 for Windows Desktop
---------------------------
Unable to start program 'D:\wxWidgets-3.0.1\build\msw\..\..\lib\vc_x64_lib\wxregexud.lib'.
---------------------------
What else should I do? What am I missing?
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Eric Jensen
2014-07-09 01:57:33 UTC
Permalink
Hello Incongruous,

Wednesday, July 9, 2014, 3:51:42 AM, you wrote:

I> OS: Windows7 64bit
I> IDE/Compiler: Visual Studio Express 2013
I> wxWidgets-3.0.1

I> After downloading, setting up, and adding
I> [drive]\wxWidgets-3.0.1 to the path, I proceeded to compile the
I> toolkit by compiling the D:\wxWidgets-3.0.1\build\msw\wx_vc12
I> solution as a 64bit, however, I get this error:
I> ---------------------------
I> Microsoft Visual Studio Express 2013 for Windows Desktop
I> ---------------------------
I> Unable to start program
I> 'D:\wxWidgets-3.0.1\build\msw\..\..\lib\vc_x64_lib\wxregexud.lib'.
I> ---------------------------
I> What else should I do? What am I missing?

wxWidgets is a set of libraries. You can't run or debug a library on
its own.

Go to the "samples" directory and build some of the samples there,
preferably start with the "minimal" sample.

Eric
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Marian 'VooDooMan' Meravy
2014-07-09 02:02:07 UTC
Permalink
Greetings,
Post by Eric Jensen
Hello Incongruous,
[...]
Go to the "samples" directory and build some of the samples there,
preferably start with the "minimal" sample.
Yes, this is actually what I said, but we both sent the e-mail to the
list at the same time. Eric's recommendation is even better, follow his
advice.

Best,
vdm
.

Marian 'VooDooMan' Meravy
2014-07-09 01:57:54 UTC
Permalink
Greetings,
Post by Incongruous
OS: Windows7 64bit
IDE/Compiler: Visual Studio Express 2013
wxWidgets-3.0.1
---------------------------
Microsoft Visual Studio Express 2013 for Windows Desktop
---------------------------
Unable to start program 'D:\wxWidgets-3.0.1\build\msw\..\..\lib\vc_x64_lib\wxregexud.lib'.
---------------------------
What else should I do? What am I missing?
I guess you are trying to run the library. You should run .exe, i.e.
your application, not the library.

Second, you speak "added to path" to "%Path%" variable. This is okay for
DLL builds. But since you are using static build (you speak about
"wxregexud.lib") , you need to add it into linker's dependencies in the
IDE of your application.

best,
vdm
.
Loading...