Author Topic: Compilation problem of codestat plug-in  (Read 3488 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5179
Compilation problem of codestat plug-in
« on: December 28, 2005, 12:05:48 pm »
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.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5179
Re: Compilation problem of codestat plug-in
« Reply #1 on: December 28, 2005, 12:07:17 pm »
forget about the first part, just found it the poblem --> STUPID ME !

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Compilation problem of codestat plug-in
« Reply #2 on: December 28, 2005, 12:12:11 pm »
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."

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5179
Re: Compilation problem of codestat plug-in
« Reply #3 on: December 28, 2005, 01:00:55 pm »
thanks, but it's that last part that I am too little experienced in  :?
but will try again

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline grv575

  • Official tester
  • Regular
  • ***
  • Posts: 381
Re: Compilation problem of codestat plug-in
« Reply #5 on: December 28, 2005, 01:58:51 pm »
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)

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: Compilation problem of codestat plug-in
« Reply #6 on: December 29, 2005, 12:55:56 am »
I really recommend SystemRescueCD

Code: [Select]
    * 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)"
« Last Edit: December 29, 2005, 01:56:19 am by Takeshi Miya »