Which IDE for developing?

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
@MosWare
Posts: 10
Joined: Thursday 28 November 2013 18:51
Target OS: Raspberry Pi / ODroid
Domoticz version: v2.4031
Contact:

Which IDE for developing?

Post 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
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Which IDE for developing?

Post 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++
I am not active on this forum anymore.
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Which IDE for developing?

Post 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
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
@MosWare
Posts: 10
Joined: Thursday 28 November 2013 18:51
Target OS: Raspberry Pi / ODroid
Domoticz version: v2.4031
Contact:

Re: Which IDE for developing?

Post 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
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Which IDE for developing?

Post by pvm »

The github project contains a vs project
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
@MosWare
Posts: 10
Joined: Thursday 28 November 2013 18:51
Target OS: Raspberry Pi / ODroid
Domoticz version: v2.4031
Contact:

Re: Which IDE for developing?

Post 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
@MosWare
Posts: 10
Joined: Thursday 28 November 2013 18:51
Target OS: Raspberry Pi / ODroid
Domoticz version: v2.4031
Contact:

Re: Which IDE for developing?

Post 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
timldn
Posts: 2
Joined: Tuesday 20 October 2015 15:13
Target OS: Windows
Domoticz version: 2.3347
Location: London, England
Contact:

Re: Which IDE for developing?

Post 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.
Toni
Posts: 66
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Which IDE for developing?

Post 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)
fantom
Posts: 269
Joined: Thursday 26 March 2015 10:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Poland
Contact:

Re: Which IDE for developing?

Post by fantom »

Where can i find the newest Windows Libraries ??
http://www.domoticz.com/WindowsLibraries.zip is not working.

Fantom
@MosWare
Posts: 10
Joined: Thursday 28 November 2013 18:51
Target OS: Raspberry Pi / ODroid
Domoticz version: v2.4031
Contact:

Re: Which IDE for developing?

Post 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
fantom
Posts: 269
Joined: Thursday 26 March 2015 10:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Poland
Contact:

Re: Which IDE for developing?

Post 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
MarkMarsh
Posts: 2
Joined: Saturday 12 December 2015 19:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Which IDE for developing?

Post by MarkMarsh »

fantom wrote:Where can i find the newest Windows Libraries ??
http://www.domoticz.com/WindowsLibraries.zip is not working.
Fantom
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.
gerritv
Posts: 6
Joined: Sunday 13 March 2016 12:45
Target OS: Windows
Domoticz version:
Location: St Catharines, ON
Contact:

Re: Which IDE for developing?

Post by gerritv »

To make the WindowsLibraries file easier to find : https://github.com/domoticz/win32-libra ... braries.7z

Gerrit
Hobbies
Domoticz on Windows Server 2012 R2 on Acer H341, MySensors on Nano/ESP8266, testing on Windows 10
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest