Is wxdev-c++ ment to replace dev-c++

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
trycatchthis
Earned a small fee
Earned a small fee
Posts: 14
Joined: Thu Apr 07, 2005 3:40 pm

Is wxdev-c++ ment to replace dev-c++

Post by trycatchthis »

I was using dev-c++ fine for a while now without too many problems
It is installed at
c:\dev-cpp
I installed wxdev-c++ to
c:\wxdev-cpp

Is wxdev meant to replace dev-c++ on the system or should you be able to use both?

I ask this because of linker errors I get when trying to compile dev-c++ code with wxdev-c++
e.g.
[Linker error] undefined reference to `std::string::_S_empty_rep_storage'
[Linker error] undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
[Linker error] undefined reference to `std::istream::seekg(long, std::_Ios_Seekdir)'
tbreina
Moderator
Moderator
Posts: 1289
Joined: Thu Nov 25, 2004 7:38 pm
Location: Coronado, CA

Post by tbreina »

Is wxdev meant to replace dev-c++ on the system or should you be able to use both?
Yes, wx-devcpp should replace dev-cpp. When you installed wx-devcpp, the first window should have said something like "Please don't install this over previous versions of dev-cpp". wx-devcpp is in fact dev-cpp just with the nice GUI builder added.

So it would be best to uninstall both and then re-install wx-devcpp.

-Tony
yeohhs
In need of some credit
In need of some credit
Posts: 3
Joined: Mon Sep 06, 2004 4:17 am
Contact:

Re: Is wxdev-c++ ment to replace dev-c++

Post by yeohhs »

trycatchthis wrote: Is wxdev meant to replace dev-c++ on the system or should you be able to use both?
Yes, I have the same problem too. After installing wxdev, it overwrites my dev-C++ configuration file. So, it appears that we cannot use two in the same pc.

Does anyone have any ideas how to overcome this? I would like to use both versions. I've been using Dev-C++ for some time and got all my projects source and devpaks nicely installed and working fine. Now when I try to use it, it reads the wxDev configuration and fails to compile my old projects.

Thanks in advance for any ideas or suggestions.

Best Regards,
Yeoh
--
Free Downloads at wxWidget Users Yahoo Group
http://groups.yahoo.com/group/wxwin-coders/
tiwag
Earned some good credits
Earned some good credits
Posts: 123
Joined: Tue Dec 21, 2004 8:51 pm
Location: Austria

Re: Is wxdev-c++ ment to replace dev-c++

Post by tiwag »

yeohhs wrote: ... So, it appears that we cannot use two in the same pc.

Does anyone have any ideas how to overcome this? I would like to use both versions.
...

i'm using both versions here on my pc,

a short how to...

1.) install Dev-C++,
i changed the default path to "D:\devcpp" because i dont like
spaces and special symbols in my pathnames.

2.) make a backup zip file of the complete installed version
ie. zip the "D:\devcpp" folder mybe to "devcpp.zip"

3.) Look for files "devcpp.ini", and "devcpp.cfg" files
somewhere in a folder called
"Documents and Settings\Username\......\Dev-Cpp"

4) save these files and delete them from this directory

5) delete all contents of "D:\devcpp"

6) install wx-devcpp in the folder "D:\devcpp"

7) rename "devcpp.exe" to "wxdevcpp.exe"

8) i`m not sure if this is necessary, but it works for me:
copy the file "devcpp.pallete" to "wxdevcpp.pallete"

9) copy from your backup-zip file "devcpp.zip" the
file "devcpp.exe" into the install-dir "D:\devcpp"

10) you are ready:
start "dev-cpp" with "devcpp"
start "wx-dev-cpp" with "wxdevcpp"

both versions have separate ini and config files


enjoy

--
tiwag
yeohhs
In need of some credit
In need of some credit
Posts: 3
Joined: Mon Sep 06, 2004 4:17 am
Contact:

Re: Is wxdev-c++ ment to replace dev-c++

Post by yeohhs »

Hi tiwag, :)

Thanks very much. Now both versions work! :D :D :D

Best Regards,
Yeoh
--
--
Free Downloads at wxWidget Users Yahoo Group
http://groups.yahoo.com/group/wxwin-coders/
dsilvia
Earned some good credits
Earned some good credits
Posts: 145
Joined: Sun May 29, 2005 3:42 pm
Location: Bettendorf, Iowa, USA (aka, BFE)

Post by dsilvia »

Why not just save your config specifics before you uninstall Dev-C++, then install wxDev-C++, and copy your old config files to the original location? Wouldn't that be simpler than having 2 full blown versions of Dev-C++ on the same system, just with different names? As was said, wxDev-C++ is just a superset of Dev-C++, the underlying Dev-C++ still works the same as it did before.

It is a shame, however, that the wxDev-C++ installation stomps all over any existing configuration :cry: . Seems like that could easily be avoided in the install.

JMTCW,
Dave S.
Wraithan
Earned a small fee
Earned a small fee
Posts: 17
Joined: Wed Dec 07, 2005 1:32 pm
Contact:

Post by Wraithan »

This post should be sticked untill the wxDev-Cpp installer stoped breaking the original installation of Dev-Cpp when installing to a different directory.
lowjoel
Part Of The Furniture
Part Of The Furniture
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel »

its not the installer, dev-cpp and wxdev-cpp uses the same config options.

we esssentially use everything from the old devcpp.ini file. the reason devpaks don't work is because your devpaks are not installed in the same folder as wxdev-cpp. I tried installed ddevpaks with wxdev-cpp and it does work.

devpaks are just bzip files that are extracted to the dev-cpp folder when you "install" them. uninstallartion in actually just deletion of files ad folders. the devpak handling is done by an external ap[p, separate from devcpp.exe, and IIRC we havnt modified them.

@tiwag, keep it as devcpp.pallete
R_W_B
In need of some credit
In need of some credit
Posts: 8
Joined: Thu May 12, 2016 3:52 pm

Re: Is wxdev-c++ ment to replace dev-c++

Post by R_W_B »

tiwag wrote: i'm using both versions here on my pc, a short how to...

1.) install Dev-C++,
i changed the default path to "D:\devcpp" because i dont like
spaces and special symbols in my pathnames.

2.) make a backup zip file of the complete installed version
ie. zip the "D:\devcpp" folder mybe to "devcpp.zip"

3.) Look for files "devcpp.ini", and "devcpp.cfg" files
somewhere in a folder called
"Documents and Settings\Username\......\Dev-Cpp"

4) save these files and delete them from this directory

5) delete all contents of "D:\devcpp"

6) install wx-devcpp in the folder "D:\devcpp"

7) rename "devcpp.exe" to "wxdevcpp.exe"

8) i`m not sure if this is necessary, but it works for me:
copy the file "devcpp.pallete" to "wxdevcpp.pallete"

9) copy from your backup-zip file "devcpp.zip" the
file "devcpp.exe" into the install-dir "D:\devcpp"

10) you are ready:
start "dev-cpp" with "devcpp"
start "wx-dev-cpp" with "wxdevcpp"
both versions have separate ini and config files enjoy
tiwag
Thanks I want to do this, I have two questions,
(1) In the above I never saw what was really done with the saved files "devcpp.ini", and "devcpp.cfg" ? Are these not necessary to put into the wxDevC installation folder along with the old devcpp.exe ?

(2) Like an idiot I did not save my old installation, rather than have to reinstall all this over again, wondering where online I might grab the old devcpp.exe file ? Unless of couse I really need any of the old config files ?

(3) Also out of curiousity what is the devcpp.pallete file for ?
Post Reply