NOTICE: This channel is no longer actively logged.
[00:48:09] *** ajt_ has joined #easyeclipse [01:03:36] *** ajt has quit IRC [01:42:15] *** LongBeach has joined #easyeclipse [02:15:42] *** mhaller has quit IRC [06:29:42] *** rcjsuen has quit IRC [07:22:54] *** scast has joined #easyeclipse [13:57:22] *** mhaller has joined #easyeclipse [14:51:18] *** benny`work has joined #easyeclipse [16:24:28] *** mhaller has quit IRC [17:17:23] *** mhaller has joined #easyeclipse [19:53:19] *** scast has quit IRC [21:25:10] *** pombreda has quit IRC [21:26:00] *** pombreda has joined #easyeclipse [21:34:05] *** LaNCeloT_RW has joined #easyeclipse [21:45:53] <pombreda> LaNCeloT_RW: hi :-) [21:46:21] <LaNCeloT_RW> Hi! =) [21:50:08] <LaNCeloT_RW> pombreda: java -jar startup.jar [21:50:14] <LaNCeloT_RW> didnt started =/ [21:50:17] <LaNCeloT_RW> start* [21:52:52] <LaNCeloT_RW> pombreda: do you know how to start it ? [21:54:11] <LaNCeloT_RW> pombreda: now it started [21:55:45] <pombreda> vool [21:55:55] <pombreda> cool [21:55:59] <pombreda> run eclipse [21:56:04] <pombreda> not the java stuff [21:56:43] <pombreda> LaNCeloT_RW: and follow http://max.berger.name/howto/cdt/ [21:57:25] <LaNCeloT_RW> pombreda: now it seems to be working.. i wrote this first program like in the tutorial.. [21:58:27] <LaNCeloT_RW> pombreda: can u help with something? .. i created a new project... then created a new Source File in this project wrote the code.. but i received an error: Severity and Description Path Resource Location Creation Time Id [21:58:27] <LaNCeloT_RW> undefined reference to `main' p1 line 0 1176666926198 0 [22:07:07] <pombreda> LaNCeloT_RW: it is possible that it does not work on x64 [22:07:25] <LaNCeloT_RW> pombreda: =/ [22:07:30] <LaNCeloT_RW> let me test it again [22:07:33] <pombreda> LaNCeloT_RW: we have not relased it yet [22:07:40] <LaNCeloT_RW> np [22:07:47] <pombreda> LaNCeloT_RW: try that instead (sry for the pain) [22:07:48] <LaNCeloT_RW> help with this..? [22:08:01] <LaNCeloT_RW> i need to create a c++ projetc [22:08:07] <pombreda> LaNCeloT_RW: get the eclipse SDK from eclipse, using the 64 bits linux version [22:08:09] <LaNCeloT_RW> then create a source file [22:08:14] <pombreda> LaNCeloT_RW: get the 64 java from sun [22:08:22] <LaNCeloT_RW> i have all of these stuff [22:08:27] <pombreda> LaNCeloT_RW: get the 64 bits CDT from eclipse.org/cdt [22:08:34] <LaNCeloT_RW> but my eclipse CDT wasnot working well [22:08:42] <pombreda> ok, you cannot run easyeclipse with 64 biots java [22:08:53] <pombreda> it comes with its own jvm, 32 bits [22:09:00] <pombreda> how did you labhcu eclipse [22:09:06] <pombreda> ?how did you launch eclipse [22:09:13] <LaNCeloT_RW> double-click on the Eclipse executable file [22:09:27] <pombreda> from the easyeclipse tar? [22:09:31] <LaNCeloT_RW> yes [22:09:45] * pombreda wishes he had a 64 bits box on hand :-\ [22:09:56] <pombreda> can you pastebin the log files ? [22:10:15] <pombreda> http://eclipse-wiki.info/IrcFaq to find them [22:10:36] <pombreda> ~help [22:10:37] <KOS-MOS> For a list of the available commands that I provide, see http://wiki.eclipse.org/index.php/IRC_bot [22:11:03] <pombreda> ~paste LaNCeloT_RW [22:11:24] <LaNCeloT_RW> pombreda: eesy eclipse starts pretty well... but in the project, when writting the "hello world" code, it returns erros that in Eclipse SDK i didnt see [22:11:27] <pombreda> ~tell LaNCeloT_RW about paste [22:11:28] <KOS-MOS> LaNCeloT_RW: Please paste the relevant information to a pastebin - http://rafb.net/paste/ - http://pastebin.com - http://pastebin.ca [22:13:09] *** dfas has joined #easyeclipse [22:13:26] <dfas> Hello, anyone know a quick solution how to make a urlrewrite in Spring? [22:13:46] <LaNCeloT_RW> pombreda: man, this is the error: Severity and Description Path Resource Location Creation Time Id [22:13:47] <LaNCeloT_RW> undefined reference to `main' HelloWorld line 0 1176667976252 4 [22:14:11] <LaNCeloT_RW> pombreda: this appears on the error line into EasyEclipse [22:16:02] *** LongBeach has quit IRC [22:18:03] <LaNCeloT_RW> pombreda: http://paste.ubuntu-nl.org/15851/ [22:18:08] *** pombred1 has joined #easyeclipse [22:18:49] <LaNCeloT_RW> pombreda: this is the code: http://paste.ubuntu-nl.org/15852/ [22:22:26] <LaNCeloT_RW> pombred1: ?!? [22:22:50] <pombred1> LaNCeloT_RW: wait a sec [22:22:57] <LaNCeloT_RW> ok man :> [22:28:29] <dfas> pombred1: do you have any soloution or package to recommend for making URL forwards in Spring? [22:29:40] <pombred1> dfas: not on top of my head [22:29:45] <pombred1> i used regular jsp forwards [22:30:23] <dfas> pombred1: I don't want to change path for all my images when I move the JSP's to a subdir, how do you usually solve that? [22:30:31] <pombred1> dfas: http://nexb.cvs.sourceforge.net/nexb/nexb/web/index.jspx?revision=1.2&view=markup [22:30:50] <pombred1> not sure if that is what you mean [22:31:01] <pombred1> but you could do smoe magic in web.xml I guess [22:31:13] * pombred1 is busy fixing LaNCeloT_RW issue for now [22:33:31] *** pombreda has quit IRC [22:38:32] *** pombred1 is now known as pombreda [22:57:53] <pombreda> LaNCeloT_RW: the stuffs works just fine for me out of the box. [22:58:15] <pombreda> LaNCeloT_RW: I create a managed make cpp project, and use your main function [22:58:46] <LaNCeloT_RW> pombreda: What should I do now to make EasyEclipse work well here? [22:59:07] <pombreda> what dod you do when you create a project... [22:59:10] <pombreda> which option and so on [22:59:19] <pombreda> start when you create a managed cpp project [22:59:30] <LaNCeloT_RW> yes, i created a managed Cpp [22:59:36] <LaNCeloT_RW> and then added a source file [22:59:41] <LaNCeloT_RW> and typed to code [22:59:45] <pombreda> which project type did you choose? [23:00:12] <LaNCeloT_RW> let me check .. just a second [23:00:20] <pombreda> LaNCeloT_RW: create a new one [23:00:33] <LaNCeloT_RW> pombreda: thats what im doing :> [23:00:39] <pombreda> the first screen ask you a project type [23:02:02] <pombreda> dfas: you could also use some el variable for you images dir [23:02:11] <pombreda> or an absolute path [23:02:22] <dfas> pombreda: with absolute path you mean including domain name? [23:02:39] <LaNCeloT_RW> pombreda: File > New ... > Managed C++ Project (Right ?) [23:02:41] <pombreda> no, an abosulte path relative to your app root [23:02:45] <pombreda> LaNCeloT_RW: yes [23:03:02] <dfas> pombreda: but then again it would have to be relative.. [23:03:10] <dfas> pombreda: I want the path to work in any directory. [23:03:16] <LaNCeloT_RW> pombreda: Project Type = Executable (GNU) [23:03:21] <LaNCeloT_RW> right? [23:03:22] <pombreda> LaNCeloT_RW: good [23:03:37] <LaNCeloT_RW> Debug and Release Checkd [23:04:15] <LaNCeloT_RW> now, i have a new project, called HelloWorld. ... so I need to add a new Source File? (c) [23:05:08] <LaNCeloT_RW> pombreda: ^^^ ? [23:05:17] <pombreda> dfas: use el's c:url for that [23:05:37] <pombreda> LaNCeloT_RW: this is a cpp project add a new class [23:05:41] <pombreda> dfas: 23 <c:url value="/nexb/new" var="url"/> [23:05:56] <pombreda> dfas: as in http://nexb.cvs.sourceforge.net/nexb/nexb/web/WEB-INF/jsp/home.jspx?revision=1.2&view=markup [23:06:09] <pombreda> dfas: but there are surely more elegant ways than that [23:06:17] * pombreda is not a jsp expert [23:06:26] <dfas> oh aha, ok thanks though [23:08:03] <pombreda> dfas: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL4.html [23:08:23] <pombreda> dfas: I think this is a common idiom in jsp, at least I have used it in the past [23:08:32] <pombreda> there may be better ways on the latest version of jsp [23:08:47] <LaNCeloT_RW> pombreda: ok man, now my code is like this: http://paste.ubuntu-nl.org/15855/ [23:09:26] <pombreda> LaNCeloT_RW: put a space between include and iostream may be? [23:10:08] <LaNCeloT_RW> ok, and i 've already put the missing return 0; too [23:10:21] <LaNCeloT_RW> pombreda: now, how do i check if it is working, like compile and run ? [23:13:01] <LaNCeloT_RW> brb pombreda [23:13:30] *** LaNCeloT_RW has quit IRC [23:15:42] <pombreda> LaNCelot: have your ccp look like that: http://paste.ubuntu-nl.org/15856/ [23:15:52] <pombreda> man I am no cpp dude at all [23:15:59] <pombreda> but with eclispe I can do some [23:19:13] *** LaNCeloT_RW has joined #easyeclipse [23:23:28] <pombreda> LaNCelot: have your ccp look like that: http://paste.ubuntu-nl.org/15856/ [23:23:36] <LaNCeloT_RW> pombreda: take a look at this printscreen [23:23:37] <LaNCeloT_RW> http://i19.tinypic.com/2ywzk3o.png [23:23:49] <pombreda> then run the exe created [23:24:05] <pombreda> LaNCeloT_RW: switch to the cpp perspective [23:24:30] <pombreda> or reset perspective [23:24:53] <LaNCeloT_RW> pombreda: that one was the cpp perspective [23:25:15] <pombreda> reset it under the window menu [23:25:20] <LaNCeloT_RW> Cpp = http://i19.tinypic.com/2ywzk3o.png [23:25:31] <LaNCeloT_RW> .h = http://i16.tinypic.com/4bo1lrt.png [23:25:33] <pombreda> you shpould see a cpp project [23:25:39] <pombreda> cpp project view on the left [23:26:15] <LaNCeloT_RW> pombreda: ok, reseted it and still was like before [23:26:20] <LaNCeloT_RW> still is* [23:26:25] <pombreda> humm [23:26:41] <pombreda> window/show view/c/c++ project? [23:27:20] <LaNCeloT_RW> yes [23:27:25] <LaNCeloT_RW> this is were i am [23:27:49] <LaNCeloT_RW> pombreda: take a look : http://i10.tinypic.com/29ym72x.png [23:28:15] <pombreda> expand helloworld and under binaries, right clik and run [23:28:40] <pombreda> LaNCeloT_RW: seems like everything is a ok from what I see [23:28:56] <LaNCeloT_RW> i dont have binaries after hello world expanded [23:29:03] <pombreda> image? [23:29:50] <LaNCeloT_RW> pombreda: http://i18.tinypic.com/2vd2wat.png [23:30:13] <pombreda> LaNCeloT_RW: is the menu project/build auto selected? [23:32:28] <LaNCeloT_RW> pombreda: after selecting build auto returned the erros: http://paste.ubuntu-nl.org/15859/ [23:33:00] <pombreda> LaNCeloT_RW: does it create an exe? [23:33:05] <pombreda> screenshot ? [23:33:56] <pombreda> have your cpp look like that for instance: http://paste.ubuntu-nl.org/15856/ [23:35:29] <pombreda> main returns int, not void [23:35:29] <LaNCeloT_RW> pombreda: just a minute [23:35:33] <LaNCeloT_RW> im posting a image [23:35:34] <pombreda> :-) [23:35:40] <pombreda> have your cpp look like that for instance: http://paste.ubuntu-nl.org/15856/ [23:36:18] <LaNCeloT_RW> first of all: [23:36:27] <LaNCeloT_RW> I created a Managed C++ project [23:36:30] <LaNCeloT_RW> called HelloWorld [23:36:40] <LaNCeloT_RW> and its files are under /home/felipe/docs/cpp [23:36:53] <LaNCeloT_RW> and created a new class inside of this project [23:37:09] <LaNCeloT_RW> then it created automatically a file called Hw.cpp and Hw.h [23:37:12] <pombreda> yeah [23:37:23] <pombreda> replace the content of your .cpp file with [23:37:29] <pombreda> http://paste.ubuntu-nl.org/15856/ [23:37:45] <LaNCeloT_RW> Hw.cpp is like this: http://paste.ubuntu-nl.org/15859/ [23:38:35] <LaNCeloT_RW> and hw.h is like this: http://paste.ubuntu-nl.org/15863/ [23:38:49] <pombreda> have your cpp look like that for instance: http://paste.ubuntu-nl.org/15856/ [23:38:50] <pombreda> or http://paste.ubuntu-nl.org/15862/ [23:39:08] <pombreda> main returns int, not void [23:40:26] <pombreda> LaNCeloT_RW: ? [23:40:41] <LaNCeloT_RW> pombreda: starting again.. [23:40:55] <pombreda> :-) [23:40:58] <LaNCeloT_RW> New Project [23:40:59] <LaNCeloT_RW> then [23:41:08] <LaNCeloT_RW> Managed C++ Poroject [23:41:10] <pombreda> managed make cpp [23:41:15] <pombreda> then exe type [23:41:23] <LaNCeloT_RW> Executable (gnu) [23:41:26] <pombreda> then new class called Hw [23:41:35] <LaNCeloT_RW> then add new class called Hw [23:41:38] <LaNCeloT_RW> right [23:41:58] <pombreda> LaNCeloT_RW: then copy all that in the Hw.cpp [23:41:59] <pombreda> http://paste.ubuntu-nl.org/15862/ [23:42:03] <LaNCeloT_RW> it created two files in the perspective [23:42:35] <LaNCeloT_RW> my cpp with original code created by eclipse: http://paste.ubuntu-nl.org/15865/ [23:42:58] <pombreda> then under Binaries, expand and right cclik on the created exe, run [23:43:04] <LaNCeloT_RW> pombreda: my Hw.h created bay the program: http://paste.ubuntu-nl.org/15866/ [23:43:07] *** rcjsuen has joined #easyeclipse [23:43:52] <pombreda> LaNCeloT_RW: I am loosing patience dude, use that code http://paste.ubuntu-nl.org/15862/ for Hw.cpp [23:44:12] <LaNCeloT_RW> sorry man = [23:44:17] <LaNCeloT_RW> im new to this [23:44:18] <pombreda> np, just hungry [23:44:23] <pombreda> :-P [23:44:51] <pombreda> under Binaries, expand and right cclik on the created exe, run [23:45:04] <pombreda> and check the Hello world output in the console view [23:45:16] <pombreda> LaNCeloT_RW: :-) [23:45:29] <pombreda> ? [23:45:49] <LaNCeloT_RW> **** Build of configuration Debug for project HelloWorld **** [23:45:49] <LaNCeloT_RW> make -k all [23:45:49] <LaNCeloT_RW> Building file: ../Hw.cpp [23:45:49] <LaNCeloT_RW> Invoking: GCC C++ Compiler [23:45:49] <LaNCeloT_RW> g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Hw.d" -MT"Hw.d" -o"Hw.o" "../Hw.cpp" [23:45:49] <LaNCeloT_RW> Finished building: ../Hw.cpp [23:45:51] <LaNCeloT_RW> [23:45:54] <LaNCeloT_RW> Building target: HelloWorld [23:45:55] <LaNCeloT_RW> Invoking: GCC C++ Linker [23:45:57] <LaNCeloT_RW> g++ -o"HelloWorld" ./Hw.o [23:46:00] <LaNCeloT_RW> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/crt1.o: In function `_start': [23:46:01] <LaNCeloT_RW> (.text+0x20): undefined reference to `main' [23:46:03] <LaNCeloT_RW> collect2: ld returned 1 exit status [23:46:05] <LaNCeloT_RW> make: *** [HelloWorld] Error 1 [23:46:07] <LaNCeloT_RW> make: Target `all' not remade because of errors. [23:46:08] <pombreda> LaNCeloT_RW: stop flooding [23:46:09] <LaNCeloT_RW> Build complete for project HelloWorld [23:46:12] <LaNCeloT_RW> this is my console Messages [23:47:01] <pombreda> LaNCeloT_RW: screenshot? [23:47:30] <LaNCeloT_RW> jusdt a sec. im posting it [23:48:24] <LaNCeloT_RW> pombreda: http://i17.tinypic.com/4g5q0ds.png [23:48:55] <pombreda> LaNCeloT_RW: is your project is build auto mode? [23:49:02] <LaNCeloT_RW> yes [23:49:28] <LaNCeloT_RW> pombreda: my error console messages : http://paste.ubuntu-nl.org/15870/ [23:49:48] <pombreda> LaNCeloT_RW: try menu project /clean [23:50:34] <LaNCeloT_RW> stll the same error [23:51:46] <LaNCeloT_RW> man, im doing all steps just right you said.. put the code that was into that pastebin , and still getting some erros... I dont know what to do =/ [23:51:58] <pombreda> LaNCeloT_RW: i see a star close to you editor? are you sure it is saved? [23:52:28] <LaNCeloT_RW> 0_0 [23:52:33] <LaNCeloT_RW> i saved it now.. [23:52:36] <LaNCeloT_RW> and seems to be ok now [23:52:49] <LaNCeloT_RW> sorry, in borland I wasnt used to save it.. just click compile [23:53:11] <pombreda> LaNCeloT_RW: np, you have to start somewhere :-P [23:53:18] <pombreda> LaNCeloT_RW: does it run now ? [23:53:55] <LaNCeloT_RW> Console: Hello World! [23:53:56] <LaNCeloT_RW> =) [23:54:13] <LaNCeloT_RW> seems that os ok [23:54:51] <LaNCeloT_RW> but now, how do I compile it to run on my PC? like ./configure && make commands that other programs uses [23:54:53] <LaNCeloT_RW> use* [23:57:07] <LaNCeloT_RW> pombreda: i ran it on my Linux Console it was under /Debug/HelloWorld [23:57:13] <LaNCeloT_RW> i change its name to DamnShit! [23:57:14] <LaNCeloT_RW> LOL [23:57:25] <pombreda> Yeehah ! [23:57:35] * pombreda makes a happy dance [23:57:40] <LaNCeloT_RW> LOL [23:57:50] <LaNCeloT_RW> well.. let me read more about C++ [23:58:09] <LaNCeloT_RW> just one question... it wont run without the Hw.h [23:58:10] <LaNCeloT_RW> ? [23:58:35] <pombreda> unless you remove the include and ifdef [23:58:44] <LaNCeloT_RW> and why they need that? [23:58:54] <pombreda> LaNCeloT_RW: a common idiom in cpp [23:59:23] <pombreda> LaNCeloT_RW: from then on find yourself a good cpp tutorial [23:59:40] <LaNCeloT_RW> oh i see.. well, anyway, thanks a lot... and im going on my C++ Tutorial and E-Books [23:59:41] <LaNCeloT_RW> =) [23:59:44] <pombreda> ~tell LaNCeloT_RW about g C++ tutorial [23:59:45] <KOS-MOS> LaNCeloT_RW: Try googling - http://google.com/search?q=C+++tutorial