News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Compilation problem of codestat plug-in

Started by killerbot, December 28, 2005, 12:05:48 PM

Previous topic - Next topic

killerbot

On my laptop everything bulds fine. but on my desktop pc I always get the following error message :
cc1plus.exe: sdk.h : No such file or directory

Everything is windows.

Both installations are very similar, on the laptop the gcc of an official codeblocks install. On the desktop a manual install of gcc 3.4.4 as described on the wiki (so on that machine there's nothing left from an install of Cb, neither dv-cpp, cleanly formatted 2 days ago).

I think the global variables are OK, since on both systems I can compile CB itself. I saw at the project settings of codestat that there's a compiler option -include "sdk.h".
Other strange thing / I can't open any cb header files by right clicking on it, wx headers work.

Any ideas ?


Thanks,
Lieven


PS : even more off topic : anyone here who has dual boot windows/linux (example : suse10 with grub), and then afterwards reinstalled windows --> overwrites MBR. Canr't get into linux anymore. Tried already several things, all o them fail.
Also here : any ideas are welcome.
Thanks again.

killerbot

forget about the first part, just found it the poblem --> STUPID ME !

thomas

Insert boot CDROM, and type linux rescue?
Then you can set up grub the way you want... :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

killerbot

thanks, but it's that last part that I am too little experienced in  :?
but will try again

thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

grv575

LFS usually has the minimal commands needed for this kind of stuff (so easier to follow than HOWTOs in general - although they make good references for changing more complicated stuff) so it's a good place to look for linux configuration docs:

http://www.linuxfromscratch.org/lfs/view/stable/chapter06/grub.html
http://www.linuxfromscratch.org/lfs/view/stable/chapter08/grub.html

basically just:
grub
root (hd0<tab><tab>) - pick bootup root partition (partition /boot is on)
setup (hd0) - install to mbr
quit

then write/edit the menu.lst/grub.conf file (name depends on distro)

takeshimiya

#6
I really recommend SystemRescueCD

    * GNU Parted  is the best tool for editing your disk partitions under linux
    * QtParted is a Partition Magic clone for Linux.
    * Partimage is a Ghost/Drive-image clone for Linux
    * File systems tools (e2fsprogs, reiserfsprogs, xfsprogs, jfsutils, ntfsprogs, dosfstools): they allow you to format, resize, debug an existing partition of your hard disk
    * Sfdisk allows you to backup and restore your partition table


http://www.sysresccd.org/

JIC: http://www.ubuntuforums.org/showthread.php?t=76652 "HOWTO: Restore GRUB (if your MBR is messed up)"