Building C++ project for Arduino [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed yesterday.
Improve this question
The official Arduino IDE has some nice features, such as the board and library management, which works relatively well. However, when it comes to building. It only supports .ino files, while my project has .hpp and .cpp files, just like any regular C++ project. I tried things like the VS Code plugin for Arduino, but that also uses .ino files.
The only alternative I found is Sloeber, which is an Eclipse plugin, and it has the usual problem of Eclipse plugins that I can either install it or not. I had a previous version installed, but when I tried to update it, it completely broke my Eclipse installation. I tried installing the latest version, but it doesn't work.
Is there any alternative to sloeber? I'd prefer something that can be used from the command line, but an IDE is just fine too.

Related

How to develop on windows using C++ and CMake [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Question is - how to develop on Windows platform with comfort, using CMake as primary configuration tool. What I mean is IDE or something, that parse CMake config and help you to include external hpp files for example. I know that Qt Creator can (it support MSVC compiler), but Qt Creator sometimes fail to save file with error "Can't write to disk. Is it full". Seems like bug. And that's all.
What I mean is not generate .sln for Visual Studio.
Also I tried VS 2017 RC, but its crashing constantly with my project.
P.S. I tried Visual Studio with separate .sln, but it's really uncomfortably to support two different configs.
Thanks
Try out KDevelop 5 for Windows, it has great CMake support, as well as Clang based language features.

Problems compiling Qt [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Recently I downloaded Qt 5.6
I didn't knew that installing visual studio is necessary to build with Qt.
I have a poor internet connection and somehow managed to download Qt. But now is it necessary to install visual studio of 7 GiBs which is nearly impossible for me to download with my shitty kind of internet? I had searched on google and found that MinGW can be used to build with Qt. Please help me to configure it.
You can download a pre-build version of Qt, building it yourself is not necessary or recommended for beginners:
http://download.qt.io/official_releases/qt/5.6/5.6.0/
The qt-opensource-windows-x86-mingw492-5.6.0.exe comes with MinGW 4.9.2 bundled.
Building Qt from sources can take many hours on a slow machine, and potentially fail for a number of reasons, also it has 3rd party requirements such as perl and python.

Where to download libvlc? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I can't find where to download libvlc.
In fact I already use it in a Windows application I'm developping but I don't remember where I got it and wanted to have a more recent version and the licence info as I read it is LGPL but still not sure.
Thanks in advance.
In their wiki page :
Warning: Please, do not put pre-release test binaries or git-compiles
on software sites or on user-forums. We've had bad experiences with
this before and we do not appreciate it.
It seems that they want you to pull the code and compile it yourself.
this the code page:
https://wiki.videolan.org/GetTheSource/
and this instruction on windows:
https://wiki.videolan.org/Win32Compile/
Good luck!
Just reinstall [standard] vlc. It knows where it was installed previously and has a copy of the library. No need to install the library separately. If you used standard install, this will be:
C:Program Files (x86)\VideoLAN\VLC
and the libraries will be in there

C unit test framework for CMake [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm starting a C project with CMake and I want to use TDD. So I need an efficient unit testing framework which can be integrated with CMake.
I'm looking for a UTF wich can:
Be easily integrated with CMake
Gives me code coverage
Be (if it is possible) BSD-licenced
I have tried Kuya wich matches 3. but doesn't give a CC, then Check wich matches 2. but I haven't find any UTF that can be easily integrated with CMake.
By "easily integrated with CMake" I mean a tool wich can be launched by $ make tests.
http://code.google.com/p/googletest/ is C++.
It's well integrated with CMake, and I guess that shouldn't be a big problem to have your tests using a bit of C++, even if your tested files are in plain C.
What about CTest? CTest allows you to integrate tests into CMakeLists.txt. See http://cmake.org/Wiki/CMake/Testing_With_CTest for more thorough explanations. For your for requirements:
It can't be more simple.
That depends on how you design your tests - ctest only runs them
The same license as cmake

A good free IDE that installs with Boost for Windows? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Does this exist? Can someone recomend one if it does. I was going to use minGW from the command line but Boost does not support minGW from the command line.
Figured I'd go ahead and try and install an IDE and Boost .
Edit Ok, none of these actually come with boost. I don't know of an IDE that does (and frankly I don't know why it should). Installing Boost is pretty simple as it is. I interpreted the question to be:
What nice windows IDE does support compiling with Boost?
VS Express 2010 C++: http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express
Code::Blocks and
eclipse CDT work with MingW
see http://ascend4.org/Binary_installer_for_Boost_on_MinGW
nuwen.net (thanks, Benjamin!)
My MinGW distribution ("distro") currently contains GCC 4.6.1 and Boost 1.47.0.
mingw-7.2.exe (16.8 MB) : This is a self-extracting archive. It's incredibly easy to install; see How To Install below.
I find BoostPro the easiest way to install pre-compiled boost binaries (libs, DLLs) and compiler pre-requisites (headers etc). http://www.boostpro.com/download/ (it's an installer that downloads whatever Boost modules you select and unzips them wherever you've told it to). All you need to do after that to use it is add the lib and include paths to your IDE/compiler. I personally recommend Visual Studio for Windows.