Xcode & wxWidgets Framework - c++

I've downloaded wxWidgets - wxwidgets.org
I ran the configure file using terminal.
How can I use this framework with Xcode C++ project?
Thanks!

Please take a look at the following documentation, or consider pin pointing down a more specific question about using the framework (ie, what problems you may have run into).
http://wiki.wxwidgets.org/Development:_wxMac
http://wiki.wxwidgets.org/Guides_%26_Tutorials#Mac_OS
http://wiki.wxwidgets.org/Creating_Xcode_projects_for_wxWidgets_applications (Out of date, but may still help you. As someone who used wxWidgets in the past, I can tell you that the code is correct).

Related

Free alternative to QTCreator for QT/C++ development

Let me preface this by stating I have vision problems so I have to magnify my screen upwards of 400% minimum to read most things including code - even when I am using a dark theme as I do when I code.
QTCreator has an issue where it moves the view on me with most keystrokes & actions - usually to the top left corner by the project file listing. I've posed questions to QT Support and even cloned the source for QT Creator looking to see if I could identify a relatively easy fix - to no avail. So now I'm trying to find a free (as in no financial cost) alternative to QT Creator so I can keep programming using QT Creator in C++.
I've tried Visual Studio Community Edition (2017 and 2019) and had problems getting things to build. It seemed like I had to rebuild the entire framework libraries for MSVC or else it wouldn't work. Additionally it seems it finds compilation errors in even the framework source - which doesn't even look wrong to me or I'd try to repair it.
I tried Eclipse (as I'm a Java engineer for my job so I'm familiar with Eclipse for Java and it does not have the problem that QT Creator has. The QT plugin - when I try to put a simple line of #include - It claims "QApplication" is unresolved. I've looked for this and all the answers say about Project->Properties->Paths and Symbols but as of 2019-12 and 2020-03, there are no options in settings for paths and symbols unfortunately.
A colleague suggested CLion from JetBrains but unfortunately it appears you have to pay for that. I have no intention of paying for a compiler or IDE.
Any thoughts on how I can get around this view changing problem or an alternative to QTCreator that doesn't cost money? If there's a setting in one of the applications I may have missed, suggest it with the version of the appication and I'll look for it and reply if it doesn't exist for whatever reason or accept your answer if it does and fixes the problem.
Thank you!
If you are familiar with Eclipse but have issues with the plugins and you intend using it for C++ I recommend checking out Cevelop (https://www.cevelop.com/) it's basically Eclipse but only for C++ and has some optimizations.
If that doesn't work for you technically you should be able to use any code editor like VSCode or Atom, but I do not know how well that works with the Qt library.
CLion is free for students but I think that doesn't apply for you.
NetBeans (https://netbeans.org/) is also free and cross-platform.
(https://netbeans.org/kb/74/cnd/qt-applications.html)
It should be possible to use Qt within the IDE.

Stanford cs106b C++ library in XCode 8

I am right now trying to solve the exercises of the free cs106b class, but cannot succeed to setup the needed libraries. I am new to C++ and not that experienced in XCode. I tried to to directly copy the library files I found on [Github] into my XCode project. I tried now for hours to get this package working but it seems they have to be installed in a special way.
I would be glad if somebody could give me some references on how to install a C++ library in XCode, especially the library given by Stanford.
P.S. with the "old" class I was given an .pkg installer, which I installed but did not seem to change anything.
I cannot help much with the XCode IDE. I have personally completed the course myself; however I used QT creator. The CS106B or CS106X official website (version 2016) provides very good documentation about how someone can go about and get started. http://web.stanford.edu/class/cs106b//handouts/qt-creator.html
A point to note: I used the SEE CS106B videos (the online cs106B) to complete the 2016 CS106X course. Please have a look around for the assignment files, in the official cs106B/cs106X website. In case you cannot find it, let me know, I can send it to you. I hope this helps.

Problems writing a plugin to ida pro in c++ Because of different versions

I'm trying to write a plugin for ida and I'm pretty stuck.
Im using the newest ida pro version (6.1).
It turns out that I used some things that not in use on this version.
How do I solve the problem in my code with the commands with HT_graph?
To what this command changed in the new version?
And also if there is anyone with experience in writing plugins I'd love some tips.
Thank you :)

Using Windows Visual Themes with Code::Blocks?

this is my first post on this website,
Anyway, I recently started trying to make a win32 app, and its been going well so far. Then I wanted to add aero to my app (as in not just the borders). So I looked it up online and one tutorial said I have to include dwmapi.h. This is in the Windows SDK. I don't know how to add this to Code::Blocks. By the way, I am using MinGW as my compiler. Also I tried using the MSVC 10 (VS2010) compiler in Code::Blocks, but I got a bunch of errors when I tried to use it, relating to the compilers/linkers not being found.
Any help would be great.
Unless you want to do custom drawing of controls and theme interfaces, all you need to do to support the visual themes is to add the appropriate manifest.
If you want to extend Aero Glass into your client area, look at DwmExtendFrameIntoClientArea () and family.
There are various articles and tutorials online about how to use it. I don't know specifics of using it with Code::Blocks though.
Never Mind, I figured it out. I updated to the nightly build of Code::Blocks and it had an easy preset to help me set up the SDK.

What should I use for coding C++ on a Mac and Windows?

A group of students and I are making a C++ game, but they have Windows and I have a Mac is there something we can use to share code between the systems?
I know Eclipse will work but I get Unresolved conclusion: <iostream> as an error. If anyone can help with that it would be great.
If you want something to actually "share the code" with, I would recommend git using github as the remote location. Its free and easy to use.
If your question is about the code not working, make sure you have X11 configured properly, and have the Eclipse C++ plugin installed.
And I would also recommend using XCode as your editor instead of Eclipse. It has a much better environment for C++, IMHO.
Hope this helps.
Personally I'd recommend setting up a cross-platform build process using something like CMake (http://www.cmake.org). CMake in particular will generate platform-specific project files for you -- so your friends could be working in Visual Studio and you could be working in Eclipse or XCode, with no problems at all (of course, you'd have to write portable code... :))
As far as sharing code and version control goes, I agree with Jon that something like git is ideal.
We build our Windows+Mac+Linux apps using Qt, which includes a nice build system (qmake) and cross-platform APIs (so the same code will run on all OS's) and an IDE (which I haven't used but I hear is okay).
With multiple developers you'll definitely want some sort of source-code-management system as well, git and svn are both good choices there.