How to configure Eclipse CDT to use WAF for ns3 build? - eclipse-cdt

I'm trying to build ns3 on windows, and I'm using eclipse.
I have a problem to configure Eclipse to trigger the external builder tool "waf"
Each time I adjust the build command I get an error, as eclipse seems not to be able to trigger the waf script
Any help with that, I have tried the HOWto Page on ns3 WiKi but it doesn't seem to be working with me

Default NS-3 does not run with native Windows compiler. There is an 'experimental' version of NS-3 that can run on Visual Studio. For more information read this: http://www.nsnam.org/wiki/Ns-3_on_Visual_Studio_2012

Related

How to write native C++ in VS 2022, using Linux for build and test

I need a native C++ app to make from scratch. It has to run on linux (CentOS). I want to use VS2022 to write and test. I have Hyper-V VM with CentOS.
I tried to google a solution but there are only posts for using WSL.
Can someone please describe steps to connect VS to Linux VM instead of WSL so I can build and run the app on the VM.
This article describes the process: https://devblogs.microsoft.com/cppblog/linux-development-with-c-in-visual-studio/
add workload to the VS using VS Installer (Linux and embedded..)
create project of correct type
add SSH credentials in the project Properties (also can be added/removed/edited in Tools-Options-Cross Platform)

Configure Eclipse CDT not to launch external tool on unsuccessfull build

I am using Eclipse CDT on Linux to create console application. I configured External tool to launch more advanced terminal than internal Console window. Internal Eclipse console does not suit the style of application I am developing. However I can't find a way to configure Eclipse not to launch external tool if the build operation fails. Or other approach would be to remove binary from output folder, but only on unsuccessfull build. I can remove binary before every build to do that, but it would take more time on every launch to re-link. There is a Prompt option in normal Run mode, but i cannot itegrate my Shell script to launch my exterminal there. Advices on achieving such functionality?

Eclipse CDT PTP Remote Tools will remotely build makefile, but not make/compile after

I am trying to use Eclipse 4.3 on Windows for remote Linux C++ development. I am currently using the Eclipse PTP package which comes with all the necessary plugins to do remote development. I made a new C++ Remote Project and I have it set to talk to the linux machine via the 'Remote Tools' service. I am able to use all the terminal and file browsing services as expected. However, when I go to 'build' my project, all it does is generate the makefile on the remote machine, it will not compile it into a binary. Through terminal, I can make the makefile and it will compile be run successfully. However, the generated binary is not seen by eclipse and so all the nice binary things like Run/Debug can not be used on the manually made binary.
Essentially I am looking for a way to hit the 'Build' button, and have it compile my remote project into a binary that will be recognized by eclipse.

Jenkins with a Cocos2d-X project

I have just recently moved into developing Cocos2d-X application for Android devices, from native Android application development. I am looking to configure my Cocos2d-X C++/JAVA project in a JENKINS environment.
Has anyone any experience of using JENKINS with cocos2d-X projects ? Any tips on where i can get started ?
You can use the cutom scrip option, for example if you use the cocos2d-x model for build you can build your project with the custom command "make", in adition you can use statically code check, bla, bla, ...
I use too my machine as slave for no put the build environment in the server.
Yes. It depends upon the build tool you are using. I am using Ant with Eclipse. Try to read about building an Android Project from Command Line Using ant or gradle. and there you go,Include "Build Step"-> "Execute shell" in jenkins.
You have to manually check for all dependencies.

How Remote Development of C++ works in Netbeans?

Hi we want to use remote development features of netbeans but while trying out on our setup its very slow. I want to understand its feasibility of integrating our build environment with netbeans.
Our setup would be normally:
1. Windows 7 Professional 64bit where we install netbeans
2. RHEL 5.5 64bit linux where we have tools and sources
Normally we directly connect to that machine through PuTTY and use VIM to edit sources and gmake to compile and build projects. Now when I created the "New Remote Project with existing sources" and try to use it It took more time to load the project.
So Can anybody tell me how actually this remote compilation works??
Because we have some GBs of sources here on linux box and I want to know is it possible for smooth development with this big data??
Simple steps. Read this tutorial. You just need a SSH-server on your Linux.
The process is easy, your Netbeans connects to the SSH-server and searches for compilation tools then uses them to build your projects.
The second issue is creating a shared folder that your Windows and Linux able to access to it. I suggest you first create a shared folder on your Windows and use Samba client on your Linux.