SDL2 and Emacs setup - c++

I've recently started using emacs for c++ code editing, on a mac, and was wondering if it's possible to use SDL2 with emacs. If so, how would one go about setting it up? Thanks in advance.

Related

Libconfig++ for windows

I have a project which was created under linux, it uses libconfig++. I need to port this project to windows, but I couldn’t find a way to install libconfig++ on windows. Is there any way to do it? Thanks in advance.
P.s. i’m not into c++ that much yet, just started learning and already have this task.

Debugging C++ in (Neo)vim

I just switched from windows 10 to arch linux
I want to use (Neo)Vim as my code editor
I've sitted up autocomplition
and Fuzzy finder
But I have no idea how to debug in (Neo)Vim
Any helps!
For neovim there is nvim-dap which is an implementation of the debugging interface called DAP which vscode uses as well. For c/c++ check this page in nvim-dap's wiki.
Until this moment I have just used Neovim/Vim to change some small things in a code on terminal, but I think that installing the Kite plugin can help a little bit while you are coding and also, I found this answer, that has some considerations and possibilities of debuggers for Vim.
If you use gdb, you can use the in-built debugger plugin TermDebug. This works with both Vim and Neovim and is quite nice for C and C++ debugging.

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 :)

Installing OCaml

I would like to start programming in OCaml. As I am a Windows user, I understand that it is preferred to do so using the OCaml plugin for Netbeans.
I have downloaded the aforementioned plugin from the following link: http://ocamlplugin.loki-a.com/ocamlplugin/updates/ . I have installed the plugin into Netbeans as instructed. I managed to open a project but even the sample "Hello World" won't run.
I then tried to install the OCaml IDE from here: http://ocamlplugin.loki-a.com/index.php?title=Main_Page#Download_2 , but it still wouldn't run anything.
I am not interested in working with Eclipse because that would include downloading Cygwin.
I would appreciate a simple solution. Thank you! :)
I would suggest OCaIDE under Eclipse, if you stick to Windows anyway.
But I don't understand your reluctancy to use cygwin, especially when there is such nice step-by-step tutorial for configuring cygwin for OcaIDE and Eclipse.
Another option, which I haven't tried but would strongly suggest you trying, is Sublime Text 2. It supports OCaml and is a very popular cross-platform text editor. But since I haven't tried it, I would not be able to provide you with details about it. Although it comes with a cost, you can evaluate it for free without time limit.
TypeRex has been my favourite for OCaml so far, and you can now use Emacs in Windows, so with some workaround in cygwin you can use TypeRex in Windows.
Another option is to use VirtualBox, install a normal linux distro and use Typerex+Emacs inside it. It is also not complicated, as it takes 1 hour to config at most.
The ocaml links that you gave have not been touched since 2009 (4 years ago). That probably means the odds of them running with the current NetBeans are equivalent to the proverbial sphere of solidified water in the Christian place of eternal theological punishment.
Since you are asking about running under Cygwin, it sounds like you want a Linux version of Eclipse as well. Eclipse runs quite well under Win7, at least, and under Mint (I use them under both) However, all my attempts to get ANY OCaml IDE running under either system have been borged (resistance is futile, and depends and capacitance anyway).
So, under Mint 15, emacs and vim (the old standards) work well as text editors. I wish I could suggest anything else.
Good luck!!!
By now, another option has appeared for Windows 10 users wanting to use OCaml: the Windows Subsystem for Linux.
Basically, what it does is that it allows you to run Bash and any non-GUI Linux program on your PC. Once installed, you can install OCaml and OPAM with apt-get and you're good to go.
As far as I am concerned, I use Windows 10 on my desktop PC, and I haven't had any inconvenience with WSL yet.
I personally use Merlin/... which is are plugins for emacs. But I can understand that you dont want to use emacs. I have been told that the support with Visual Studio Code is supposed to be quite good, especially when using it together with the builtin console. Also for smaller things there is Ocamltop but I have now idea how the Windows support is. In the end I suggest, using the Linux Shell on Windows as RichouHunter suggests.

Choosing and using an IDE

I've been using Visual Studio 2010 for C++ development for a while but I'd like to move to an open source option. I'm considering using Eclipse C++. Are there any problems with it that I should know about? Also, I want to develop GUI applications. Presumably Eclipse allows this but I can't find any documentation on it (surprisingly)?
Can someone please point me in the right direction for starting with Eclipse?
Thanks for your help.
I was about to close this as a duplicate shopping question, but the GUI part is what stopped me.
You have two very good options:
Qt Creator: integrated version control, debugger support and Qt GUI editor.
Code::Blocks: integrated debugger, some plugins and a wxWidgets GUI editor.
Netbeans is better and faster than Eclipse in coding C++. that's my personal opinion