Hi,
I'm currently testing the RC2 of pelles C, and I encounter a problem, I want to use the IDE for linux programming. I use Expandrive (http://www.expandrive.com/ (http://www.expandrive.com/)) in order to mount my linux partition on Windows, then I want to use the browse utility of Pelles C (for completion code) but I can't select the partition because I don't see it and if I try to type the correct partiton letter, it tells me : "unable to change folder 'E:\'".
(http://img229.imageshack.us/img229/5950/proofq.jpg)
(http://img155.imageshack.us/img155/9405/proof2m.jpg)
as you can see, partition E: doesn't appear...
thanks for your help.
Christian had an other way to use Pelles C for Linux:
Look at:
http://forum.pellesc.de/index.php?topic=2466.0
It seems you don't understand me:
I program on Windows for Linux, the linux server doesn't have wine nor server X.
Quote from: nicolas.sitbon on June 22, 2009, 03:17:20 PM
I program on Windows for Linux, the linux server doesn't have wine nor server X.
I think, that Pelles C is the best (freeware-) C-development-package for Windows I know. But when I had to write programs for Linux on Windows, I would take an IDE like Code::Blocks (http://www.codeblocks.org) or CodeLite (http://www.codelite.org) which work together with GCC (MinGW) and many other compilers and thay are made for both worlds Windows and Linux.
I haven't developed programs for Linux (exept perhaps a "Hello world!" program ;) ) but if you don't know this IDE give them a try. :)
I know codeblock and codelite but they don't parse the header so you don't have code completion...
Hi,
yes, code:block is really good. I like wxdev/c++ too.
For accessing Linux partitions from within windows i can advice the use of this here its really good:
http://www.fs-driver.org/
Greetings
Seltsamuel
Thanks but the problem is the same:
- my linux partition is JFS
- I need a sshfs client on Windows
expandrive is the best tool for that, I never had any problem with other software, it's strange.
Hi,
i have no experience with JFS sorry.
But http://wxdsgn.sourceforge.net/ has code completion. Maybe you should give it a try. I mostly use this or Code::Blocks when i port Unix/Linux Code.
Greetings
Seltsamuel
Is it possible to specify the source path to browse for code completion?
Hi,
yes, when i understand right what you want :-)
http://wxdsgn.svn.sourceforge.net/viewvc/wxdsgn/trunk/wxdevcpp/Help/html/editor_codecompletion.html
EDIT:
The best of this Suite is its under heavy development not like other dev/c++ projects that stagnate since months and years.
Greetings
Seltsamuel
I've just tried wxdevc++, the stable doesn't see the partition, and the release candidate sees it, create the cache completion file, but the code completion in the editor doesn't work, nothing happens.
Quote from: nicolas.sitbon on June 23, 2009, 11:08:39 AM
Is it possible to specify the source path to browse for code completion?
At Code::Blocks you can choose at settings Editor -> Code-completion and symbols browser the C/C++ parser and there you have the options:
-> Follow LOCAL includes
-> Follow GLOBAL includes
-> Parse preprocessor directives
code block doesn't see the partition too.
Hi,
did you add your sources to the completion cache of wxdev/c++ ?
Maybe you should take some minutes to look at the documentation its well made.
Greetings
Seltsamuel
I looked at the documentation, it's not difficult, I can add the directory with the release candidate version but the code completion doesn't work, I also tried the stable version, but it doesn't see the partition, so...
Hi,
dont know what else i can advice i use 7.0 RC5 and it works flawless.
Did you really add all FILES to the Cachelist? This takes a moment then your files are inside the list!
Inside the add dialogue you can select multiple together but i dont know if you can add a folder to get automatic included.
Another thing is inside editor optionstab CODE -> CLASSBROWSER you can check lokal AND global files to scan i have checked both!
Greetings
Seltsamuel
OK, now ti works, BUT, there isn't code completion on function name...
Quote from: nicolas.sitbon on June 23, 2009, 11:48:40 AM
code block doesn't see the partition too.
So I think it's a case for the Expandrive-support. ;)
Quote from: AlexN on June 23, 2009, 01:36:11 PM
Quote from: nicolas.sitbon on June 23, 2009, 11:48:40 AM
code block doesn't see the partition too.
So I think it's a case for the Expandrive-support. ;)
I don't think so, I have just tried netbeans and it works perfectly, so the problem comes from poide, code block or wxdev-c++ (stable).
Quote from: nicolas.sitbon on June 23, 2009, 01:47:02 PM
I don't think so, I have just tried netbeans and it works perfectly, so the problem comes from poide, code block or wxdev-c++ (stable).
AFAIK Pelle works at poide with memory mapped files. What the other IDEs do, I don't know. But if you know three applications, which don't work with Expandrive, you can ask if they have a workaround (or to search for a forum).
The problem is not in the method for reading file, rather it is in the "file chooser" (GetOpenFileName()).
Hi,
http://anon676.an.ohost.de/images/rgh1245762482q.png
as you see it works for me.
Im sure we shouldnt continue the offtopic here else Pelle wont like this :-)
So please get comfortable with wxdev/c++ and if necessary create a topic outside of Bug reports.
Greetings
Seltsamuel
What you show is the completion on function parameter not function name. Now, I still think that it's a bug, a misused api for example, cause I can see that partition in other software like Netbeans or Explorer.
Hi,
functions work too:
http://anon676.an.ohost.de/images/bwy1245767864a.png
Just type as far as you know then hold down STRG and press SPACE while holding STRG. This pops up all functions matching from all known includes and files headers and c files you added to the cache.
Greetings
Seltsamuel
What is STRG? I tried with CTRL + SPACE but it didn't work. Doesn't matter, I use netbeans which is fine.
Hi,
sorry my fault i use german keyboard ^^
strg=CTRL
And it should work as you see else you not added the files to the cache. Hm maybe it only shows functions not inside the local file but i doubt that.
Greetings
Seltsamuel