Discussion:
[Dev-C++] How make devpacks to work with new DEV-CPPs
s***@libero.it
2003-02-02 20:23:48 UTC
Permalink
I've tried the template of wxWindows devpack in DevCpp 4.9.7.4 with gcc v2.95 and doesnt work. Also with gcc 3 the same. i've tried an old devcpp 4.9.5.0 updated to 4.9.7.4 but it continues to warn about the debug.h header in the wx include folder. someone has make this template works? with an old version of the ide months ago i've compiled succefully but now i'm not able to do it again. Why there's such a beautiful feature like vUpdate and it's not updated to working devpacks?
Jörgen
2003-02-02 21:22:14 UTC
Permalink
Hi

This is what I did today in order to make wxWindows work and compile from inside Dev-Cpp 4.9.7.4 with MinGW 3.2

1. Go to http://michel.weinachter.free.fr/ and download the three packages
2. Install them with the package manager.
3. Open the 'WxWindows.template' file in your 'Dev-cpp\Templates' directory.
4. Change the line 'Compiler=...' to 'CppCompiler=...'
5. Start Dev-Cpp and create a new wxWindow project (File->New->Project->GUI->WxWindow)
6. The template should now compile without a problem (it did for me)

If you try to compile another sample and get the following resource error

[Resource Error] can't open cursor file `wx/msw/hand.cur': No such file or directory

Get rid of it by setting the path to Dev-Cpp\include directory as a resource directory (Project->Project Options->Directories->Resource Directories)

Hope this helps you.

/Jörgen


*********** REPLY SEPARATOR ***********
Post by s***@libero.it
I've tried the template of wxWindows devpack in DevCpp 4.9.7.4 with gcc
v2.95 and doesnt work. Also with gcc 3 the same. i've tried an old devcpp
4.9.5.0 updated to 4.9.7.4 but it continues to warn about the debug.h
header in the wx include folder. someone has make this template works?
with an old version of the ide months ago i've compiled succefully but now
i'm not able to do it again. Why there's such a beautiful feature like
vUpdate and it's not updated to working devpacks?
-------------------------------------------------------
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Dev-cpp-users mailing list
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
Michel Weinachter
2003-02-03 04:45:49 UTC
Permalink
Post by Jörgen
Hi
This is what I did today in order to make wxWindows work and compile from inside Dev-Cpp 4.9.7.4 with MinGW 3.2
1. Go to http://michel.weinachter.free.fr/ and download the three packages
2. Install them with the package manager.
3. Open the 'WxWindows.template' file in your 'Dev-cpp\Templates' directory.
4. Change the line 'Compiler=...' to 'CppCompiler=...'
strange I don't need to change that. I will look that as soon as possible.
Do you use gcc provided by Dev-c++ ?
Post by Jörgen
5. Start Dev-Cpp and create a new wxWindow project (File->New->Project->GUI->WxWindow)
6. The template should now compile without a problem (it did for me)
If you try to compile another sample and get the following resource error
[Resource Error] can't open cursor file `wx/msw/hand.cur': No such file or directory
There is no ressource directory file in the template. I should add a
comment in main.cpp for example. This problem frequently appears with
projects imported from VC++.
Post by Jörgen
Get rid of it by setting the path to Dev-Cpp\include directory as a resource directory (Project->Project Options->Directories->Resource Directories)
Hope this helps you.
/Jörgen
*********** REPLY SEPARATOR ***********
Post by s***@libero.it
I've tried the template of wxWindows devpack in DevCpp 4.9.7.4 with gcc
v2.95 and doesnt work. Also with gcc 3 the same. i've tried an old devcpp
4.9.5.0 updated to 4.9.7.4 but it continues to warn about the debug.h
header in the wx include folder. someone has make this template works?
with an old version of the ide months ago i've compiled succefully but now
i'm not able to do it again. Why there's such a beautiful feature like
vUpdate and it's not updated to working devpacks?
-------------------------------------------------------
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Dev-cpp-users mailing list
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
-------------------------------------------------------
SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
http://www.vasoftware.com
_______________________________________________
Dev-cpp-users mailing list
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
Jörgen
2003-02-03 08:56:10 UTC
Permalink
Hi Michel.
Post by Jörgen
Post by Jörgen
Hi
This is what I did today in order to make wxWindows work and compile from
inside Dev-Cpp 4.9.7.4 with MinGW 3.2
Post by Jörgen
1. Go to http://michel.weinachter.free.fr/ and download the three packages
2. Install them with the package manager.
3. Open the 'WxWindows.template' file in your 'Dev-cpp\Templates'
directory.
Post by Jörgen
4. Change the line 'Compiler=...' to 'CppCompiler=...'
strange I don't need to change that. I will look that as soon as possible.
Do you use gcc provided by Dev-c++ ?
Yes I have the gcc (MinGW) provided by Dev-Cpp
If I don't change the line 'Compiler...' to 'CppCompiler...' i get the following errors

-- ERROR -->
In file included from D:/Programmering/IDE/Dev-Cpp/include/wx/wxprec.h:13,
from main.cpp:21:
D:/Programmering/IDE/Dev-Cpp/include/wx/defs.h:174: redeclaration of C++ built-in type `bool'
In file included from D:/Programmering/IDE/Dev-Cpp/include/wx/memory.h:20,
from D:/Programmering/IDE/Dev-Cpp/include/wx/object.h:25,
from D:/Programmering/IDE/Dev-Cpp/include/wx/wx.h:16,
from main.cpp:30:
D:/Programmering/IDE/Dev-Cpp/include/wx/string.h:164:4: #error "Please define string case-insensitive compare for your OS/compiler"
make.exe: *** [main.o] Error 1
Execution terminated
<-- ERROR --
Post by Jörgen
Post by Jörgen
5. Start Dev-Cpp and create a new wxWindow project
(File->New->Project->GUI->WxWindow)
Post by Jörgen
6. The template should now compile without a problem (it did for me)
If you try to compile another sample and get the following resource error
[Resource Error] can't open cursor file `wx/msw/hand.cur': No such file
or directory
There is no ressource directory file in the template. I should add a
comment in main.cpp for example. This problem frequently appears with
projects imported from VC++.
Please do so.
Post by Jörgen
Post by Jörgen
Get rid of it by setting the path to Dev-Cpp\include directory as a
resource directory (Project->Project Options->Directories->Resource
Directories)
Post by Jörgen
Hope this helps you.
/Jörgen
*********** REPLY SEPARATOR ***********
Post by s***@libero.it
I've tried the template of wxWindows devpack in DevCpp 4.9.7.4 with gcc
v2.95 and doesnt work. Also with gcc 3 the same. i've tried an old devcpp
4.9.5.0 updated to 4.9.7.4 but it continues to warn about the debug.h
header in the wx include folder. someone has make this template works?
with an old version of the ide months ago i've compiled succefully but
now
Post by Jörgen
Post by s***@libero.it
i'm not able to do it again. Why there's such a beautiful feature like
vUpdate and it's not updated to working devpacks?
-------------------------------------------------------
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Dev-cpp-users mailing list
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
-------------------------------------------------------
SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
http://www.vasoftware.com
_______________________________________________
Dev-cpp-users mailing list
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
h

Loading...