<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Benjamin+Loison</id>
	<title>Code::Blocks - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Benjamin+Loison"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php/Special:Contributions/Benjamin_Loison"/>
	<updated>2026-04-20T14:04:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Uniwin_remote_compiler&amp;diff=9758</id>
		<title>Installing Uniwin remote compiler</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Uniwin_remote_compiler&amp;diff=9758"/>
		<updated>2023-05-31T20:45:57Z</updated>

		<summary type="html">&lt;p&gt;Benjamin Loison: /* Troubleshooting */ Correct a link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
== What is Uniwin ==&lt;br /&gt;
If you already know what Uniwin is and what it does, please skip to the next section.&lt;br /&gt;
&lt;br /&gt;
This is from Uniwin's readme file:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
Uniwin is a ssh/sftp based toolset to develop C/C++ systems on remote Unix servers (including all Unix systems supporting ssh and sftp) based on Windows clients. By automatically synchronizing the source files on the client with the server and replacing GNU toolsets with some small stubs for them, Uniwin presents a seamless interface for remote development. Nothing needs to be changed to your favorite development environment just like you are developing on a local system. With a simple configuration procedure, all operations such as editing, compiling, and debugging will be exactly same as developing a local program.&lt;br /&gt;
&lt;br /&gt;
Uniwin also can be used as an automatical SFTP file synchronizing system between local Windows client and remote server. Another usage of Uniwin may be treating it as a FTP to SFTP Bridge. In fact, a fully functioned, multi-threaded FTP to SFTP Bridge is incorporated into the package to support the team synchronizing tools provided by eclipse.&lt;br /&gt;
&lt;br /&gt;
The advantage of Uniwin is it brings no change to you but providing a remote development environment in the backend.&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The rest of this document will describe everything needed to setup a valid Code::Blocks/Uniwin combination.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing Uniwin ==&lt;br /&gt;
The first step is to download Uniwin. You can get it now by clicking [http://sourceforge.net/projects/uniwin here].&lt;br /&gt;
Once the file is downloaded you may extract it in any location you like. For the rest of this document I will assume you installed it on the root of the C: drive (e.g. C:\Uniwin).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The next step is to configure it. To do this now, launch C:\Uniwin\Uniwin.exe.&lt;br /&gt;
&lt;br /&gt;
[[Image:Uniwin1.png]]&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ssh&amp;quot; page defines the SSH connection settings for the build commands.&lt;br /&gt;
You need to adjust the fields for your setup:&lt;br /&gt;
&lt;br /&gt;
* Remote host: The name or IP address of the unix host you will build your software on.&lt;br /&gt;
* Username: Your username on the remote unix host.&lt;br /&gt;
* Password: Your password.&lt;br /&gt;
* Leave the rest as they are. They 're sensible defaults.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now switch to the &amp;quot;sftp&amp;quot; page. SFTP is used to synchronize the local directory with the remote one and vice-versa.&lt;br /&gt;
&lt;br /&gt;
[[Image:Uniwin2.png]]&lt;br /&gt;
&lt;br /&gt;
Edit the top three fields and use the same values as those you used in the &amp;quot;ssh&amp;quot; page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, switch to the &amp;quot;Dir mapping&amp;quot; page. In this page you &amp;quot;map&amp;quot; local directories to remote ones.&lt;br /&gt;
&lt;br /&gt;
[[Image:Uniwin3.png]]&lt;br /&gt;
&lt;br /&gt;
In the picture above you can see that I have defined one directory mapping:&lt;br /&gt;
 C:\Devel\NetTest  --&amp;gt;  /home/op/NetTest&lt;br /&gt;
What this does is keep those two directories (local and remote) synchronized when any file/folder is changed.&lt;br /&gt;
&lt;br /&gt;
You can add as many directory mappings as you like. Usually one is enough though (the base directory of your workspace/project).&lt;br /&gt;
&lt;br /&gt;
That was all the configuration that was needed. Pretty easy, huh? :).&lt;br /&gt;
Now click the OK button. This will close the Uniwin configuration dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Very important note:'''&lt;br /&gt;
&lt;br /&gt;
''Uniwin must be running while you work on a project that uses it. This means that you should launch the Uniwin configuration before building a project with Uniwin and let it run while you work on that project. To hide Uniwin out of sight, hit the Close button on the top-right of the window (do '''not''' click OK or Cancel). This will shove it to systray and let it run there.''&lt;br /&gt;
&lt;br /&gt;
== Configuring Code::Blocks for Uniwin ==&lt;br /&gt;
The &amp;quot;hard part&amp;quot; is over now. You can return to the comfortable Code::Blocks environment (pun intended) to configure it to use Uniwin ;).&lt;br /&gt;
&lt;br /&gt;
What you need to do is add a new compiler. To do this, click on the menu &amp;quot;Settings-&amp;gt;Compiler and debugger&amp;quot;.&lt;br /&gt;
The dialog that comes up will read &amp;quot;Global compiler settings&amp;quot;, which is exactly what we want.&lt;br /&gt;
&lt;br /&gt;
Now, make sure you have the &amp;quot;GNU GCC Compiler&amp;quot; selected in the &amp;quot;Selected compiler&amp;quot; section:&lt;br /&gt;
&lt;br /&gt;
[[Image:Uniwin4.png]]&lt;br /&gt;
&lt;br /&gt;
Click the &amp;quot;Copy&amp;quot; button. Code::Blocks will ask you to enter a name for the new compiler. Use &amp;quot;GCC (Uniwin)&amp;quot; as the name. An informational message will appear. Click OK to close it and switch to the &amp;quot;Programs&amp;quot; page.&lt;br /&gt;
&lt;br /&gt;
Change the installation directory and programs like shown below:&lt;br /&gt;
&lt;br /&gt;
[[Image:Uniwin5.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once done, switch to the &amp;quot;Other&amp;quot; page and click the button labeled &amp;quot;Advanced options...&amp;quot;. In the new dialog that opens, switch to the &amp;quot;Others&amp;quot; page:&lt;br /&gt;
&lt;br /&gt;
[[Image:Uniwin6.png]]&lt;br /&gt;
&lt;br /&gt;
Check the box labeled &amp;quot;Force forward slash as path separator&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That's it! This wasn't so hard, was it?&lt;br /&gt;
&lt;br /&gt;
== Configuring a project for Uniwin ==&lt;br /&gt;
This is the easiest part of all :).&lt;br /&gt;
Just select the newly added compiler for each project you want to build using Uniwin.&lt;br /&gt;
&lt;br /&gt;
''Don't forget to run Uniwin.exe before trying to build a project using this compiler.''&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
With the current Uniwin versions, you can't actually debug remote projects from inside Code::Blocks. I have patched Uniwin's proxy gdb.exe to allow for this. You can get the patched file from [https://forums.codeblocks.org/index.php?topic=4516.msg36708#msg36708 this forum message]. Just decompress it in Uniwin's folder, replacing the old gdb.exe.&lt;/div&gt;</summary>
		<author><name>Benjamin Loison</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Cscope_plugin&amp;diff=9756</id>
		<title>Cscope plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Cscope_plugin&amp;diff=9756"/>
		<updated>2023-05-20T14:07:40Z</updated>

		<summary type="html">&lt;p&gt;Benjamin Loison: /* Installing CScope */ Add a missing dot.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Code::Blocks Contrib Plugins]]&lt;br /&gt;
{{Infobox_Plugin|&lt;br /&gt;
  name = Cscope |&lt;br /&gt;
  logo = [[Image:Generic-plugin.png]] |&lt;br /&gt;
  developer = Daniel Anselmi |&lt;br /&gt;
  maintainer = |&lt;br /&gt;
  version = 0.3&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== General information ==&lt;br /&gt;
&lt;br /&gt;
This plugin integrates the source code searching features of [http://cscope.sourceforge.net/ Cscope] into Code::Blocks (a Windows build is available at [http://code.google.com/p/cscope-win32/ Cscope-win32]). Cscope is especially useful on large projects, and can search for:&lt;br /&gt;
* all references to a symbol&lt;br /&gt;
* global definitions&lt;br /&gt;
* functions called by a function&lt;br /&gt;
* functions calling a function&lt;br /&gt;
* text string&lt;br /&gt;
* regular expression pattern&lt;br /&gt;
* a file&lt;br /&gt;
* files including a file&lt;br /&gt;
Although the parser within Cscope is targeted at C, it retains enough flexibility to provide functionality with C++ (and Java) code.&lt;br /&gt;
== Installing CScope ==&lt;br /&gt;
This instruction is for codeblocks SVN Version &amp;gt; 11828.&lt;br /&gt;
=== Linux ===&lt;br /&gt;
Under Linux installing cscope should be as easy as calling your favorite package manager and installing cscope. Codeblocks should find the executable by default. If it can not find the cscope executable please set it in Settings-&amp;gt;Environement-&amp;gt;CScope . You can find the path to the cscope executable by typing &amp;lt;code&amp;gt;locate cscope&amp;lt;/code&amp;gt; in your favorite terminal.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is hard to find a precompiled binary for cscope on windows. The easiest solution is to install msys2 [https://www.msys2.org/]. Follow the instruction on the website to install msys2. After installing and updating as described open the msys terminal and type  &amp;lt;code&amp;gt;pacman -S cscope&amp;lt;/code&amp;gt;. This will install cscope from the global package repository. &lt;br /&gt;
&lt;br /&gt;
Now you have to setup codeblocks:&lt;br /&gt;
# Open Codeblocks&lt;br /&gt;
# Settings-&amp;gt;Environment-&amp;gt;CScope&lt;br /&gt;
# Press the button with the &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; dots&lt;br /&gt;
# Search the ''cscope.exe'' executable. It is probably under &amp;lt;code&amp;gt;INSTALL_DIRECTORY_OF_MSYS2\usr\bin\cscope.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
# Close the dialog with OK&lt;br /&gt;
# Now you should be able to use the cscope functions in codeblocks (for ex. &amp;quot;Find functions calling XXXX&amp;quot;).&lt;/div&gt;</summary>
		<author><name>Benjamin Loison</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Cscope_plugin&amp;diff=9755</id>
		<title>Cscope plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Cscope_plugin&amp;diff=9755"/>
		<updated>2023-05-20T14:07:05Z</updated>

		<summary type="html">&lt;p&gt;Benjamin Loison: /* Windows */ Correct a typo.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Code::Blocks Contrib Plugins]]&lt;br /&gt;
{{Infobox_Plugin|&lt;br /&gt;
  name = Cscope |&lt;br /&gt;
  logo = [[Image:Generic-plugin.png]] |&lt;br /&gt;
  developer = Daniel Anselmi |&lt;br /&gt;
  maintainer = |&lt;br /&gt;
  version = 0.3&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== General information ==&lt;br /&gt;
&lt;br /&gt;
This plugin integrates the source code searching features of [http://cscope.sourceforge.net/ Cscope] into Code::Blocks (a Windows build is available at [http://code.google.com/p/cscope-win32/ Cscope-win32]). Cscope is especially useful on large projects, and can search for:&lt;br /&gt;
* all references to a symbol&lt;br /&gt;
* global definitions&lt;br /&gt;
* functions called by a function&lt;br /&gt;
* functions calling a function&lt;br /&gt;
* text string&lt;br /&gt;
* regular expression pattern&lt;br /&gt;
* a file&lt;br /&gt;
* files including a file&lt;br /&gt;
Although the parser within Cscope is targeted at C, it retains enough flexibility to provide functionality with C++ (and Java) code.&lt;br /&gt;
== Installing CScope ==&lt;br /&gt;
This instruction is for codeblocks SVN Version &amp;gt; 11828&lt;br /&gt;
=== Linux ===&lt;br /&gt;
Under Linux installing cscope should be as easy as calling your favorite package manager and installing cscope. Codeblocks should find the executable by default. If it can not find the cscope executable please set it in Settings-&amp;gt;Environement-&amp;gt;CScope . You can find the path to the cscope executable by typing &amp;lt;code&amp;gt;locate cscope&amp;lt;/code&amp;gt; in your favorite terminal.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is hard to find a precompiled binary for cscope on windows. The easiest solution is to install msys2 [https://www.msys2.org/]. Follow the instruction on the website to install msys2. After installing and updating as described open the msys terminal and type  &amp;lt;code&amp;gt;pacman -S cscope&amp;lt;/code&amp;gt;. This will install cscope from the global package repository. &lt;br /&gt;
&lt;br /&gt;
Now you have to setup codeblocks:&lt;br /&gt;
# Open Codeblocks&lt;br /&gt;
# Settings-&amp;gt;Environment-&amp;gt;CScope&lt;br /&gt;
# Press the button with the &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; dots&lt;br /&gt;
# Search the ''cscope.exe'' executable. It is probably under &amp;lt;code&amp;gt;INSTALL_DIRECTORY_OF_MSYS2\usr\bin\cscope.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
# Close the dialog with OK&lt;br /&gt;
# Now you should be able to use the cscope functions in codeblocks (for ex. &amp;quot;Find functions calling XXXX&amp;quot;).&lt;/div&gt;</summary>
		<author><name>Benjamin Loison</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Cscope_plugin&amp;diff=9754</id>
		<title>Cscope plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Cscope_plugin&amp;diff=9754"/>
		<updated>2023-05-20T14:03:38Z</updated>

		<summary type="html">&lt;p&gt;Benjamin Loison: /* Windows */ Remove unnecessary square brackets.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Code::Blocks Contrib Plugins]]&lt;br /&gt;
{{Infobox_Plugin|&lt;br /&gt;
  name = Cscope |&lt;br /&gt;
  logo = [[Image:Generic-plugin.png]] |&lt;br /&gt;
  developer = Daniel Anselmi |&lt;br /&gt;
  maintainer = |&lt;br /&gt;
  version = 0.3&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== General information ==&lt;br /&gt;
&lt;br /&gt;
This plugin integrates the source code searching features of [http://cscope.sourceforge.net/ Cscope] into Code::Blocks (a Windows build is available at [http://code.google.com/p/cscope-win32/ Cscope-win32]). Cscope is especially useful on large projects, and can search for:&lt;br /&gt;
* all references to a symbol&lt;br /&gt;
* global definitions&lt;br /&gt;
* functions called by a function&lt;br /&gt;
* functions calling a function&lt;br /&gt;
* text string&lt;br /&gt;
* regular expression pattern&lt;br /&gt;
* a file&lt;br /&gt;
* files including a file&lt;br /&gt;
Although the parser within Cscope is targeted at C, it retains enough flexibility to provide functionality with C++ (and Java) code.&lt;br /&gt;
== Installing CScope ==&lt;br /&gt;
This instruction is for codeblocks SVN Version &amp;gt; 11828&lt;br /&gt;
=== Linux ===&lt;br /&gt;
Under Linux installing cscope should be as easy as calling your favorite package manager and installing cscope. Codeblocks should find the executable by default. If it can not find the cscope executable please set it in Settings-&amp;gt;Environement-&amp;gt;CScope . You can find the path to the cscope executable by typing &amp;lt;code&amp;gt;locate cscope&amp;lt;/code&amp;gt; in your favorite terminal.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is hard to find a precompiled binary for cscope on windows. The easiest solution is to install msys2 [https://www.msys2.org/]. Follow the instruction on the website to install msys2. After installing and updating as described open the msys terminal and type  &amp;lt;code&amp;gt;pacman -S cscope&amp;lt;/code&amp;gt;. This will install cscope from the global package repository. &lt;br /&gt;
&lt;br /&gt;
Now you have to setup codeblocks:&lt;br /&gt;
# Open Codeblocks&lt;br /&gt;
# Settings-&amp;gt;Environment-&amp;gt;CScope&lt;br /&gt;
# Press the button with the &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; dots&lt;br /&gt;
# Search the ''cscope.exe'' executable. It is probably under &amp;lt;code&amp;gt;INSTALL_DIRECTORY_OD_MSYS2\usr\bin\cscope.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
# Close the dialog with OK&lt;br /&gt;
# Now you should be able to use the cscope functions in codeblocks (for ex. &amp;quot;Find functions calling XXXX&amp;quot;).&lt;/div&gt;</summary>
		<author><name>Benjamin Loison</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Cscope_plugin&amp;diff=9753</id>
		<title>Cscope plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Cscope_plugin&amp;diff=9753"/>
		<updated>2023-05-20T13:22:59Z</updated>

		<summary type="html">&lt;p&gt;Benjamin Loison: /* General information */ Correct a typo.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Code::Blocks Contrib Plugins]]&lt;br /&gt;
{{Infobox_Plugin|&lt;br /&gt;
  name = Cscope |&lt;br /&gt;
  logo = [[Image:Generic-plugin.png]] |&lt;br /&gt;
  developer = Daniel Anselmi |&lt;br /&gt;
  maintainer = |&lt;br /&gt;
  version = 0.3&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== General information ==&lt;br /&gt;
&lt;br /&gt;
This plugin integrates the source code searching features of [http://cscope.sourceforge.net/ Cscope] into Code::Blocks (a Windows build is available at [http://code.google.com/p/cscope-win32/ Cscope-win32]). Cscope is especially useful on large projects, and can search for:&lt;br /&gt;
* all references to a symbol&lt;br /&gt;
* global definitions&lt;br /&gt;
* functions called by a function&lt;br /&gt;
* functions calling a function&lt;br /&gt;
* text string&lt;br /&gt;
* regular expression pattern&lt;br /&gt;
* a file&lt;br /&gt;
* files including a file&lt;br /&gt;
Although the parser within Cscope is targeted at C, it retains enough flexibility to provide functionality with C++ (and Java) code.&lt;br /&gt;
== Installing CScope ==&lt;br /&gt;
This instruction is for codeblocks SVN Version &amp;gt; 11828&lt;br /&gt;
=== Linux ===&lt;br /&gt;
Under Linux installing cscope should be as easy as calling your favorite package manager and installing cscope. Codeblocks should find the executable by default. If it can not find the cscope executable please set it in Settings-&amp;gt;Environement-&amp;gt;CScope . You can find the path to the cscope executable by typing &amp;lt;code&amp;gt;locate cscope&amp;lt;/code&amp;gt; in your favorite terminal.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
It is hard to find a precompiled binary for cscope on windows. The easiest solution is to install msys2 [[https://www.msys2.org/]]. Follow the instruction on the website to install msys2. After installing and updating as described open the msys terminal and type  &amp;lt;code&amp;gt;pacman -S cscope&amp;lt;/code&amp;gt;. This will install cscope from the global package repository. &lt;br /&gt;
&lt;br /&gt;
Now you have to setup codeblocks:&lt;br /&gt;
# Open Codeblocks&lt;br /&gt;
# Settings-&amp;gt;Environment-&amp;gt;CScope&lt;br /&gt;
# Press the button with the &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; dots&lt;br /&gt;
# Search the ''cscope.exe'' executable. It is probably under &amp;lt;code&amp;gt;INSTALL_DIRECTORY_OD_MSYS2\usr\bin\cscope.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
# Close the dialog with OK&lt;br /&gt;
# Now you should be able to use the cscope functions in codeblocks (for ex. &amp;quot;Find functions calling XXXX&amp;quot;).&lt;/div&gt;</summary>
		<author><name>Benjamin Loison</name></author>
	</entry>
</feed>