Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java Error in Eclipse C++?

Name: Anonymous 2007-10-09 9:58

what the fucking shit

eclipse is probably the greatest IDE. But at the same time it is probably the most frustrating to initially set up.

When I was taking Java classes, I used eclipse for my programs. Now that I'm doing C++, I was originally using Dev-C++, but I realized I missed a lot of the editor features, like syntax underlining (if something is incorrect), auto-closing braces, and an auto-indent that doesn't suck (as great as DevCPP is, its auto-indent is retarded). So I decided to check out eclipse's C++ platform (CDT).

After jumping through hoops to get the seperate MingW toolchain and all that sort of shit installed and set up just so that eclipse will BUILD my project, i'm getting what is perhaps the most retarded error in existance:

java.lang.NullPointerException

..in a C++ program. What?

I know eclipse is MADE from Java, but what's going on? I used eclipse's project wizard to have it automatically generate a simple "Hello World!" program for me, and it worked great. But if I try to build a clean project from scratch, I get this bullshit.

I can't find any documentation about this issue. What does /prog/ think?

Name: Anonymous 2007-10-09 10:05

Emacs & SLIME

Name: Anonymous 2007-10-09 10:10

Hex editor & opcode table

Name: Anonymous 2007-10-09 10:19

>>2
>>3
what?

Name: Anonymous 2007-10-09 10:49

>>2
Far superior to the filthy Eclipse IDE.

Name: Anonymous 2007-10-09 10:54

eclipse requires you to manually create a make file for it to be able to build a c++ project.

add a new file to your project called "makefile" (no extension)

If your project is a "Hello World!" program, for example, the makefile should look something like this:

all: hello.exe

clean:
    rm main.o hello.exe

hello.exe: main.o
    g++ -g -o hello main.o

main.o:
    g++ -c -g main.cpp


yes, it's gay.

Name: Anonymous 2007-10-09 11:26

>>6
I could do that even without an enormous Java IDE.

Name: Anonymous 2007-10-09 11:54

just stick with dev-c++

Name: Anonymous 2007-10-09 19:28

>>1

That's debatable...

Name: Anonymous 2007-10-09 19:31

Null pointer exception

Name: Anonymous 2007-10-09 19:50

>>1
Unless you're on a non-Windows machine, just fucking use Visual Studio (it's free). If you're on *nix, use Emacs + SLIME. Thread over.

Name: Anonymous 2007-10-09 23:34

Post stacktrace
Post stacktrace
Post stacktrace
Post stacktrace
Post stacktrace
Post stacktrace
Post stacktrace
Post stacktrace
Post stacktrace

Name: Anonymous 2007-10-10 1:17

I have jsut one word for you Hex editor & opcode table

Name: Anonymous 2007-10-10 1:26

>>11
Slime for C++?

Name: Anonymous 2007-10-10 2:12

Fail for using a IDE written in Java. Eclipse is a retarded load of shit with features that could only attract "I want to write games" kiddies. Java is auto-fail.

If you need the IDE to tell you that you've mistyped, please don't program anything critical, important or both. You'll fuck it up, big time.

Notepad motherfucker, do you use it?

Dev-cpp motherfucker, do you keep using it?

Name: Anonymous 2007-10-10 8:37

>>15
I used Notepad when I was on Windoze.

Now I use the motherfucking vi.

Name: Anonymous 2007-10-10 9:11

>>1
You are stupid, this shit cannot happen.

Ditch Eclipse, too much fail. Emacs. Learn it, motherfucker.

Name: Anonymous 2007-10-10 11:11

       =Ξ ,,∧ヌ∧
           (*´∀`)
       =Ξ| ̄∪ ̄ ̄|
  =Ξ..::;;∧翳∧ヌルポ号|
     ..::;; ・∀・).──‐◎
  =Ξ| ̄∪ ̄ ̄|
     |. NullPO |
. =Ξ◎───◎
      ∧_________
     /Nullpo cannot be beaten!
     \__________

Name: Anonymous 2007-10-10 12:16

One word, the automatic indentation of code.  Thread over.

Name: Anonymous 2007-10-10 14:04

>>14
Good point.

>>1
Just use LISP.

Name: Anonymous 2009-03-06 9:50

Time to work on   4chan which will   represent the timer   coupled with that   carrot in college   on Eclipse with   CDT But then   again neither can   dandruff But they   are kind of   know about Liskell   How does it   install itself to   fit user requirements   Even Haskell programs   can be straightforwardly   produced by other   languages without any   penalty Reasonable Lisp?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List