Page 1 of 1
Which IDE for developing?
Posted: Thursday 05 November 2015 12:08
by @MosWare
Hi,
in the future I want to write a module for serial communication and run it on a RasPi. I managed to compile the source on a RasPi with cmake.
A big step for me - a small step for the world

Some years ago I wrote some software with Visual Studio C++ 6, but now I want to dive in the amazing, beautiful Domoticz project under Linux.
My general questions are:
Which IDE or tool should I use for the web-front-end and which for the C-source?
Is it a common way to develop with ubuntu and compile the source on a RasPi?
Does anyone have a hint?
Best regards
@MosWare
Re: Which IDE for developing?
Posted: Thursday 05 November 2015 14:00
by ThinkPad
I'm not really a 'developer', but when i write some Lua / HTML / CSS, i use the
Sublime Text editor. It has a really nice syntax-marking.
This post doesn't answer your original question i guess, but i just wanted to share it. I love the program, it is so much more powerful than plain Notepad, or Notepad++
Re: Which IDE for developing?
Posted: Thursday 05 November 2015 17:07
by pvm
You can also develop, compile, debug in visual Studio on Windows platform . That's a nice ide and supported by domoticz. When finished compiling and running on other platforms should be possible
Re: Which IDE for developing?
Posted: Thursday 05 November 2015 18:10
by @MosWare
Hi,
thank you for your answers.
Sublime Text looks really good.
I tried some weeks before just to open the project with VS 2015 community but no success, only error messages.
To develop, compile, debug in visual Studio on Windows platform an run on RasPi ( after recompiling on the target OS I think) sounds good.
Is there a prepared project to open in VS 2015 with prepared settings for download?
Best regards
@MosWare
Re: Which IDE for developing?
Posted: Thursday 05 November 2015 20:23
by pvm
The github project contains a vs project
Re: Which IDE for developing?
Posted: Thursday 05 November 2015 21:12
by @MosWare
OK, thank you. It seems i used a package without the msbuild folder.
I´ll try now the github source.
Best regards
@MosWare
Re: Which IDE for developing?
Posted: Sunday 08 November 2015 21:43
by @MosWare
Hi,
now i tried to compile with Visual Studio 2015 and got an error message:
"... m_thread is not defined"
As far i understand there is really no definition in the source code. There is no header-file whitch declare the variable .
I think there is a problem with the project-settings and dependencies and i am unable to fix it.
So i try to create a workspace with codelite under Ubuntu with no success. Unfortunately i have no experience with codelite.
Does anyone know how to put the source into a IDE for developing?
How do you do that?
Best regards
@MosWare
Re: Which IDE for developing?
Posted: Wednesday 25 November 2015 15:20
by timldn
Hi,
Did you download
http://www.domoticz.com/WindowsLibraries.zip, and extract it's content under the 'msbuild' directory?
I think I also downloaded the C++ redistributable but that could have been for something else.
Re: Which IDE for developing?
Posted: Thursday 26 November 2015 7:34
by Toni
If you look at the file
https://github.com/domoticz/domoticz/bl ... pveyor.yml, it has all the build instructions the Appveyor cloud build system needs:
- You need to use Visual Studio 2015 (community edition is OK)
- You need to download and extract the Windows libraries
- Then open the solution file in the VS2015 IDE, and build the solution (the Appveyor instructions obviously has the command line build, i.e. MSBuild)
Re: Which IDE for developing?
Posted: Saturday 05 December 2015 16:02
by fantom
Where can i find the newest Windows Libraries ??
http://www.domoticz.com/WindowsLibraries.zip is not working.
Fantom
Re: Which IDE for developing?
Posted: Wednesday 09 December 2015 17:14
by @MosWare
Hello,
thank you for your answers. I did not know that there is a Windows Lib needed.
I need some days to decide to compile the source under Ubuntu (much faster as the RasPi). After checking the result, I compile and run the code on the RasPi.
Best Regards
@MosWare
Re: Which IDE for developing?
Posted: Wednesday 09 December 2015 17:52
by fantom
I on evry day compiled on Windows or Ubuntu.
And after first testing i compiled on rpi and tested again.
Under VS2015 compile and debugging is fast and easy
Fantom
Re: Which IDE for developing?
Posted: Saturday 12 December 2015 20:55
by MarkMarsh
It's now at
http://www.domoticz.com/WindowsLibraries.7z as shown in Toni's link - you need to extract it into the msbuild directory.
I also had to change the project->properties->debugging->Working Directory setting to be the root of the project - the default in the solution was the msbuild directory and the web server wasn't finding its files resulting in a 404 error.
Re: Which IDE for developing?
Posted: Sunday 13 March 2016 13:16
by gerritv
To make the WindowsLibraries file easier to find :
https://github.com/domoticz/win32-libra ... braries.7z
Gerrit