![]() |
Re: using eclipse
Quote:
Quote:
Go to the project menu and select properties. Go to C/C++ Build and selct miscellaneous under C18 Compiler. Uncheck verbose output. By the way, compiler (not linker) errors and warnings should show up at the bottom of of the screen under the problems tab. If it doesn't click on the little button at the right that has an arrow on it. A window saying filters should show up. Make sure that C/C++ Problems is checked. |
Re: using eclipse
hmmm -- sry -- i dont really know how to take screenshots w/ KDE ... but here's what i got:
FRC Debug |-> all *.o files |-> makefile |-> objects.mk |-> source.mk |-> subdir.mk .cdtbuild .cdtproject .project 18f8520user.lkr all *.h files all *.c files FRC_altimers.lib FTC_library.lib README.txt i went into windows land and successfully compiled -- but at the end of the windows output there was the output for the mp2hex program -- i dont get that in linux -- i'm guessing thats my problem -- but why doesnt the linux build run that program? |
Re: using eclipse
> hmmm -- sry -- i dont really know how to take screenshots w/ KDE ...
ctrl-print for a desktop screenshot alt-print for a window screenshot (of course you then need to paste in to some program that knows how to accept that clipboard item. Something like kword works nicely) Or, if you want to use a program, you can use GIMP or KSnapshot to take your screenshots. Regarding the verbose output. I rewrote the adambots Makefile to be much quieter (see previous post for link) but of course I am not using eclipse, so I think it is a different issue. |
Re: using eclipse
1 Attachment(s)
here's the shot (in 2 parts)
|
Re: using eclipse
Quote:
|
Re: using eclipse
Do you think that you could give me the exact path of of the header files and libraries included with the C18 compiler? It'll help with altering the plugin for linux.
Thanks, Ben |
Re: using eclipse
everything is pretty much in /opt/mcc18
headers -- /opt/mcc18/h libraries -- /opt/mcc18/lib linker ----- /opt/mcc18/lkr compiler linker etc... /opt/mcc18/bin mpasm --- /opt/mcc18/mpasm if u need any other directories just lemme know ~Xavier |
Re: using eclipse
For the CDT, do we want the SDK or the other thing? (or both) They both say "runtime" in the description. :confused: I can just try it, I suppose. :)
Thanks for your work on this, prograid. --EDIT-- It appears the SDK includes the other part, so my question is basically answered. --EDIT-- Well... I got it mostly working once, but I deleted the project and tried to move it down to hte root directory. :/ Now when I go in to set my linker options, I get this: Image removed because of solution to problem. The project title comes from me getting angry. :) |
Re: using eclipse
Quote:
In addition, i'm not too familiar with Linux, but have you added /opt/mcc18/bin to your path. I'll try including the entire path in the plugin. Quote:
If none of this works, check where you have installed eclipse. C:\directories \eclipse\workspace This is probably your default workspace. Try moving the entire eclipse folder to the root. That way you can put your robotics projects in your default workspace. If you have broadband (or still have the original zip file download from eclipse), you'd probably be better off unzipping the zip file from eclipse into the new directory and redownloading the CDT SDK (you were right about that) and reinstalling my plug-in. Then try creating a new project and importing your robotics code into it: Click on file, import and then select file system and click next. Choose the directory in which your code is stored. Select all the *.c, *.h, *.lib, and 18f8520user.lkr files. Then click finish. Now try changing linker settings. Some you can't change but most you can. most of the functionality is for the compiler right now. If you would like to change something by your self check out the Managed Build Extensibility reference document that came with the CDT (it's in the help menu). If you think any other additional features would be useful PM me. |
Re: using eclipse
Most odd... I had deleted the project, but that doesn't remove the actual project (not source) files. When I created the "new" project after that, it didn't clean the messed up project files, so it must have just corrupted somehow.
Well, got it working. If I can find the MCC compiler. ;) Thanks for all your work on this This thread gets a sig spot. :D |
Re: using eclipse
Quote:
And about the compiler, have you simply not installed it or is it a problem with eclipse? |
Re: using eclipse
Quote:
Quote:
|
Re: using eclipse
yea --- 's called mplink.exe (there's also _mplink.exe, i'm not quite sure what that is .. but yea). and i haven't tried adding it to my path -- i thought i'd tried everlything -- i'll check when i get home and let u know if it helped any
thanks ~Xavier |
Re: using eclipse
Quote:
|
Re: using eclipse
yea -- no dice when adding it to the $PATH
something kinda funny i noticed though :: mplink.exe and mcc18.exe are in /opt/mcc18/bin/ but mplink and mcc without the .exe extention are in /usr/bin directory but of course the files mp2hex.exe and _mplink.exe are only found in /opt/mcc18/bin thanks ~Xavier PS: its still complaining that there's no /etc/mcc-wrapper/mplink.conf and i should run mcc-setup == i dont have mcc-setup anywhere -- and it's only stated as a "warning" -- this couldn't be part of the problem -- could it? |
| All times are GMT -5. The time now is 07:58. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi