Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Newbie compile problems of samples/minifram?

Register 
新用户注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Newbie compile problems of samples/minifram?
#4882
Posted by: Todd Gardner 2004-07-22 19:49:10
Hello everyone,

I have randomly chosen to try to compile and link samples / minifram in http://g.yi.org/f.php?f=4920.  In an attempt to do this I have done the following that does not seem to be working.  I would like to request your expertise.

I downloaded all of the files in the http://g.yi.org/f.php?f=4920 directory and all of the files in the bitmaps directory.

I placed all of those files in the same directory on my local hard drive.

I have started a new auto generated Hello World wxWidgets project in the dev-cpp IDE version 4.9.8.0 in Windows 2000.

I removed the main.cpp from the auto generated project.

I added the following files to the project:
minifram.cpp, minifram.h and minifram.rc.

I received many errors when I tried to compile the project.

27 E:\dev\cpp\wxWidgets\minifram\minifram.cpp:29
bitmaps/new.xpm: No such file or directory.

28 E:\dev\cpp\wxWidgets\minifram\minifram.cpp:30
bitmaps/open.xpm: No such file or directory.

28 E:\dev\cpp\wxWidgets\minifram\minifram.cpp:31
bitmaps/save.xpm: No such file or directory.

...

What should I be doing to get this to compile and link?  Any input would be greatly appreciated.

Thank you,

Todd
P.S. I am new to wxWidgets so please forgive these ignorant questions.

Thank you,

Todd
--
San Jose, CA 95128
piir@earthlink.net
Message2. Re: Newbie compile problems of samples/minifram?
#4886
Posted by: Todd Gardner 2004-07-22 23:54:47
Hello John,

Thank you for your help.  I have been able to get this to compile and linked now.

You were right, it was just a path problem.  All I had to do was to include the bitmaps directory under my project directory.

Thank you again,

Todd
Thank you,

Todd
--
San Jose, CA 95128
piir@earthlink.net
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Wed 2021-7-28  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0