Uninstalling wxWidgets 3.0.2 Topic is solved
Uninstalling wxWidgets 3.0.2
Hello,
I was having some problems with wxWidgets so I tried to uninstall it and install it again. I used synaptic ( Ubuntu ) to uninstall the packages. Out of curiosity, i went into my usr/include folder and surprisingly i found a folder "wx 3.0" with all the headers there. Synaptic tells me I don't have the packages installed on my computer(at the moment). I used the "Mark for complete removal" so i don't understand why i still have those files.
What happens if i try to install them again with synaptic?
Thank you!
I was having some problems with wxWidgets so I tried to uninstall it and install it again. I used synaptic ( Ubuntu ) to uninstall the packages. Out of curiosity, i went into my usr/include folder and surprisingly i found a folder "wx 3.0" with all the headers there. Synaptic tells me I don't have the packages installed on my computer(at the moment). I used the "Mark for complete removal" so i don't understand why i still have those files.
What happens if i try to install them again with synaptic?
Thank you!
Re: Uninstalling wxWidgets 3.0.2
Thank you for answering! It's not a problem to remove them. I just wanted to understand why weren't they removed with the other files. It's strange (or maybe it's just me)
Re: Uninstalling wxWidgets 3.0.2
Hi,
What is left in this directory?
If it's only wx-config - don't worry about it - that's how "make clean" works in wxWidgets.
But it is better to remove this, because it might interfere with any possible future install/compile of the library.
Thank you.
What is left in this directory?
If it's only wx-config - don't worry about it - that's how "make clean" works in wxWidgets.
But it is better to remove this, because it might interfere with any possible future install/compile of the library.
Thank you.
Re: Uninstalling wxWidgets 3.0.2
Hi,
wxWidgets in debianish distros like ubuntu comes in multiple packages. The libs are in libwx*30, the dev files in libwx*30-dev etc. But there are others too e.g. docs, examples and headers. The headers package is wx3.0-headers and installs to /usr/include/wx-3.0.
Perhaps you missed that one when you asked synaptic which were still installed.
Regards,
David
wxWidgets in debianish distros like ubuntu comes in multiple packages. The libs are in libwx*30, the dev files in libwx*30-dev etc. But there are others too e.g. docs, examples and headers. The headers package is wx3.0-headers and installs to /usr/include/wx-3.0.
Perhaps you missed that one when you asked synaptic which were still installed.
Regards,
David
Re: Uninstalling wxWidgets 3.0.2
That directory contained headers and other directories with other headers.ONEEYEMAN wrote:Hi,
What is left in this directory?
I deleted it and reinstalled the library. Now there's another problem. I have a project in c++ using wxWidgets library. I was working on it before i removed the packages. Now that i installed them again I tried to run the program.
Everything seems like before : the compiling and the linking didn't produce errors. However, now I have something like this:
http://imgur.com/a/0Nzwd
Almost every class from wxWidgets is "unknown" to my IDE. When I pass with my mouse over them it says "Can't resolve type 'wxTimer' " ( example) or "Can't resolve constructor ' wxMenu ' ".But it compiles Things like these.I have the headers I need and they worked fine before.
Also, some of the classes are okay. I mean, they don't display those messages (wxString for example).
I don't even know if I should ask you here. If it's against the rules I'm sorry.
Re: Uninstalling wxWidgets 3.0.2
You know the little green square in synaptic that tells you if that package is installed? I marked all of them. I couldn't miss a package. I guess the headers were installed automatically with some package but they didn't get deleted. Actually, as ONEEYEMAN suggested, i deleted them myself.DavidHart wrote: Perhaps you missed that one when you asked synaptic which were still installed.
I wrote in the terminal:
Code: Select all
sudo apt-get -s autoremove
Re: Uninstalling wxWidgets 3.0.2
Yes indeed.You know the little green square in synaptic that tells you if that package is installed?
It depends on the search string. 'wx' would have caught wx3.0-headers but 'libwx' or 'wx-' obviously wouldn't. Anyway, it's unimportant now.I marked all of them. I couldn't miss a package
Did you reinstall everything, including the libwx*-media ones? If you open a terminal, do you see all the necessary libs in the output of:Everything seems like before : the compiling and the linking didn't produce errors. However, now I have something like this:
http://imgur.com/a/0Nzwd
wx-config --libs all
It's hard to comment sensibly without knowing which IDE. If it's the one I use, CodeLite, you might need to do 'Workspace > Parse workspace'.Almost every class from wxWidgets is "unknown" to my IDE. When I pass with my mouse over them it says "Can't resolve type 'wxTimer' " ( example) or "Can't resolve constructor ' wxMenu ' ".But it compiles Things like these.I have the headers I need and they worked fine before.
Also, some of the classes are okay. I mean, they don't display those messages (wxString for example).
Not a major issue, but it might have been better to have started a new thread, in the 'Compiler/Linking/IDE Related' subforum.I don't even know if I should ask you here. If it's against the rules I'm sorry
Re: Uninstalling wxWidgets 3.0.2
You are right on that! I searched for libwx. I should have paid more attention.DavidHart wrote: It depends on the search string. 'wx' would have caught wx3.0-headers but 'libwx' or 'wx-' obviously wouldn't.
This is what i get fromDid you reinstall everything, including the libwx*-media ones? If you open a terminal, do you see all the necessary libs in the output of:
wx-config --libs all
Code: Select all
wx-config --libs all
Code: Select all
-L/usr/lib/x86_64-linux-gnu -pthread
-lwx_gtk2u_xrc-3.0
-lwx_gtk2u_webview-3.0
-lwx_gtk2u_stc-3.0
-lwx_gtk2u_richtext-3.0
-lwx_gtk2u_ribbon-3.0
-lwx_gtk2u_propgrid-3.0
-lwx_gtk2u_aui-3.0
-lwx_gtk2u_gl-3.0
-lwx_gtk2u_media-3.0
-lwx_gtk2u_html-3.0
-lwx_gtk2u_qa-3.0
-lwx_gtk2u_adv-3.0
-lwx_gtk2u_core-3.0
-lwx_baseu_xml-3.0
-lwx_baseu_net-3.0
-lwx_baseu-3.0
You are right. I'm sorry, I should have mentioned it. I use Clion from jetbrains.It's hard to comment sensibly without knowing which IDE
You said "parse workspace". What does it exactly do? Maybe Clion has a similar option.
Re: Uninstalling wxWidgets 3.0.2
That looks fine, and so is the synaptic image.This is what i get from wx-config --libs all
...
To make sure I'm not misunderstanding you, what is now failing? Is it just the code-completion/intellisense issue, or do you have a build problem too. If the latter, please would you paste here the first error message, plus the previous few lines.
An IDE that does code-completion or similar needs to know where to look for the answers, and either to have looked there and stored the information (that's CodeLite's standard method) or the look it up 'on the fly' (as CodeLite does when using clang).You said "parse workspace". What does it exactly do? Maybe Clion has a similar option.
I know nothing about Clion but it must do one or both of those, and it must have some menu entry or workspace option that says to do so, or to refresh its cache.
Re: Uninstalling wxWidgets 3.0.2
The program is not failing. It compiles and it links to wxWidgets. I don't get any errors after building it. It's the intellisense that bothers me.To make sure I'm not misunderstanding you, what is now failing?
I do get a runtime error but I had it even before removing the library (actually, that's the reason i decided to remove it in the first place). I already opened a topic on that (there are no replies though).
I searched and found this option in Clion: https://www.jetbrains.com/help/clion/cl ... cache.htmlit must have some menu entry or workspace option that says to do so, or to refresh its cache.
It's what i was searching for, no ?
Re: Uninstalling wxWidgets 3.0.2
I suspect it's more https://www.jetbrains.com/help/clion/au ... -code.html and https://www.jetbrains.com/help/clion/co ... etion.html, but I'm not sure that theyt tell you how to set it up in the first place.
Perhaps a Clion forum would be a better place to search, or ask...
Perhaps a Clion forum would be a better place to search, or ask...
Re: Uninstalling wxWidgets 3.0.2
I'll look for a clion forum then. Thank you for the replies !
Re: Uninstalling wxWidgets 3.0.2
Update:
After restarting Clion (because of an update) my problem was gone . Hope that helps someone in the future.
After restarting Clion (because of an update) my problem was gone . Hope that helps someone in the future.