What is the significance of a source folder/directory with a .tproj suffix? - file-extension

What is the significance of a source folder/directory with a .tproj suffix ?

.tproj is a Trinity Project file. Trinity is now called Graph Engine however.
You can open them in Visual Studio after installing the Graph Engine VSExtension

Project Builder, which was the IDE for NeXTStep, OPENSTEP, and Mac OS X that later became Xcode, used to have the concept of a "tool project", for which it would make a .tproj folder. So I believe in the concept of Mac shell utilities, you're looking at something that's similar in concept to a .xcodeproj.

Related

how can I change Android Studio system files folder path on Windows?

I install my development tools from zipped distributions and by setting paths by self so I can easily continue using after system fails/reinstallations as well as copying into other PCs I have.
I am trying to use Android Studio on a path portable as possible, and it is mostly going well. I extracted android studio under t:\Tools\Android\android-studio\ and use following command in CMD console to start it.
set ANDROID_SDK_ROOT=t:\Tools\Android\sdk\
set ANDROID_HOME=t:\Tools\Android\sdk\
set ANDROID_SDK_HOME=t:\Tools\Android\.android
set ANDROID_PREFS_ROOT=t:\Tools\Android\.android
t:\Tools\Android\android-studio\bin\studio64.exe
Today I found out this is not enough for my purposes after a plugin fails to load because of incompatibility, that the path to "Android Studio system files" is still set to
%USER%\AppData\Local\Google\AndroidStudio4.1
I couldn't find a proper answer on how to set this path under t:\Tools\Android\ through an environment variable. answers I could find are just mentioning this path but does not tell about changing it. (or just missed in like millions of topics containing same search terms)
Can you please show a way, if there is any, to change this folder path?
This does not seems to be done by simple environment variables.
However, it seems a bit of manual work makes it possible.
editing editing these lines in t:\Tools\Android\android-studio\bin\idea.properties file
idea.config.path=${idea.home.path}/.AndroidStudio/config
idea.system.path=${idea.home.path}/.AndroidStudio/system
idea.plugins.path=${idea.config.path}/plugins
idea.log.path=${idea.system.path}/log
and then using this environment variable
set STUDIO_PROPERTIES=t:\Tools\Android\android-studio\bin\idea.properties
Visit Making Android Studio Portable (2017+ versions) for more info for portability

Setting up ARM Toolchain in Qt Creator (Ardupilot project)

I'm starting a drone project based on Ardupilot and trying to build Ardupilot project using Qt Creator, following this instructions . I'm working with Ubuntu, BTW.
You've probably find this stupid (cause it probably is), but I'm not able to set up the compiler (in spite of having the instructions):
As suggested, I downloaded the compiler from here, and tried to follow the instructions but after choosing a custom compiler in 'Build & Run', the 'Make path' is driving me crazy and I have no idea of which path is that (in other words, the equivalent to the file 'make.exe' in Windows, see the image attached), since there doesn't seem to be anything similar in the compiler folder and it doesn't seem to refer to the Makefile of the project.
Hope anyone can help me, as you've surely noticed, I'm pretty new to big, real projects and also to Linux itself.
Thanks in advance,
Eduardo
PD:
Instructions provided (both Windows & Linux):
Linux: Which one is the 'Make path'?
The build directory should point to ardupilot/ArduCopter if you are building for Copter
In the example it was pointing to ardupilot
Compiler path: /opt/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc
The make file path: /usr/bin/make
First. What version of qt? If it's 5.7 then the 2015 toolkit won't work. If you're new to Linux then you should definitely stay with a prior version of qt 5.7 until someone has compiled a new toolkit that supports a c++11 compiler.
You don't have enough info on what you're doing to give a good answer though.
What do you need the program to do? If it's Qt3d on Arm then you have a big problem only 5.7 will do.
Hope this helps.

How to use Intel (c) Cilk Plus with CodeBlocks

I have been recently learning multi-threaded algorithms from Introduction to Algorithms (by Cormen, Rivest), third edition. And the preface of the book inspired me to use Cilk Plus extension for the same developed by MIT. However, I have not been able to get any article online to integrate it with my CodeBlocks IDE for utilization. Is there any set of commands to declare linker settings for the same?
Contents of the Folder C:\Programs(x86)\Intel\CilkTools
bin : contains ia32, intel64 folders (containing dlls) + other dlls and exe
doc : an html page and a jpg document
include : has CilkTools which has four .h files : cilkscreen.h, cilkveiw.h, fake_mutex.h, and lock_guard.h
opensrc : has a zip file (ZedGraph, open source graphing package)
visual studio and example files
You're confusing the compiler with the Cilk tools. First you'll need to install Intel C++ Composer and integrate that into your IDE. The Wikipedia article I found on Code Blocks claims that should work, but I don't know the details.
Then you'll want to install the Intel Cilk Plus SDK which provides you the Cilkscreen race detector and the Cilkview scalability analyzer. The Cilk tools come with an addin to integrate into Visual Studio, but you'll have to use the command line with other IDEs. The major benefit of the addin is being able to click on a callstack entry and go to that line in the Visual Studio editor. But the text version of the report is easy enough to read.
Don't ask why the names are so confusing. We (the development team) were not allowed to choose the names.
- Barry Tannenbaum
Intel Cilk Plus Development

chef how to overwrite attribtues in json file

I'm trying to run the same recipe twice with different attributes.
Is there a way to specify it in the run list?
Example:
"myRecipe":{
"run-list": "recipe[test], recipe[test]"
}
and the first one should have flag=false while second one should execute with flag=true.
No, that's not possible. You have to implement such logic in your recipe and e.g iterate over an array.
I answered a similar question previously:
The short version is, you need to modify your thinking. If you need to install software and configure it, you might do better to think about breaking it apart into two pieces.
Longer answer: have you taken a look at any of the cookbooks on the opscode community site? Many patterns recur and work that others have published could certainly be useful... Especially as you appear to be just starting out with chef.
I've also tried using resources:
define :installx, :cmd=>'good', :upgrade=>true do
Chef::Log.info('cmd = #{params[:cmd]}')
if params[:upgrade]
Chef::Log.info('upgrading...')
else
Chef::Log.info('installing...')
end
end
installx resource
installx "name" do
cmd "install 1"
upgrade true
end
and it errors out: "ERROR: Cannot find a resource for define"
This is pretty much right out of the official documentation. If anyone know what's causing this, please let me know.
Some of the Chef cookbook are written very well in my opinion such as the visualstudio cookbook from https://github.com/daptiv/visualstudio.
I do have a case when I need to run this recipe twice. I have to install Visual Studio 2012 and 2013 on a machine to compile different source code. These versions of Visual Studio have the exact same silent install process by point to an XML file so it was easy to make it work for 2012 and 2013.
I was able to create a Chef role file to override the attributes of the visualstudio cookbook to point my private Visual Studio 2012 ISO. That was easy. Then I created another Chef role file for installing 2013 to point to a separate Visual Studio 2013 ISO. Since Chef doesn't run the recipe twice it ends up only installing Visual Studio 2013. :(
It would suck if I have to make two local copies of the "visualstudio" cookbook.

which GUI based C++ IDE is commonly used for gnome applications

which GUI based C++ IDE is commonly used for developing gnome applications?
I am asking specifically for the gnome-system-monitor because I would like to fiddle around with it. And I would like to do it with a nice GUI based C++ IDE.
I thought that Anjuta is the default IDE for gnome applications. But when I fetch the sources there are no files which are obviously project files.
EDIT: Here is what I did so far
# get the build dependencies for the gnome-system-monitor
sudo aptitude build-dep gnome-system-monitor
# get the sources for the gnome-system-monitor
mkdir example
cd example
apt-get source gnome-system-monitor
# build the gnome-system-monitor
cd gnome-system-monitor-2.28.0
sh configure
make
But nothing inside gnome-system-monitor-2.28.0 looks like a "project file".
I believe Glade is used, or at least was used at the time.
BTW, I'm not sure Gnome is C++. There are C++ wrappers, like gtkmm and glibmm, but I believe that core Gnome is written in C.
Simply "create project from existing sources" in Anjuta. Anjuta's "project files" do not contain a lot of information, instead the Makefile.am and configure.ac files are used.
I have no idea what the gnome-system-monitor developers use, but I've read that a lot of Gnome developers use emacs, which apparently also doesn't require "project files".

Resources