Thread: [Dev-C++] Include problem with 4.9.6.7
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Luc Saint-E. <lu...@re...> - 2002-11-05 12:25:04
|
Hello, I use Dev-Cpp 4.9.6.7 with wxWindiws Pack 2.29 and every thing is OK, I can compile successfully new projects. I'm trying to compile wxWindows sample "notebook" (from the 2..2.9 distribution) Compile fails and Dev-Cpp complains : [Resource Error] can't open cursor file `wx/msw/hand.cur': No such file or directory In my machine hand.cur is in : D:\Dev-Cpp\include\wx\msw In my Dev-Cpp in Menu : tools-> Compiler Options-> C++ Includes (and also C includes) I added the lines D:\Dev-Cpp\include\wx D:\Dev-Cpp\include\wx\msw So now there is : D:\Dev-Cpp\include\g++-3 D:\Dev-Cpp\include D:\Dev-Cpp\include\wx D:\Dev-Cpp\include\wx\msw Where did I screw up ? Thanks in advance Luc |
|
From: Carlos d. M. <cg...@wo...> - 2002-11-05 17:31:50
|
You must write the full path to the file. And that has ever been so., and= will be (isn't it?) Luc Saint-Elie escribi=F3: > Hello, > > I use Dev-Cpp 4.9.6.7 with wxWindiws Pack 2.29 and every thing is OK, I= can > compile successfully new projects. > > I'm trying to compile wxWindows sample "notebook" (from the 2..2.9 > distribution) > Compile fails and Dev-Cpp complains : > > [Resource Error] can't open cursor file `wx/msw/hand.cur': No such file= or > directory > > In my machine hand.cur is in : > > D:\Dev-Cpp\include\wx\msw > > In my Dev-Cpp in > Menu : tools-> Compiler Options-> C++ Includes (and also C includes) I > added the lines > > D:\Dev-Cpp\include\wx > D:\Dev-Cpp\include\wx\msw > > So now there is : > > D:\Dev-Cpp\include\g++-3 > D:\Dev-Cpp\include > D:\Dev-Cpp\include\wx > D:\Dev-Cpp\include\wx\msw > > Where did I screw up ? > > Thanks in advance > > Luc > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Per W. <pw...@ia...> - 2002-11-05 17:43:03
|
Are you sure about full path to the file? In my projects, I have specified: Files/Dirs->Resource Dirs =3D C:\usr\src\wxWindows-2.3.3\include Files/Dirs->Resource Files =3D AppName.rc The file "AppName.rc" contains a single line: #include "wx/msw/wx.rc" /Per W On Tue, 5 Nov 2002, Carlos Garc=EDa del Monte wrote: > You must write the full path to the file. And that has ever been so., and= will > be (isn't it?) >=20 > Luc Saint-Elie escribi=F3: >=20 > > Hello, > > > > I use Dev-Cpp 4.9.6.7 with wxWindiws Pack 2.29 and every thing is OK, I= can > > compile successfully new projects. > > > > I'm trying to compile wxWindows sample "notebook" (from the 2..2.9 > > distribution) > > Compile fails and Dev-Cpp complains : > > > > [Resource Error] can't open cursor file `wx/msw/hand.cur': No such file= or > > directory > > > > In my machine hand.cur is in : > > > > D:\Dev-Cpp\include\wx\msw > > > > In my Dev-Cpp in > > Menu : tools-> Compiler Options-> C++ Includes (and also C includes) I > > added the lines > > > > D:\Dev-Cpp\include\wx > > D:\Dev-Cpp\include\wx\msw > > > > So now there is : > > > > D:\Dev-Cpp\include\g++-3 > > D:\Dev-Cpp\include > > D:\Dev-Cpp\include\wx > > D:\Dev-Cpp\include\wx\msw > > > > Where did I screw up ? > > > > Thanks in advance > > > > Luc > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: See the NEW Palm > > Tungsten T handheld. Power & Color in a compact size! > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 |
|
From: Carlos d. M. <cg...@wo...> - 2002-11-06 11:11:18
|
That works for include the .rc file, not the .ico, .cur and so files you = specificy within that file. Per Westermark escribi=F3: > Are you sure about full path to the file? > > In my projects, I have specified: > Files/Dirs->Resource Dirs =3D C:\usr\src\wxWindows-2.3.3\include > Files/Dirs->Resource Files =3D AppName.rc > > The file "AppName.rc" contains a single line: #include "wx/msw/wx.rc" > > /Per W > > On Tue, 5 Nov 2002, Carlos Garc=EDa del Monte wrote: > > > You must write the full path to the file. And that has ever been so.,= and will > > be (isn't it?) > > > > Luc Saint-Elie escribi=F3: > > > > > Hello, > > > > > > I use Dev-Cpp 4.9.6.7 with wxWindiws Pack 2.29 and every thing is O= K, I can > > > compile successfully new projects. > > > > > > I'm trying to compile wxWindows sample "notebook" (from the 2..2.9 > > > distribution) > > > Compile fails and Dev-Cpp complains : > > > > > > [Resource Error] can't open cursor file `wx/msw/hand.cur': No such = file or > > > directory > > > > > > In my machine hand.cur is in : > > > > > > D:\Dev-Cpp\include\wx\msw > > > > > > In my Dev-Cpp in > > > Menu : tools-> Compiler Options-> C++ Includes (and also C includes= ) I > > > added the lines > > > > > > D:\Dev-Cpp\include\wx > > > D:\Dev-Cpp\include\wx\msw > > > > > > So now there is : > > > > > > D:\Dev-Cpp\include\g++-3 > > > D:\Dev-Cpp\include > > > D:\Dev-Cpp\include\wx > > > D:\Dev-Cpp\include\wx\msw > > > > > > Where did I screw up ? > > > > > > Thanks in advance > > > > > > Luc > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: See the NEW Palm > > > Tungsten T handheld. Power & Color in a compact size! > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: See the NEW Palm > > Tungsten T handheld. Power & Color in a compact size! > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > |
|
From: Luc Saint-E. <lu...@re...> - 2002-11-05 18:21:26
|
Per, Did you try to compile Layout from the samples from <wxWindows_INSTALL_DIR>/samples/layout ? Luc At 18:42 05/11/2002 +0100, Per Westermark wrote: >Are you sure about full path to the file? > >In my projects, I have specified: >Files/Dirs->Resource Dirs = C:\usr\src\wxWindows-2.3.3\include >Files/Dirs->Resource Files = AppName.rc > >The file "AppName.rc" contains a single line: #include "wx/msw/wx.rc" > >/Per W |
|
From: Per W. <pw...@ia...> - 2002-11-05 20:28:29
|
Sorry, I didn't install the wxWindows package... I use wxWindows directly from sourceforge, so I built wxWindows and all samples with make -f makefile.g95 The settings below are the project settings I use when developing my own wxWindows applications. /Per W On Tue, 5 Nov 2002, Luc Saint-Elie wrote: > Per, > > Did you try to compile Layout from the samples > from <wxWindows_INSTALL_DIR>/samples/layout ? > > Luc > > At 18:42 05/11/2002 +0100, Per Westermark wrote: > >Are you sure about full path to the file? > > > >In my projects, I have specified: > >Files/Dirs->Resource Dirs = C:\usr\src\wxWindows-2.3.3\include > >Files/Dirs->Resource Files = AppName.rc > > > >The file "AppName.rc" contains a single line: #include "wx/msw/wx.rc" > > > >/Per W > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |