World: r3wp
[!REBOL3-OLD1]
older newer | first last |
Henrik 13-Dec-2009 [20159] | Janko: I barely got started with the C++ course I took. It was a failure, because we were stuck with that IDE. It was really about which buttons to push, just to make an app. |
Paul 13-Dec-2009 [20160] | Also it says " In Linker/Input: add r3lib.lib and wsock32.lib to the Additional Dependencies ". I just added both of the file names - not sure if I needed path statement also or not. |
Janko 13-Dec-2009 [20161] | I forgot a little but you need to add directories where it will look for libs .. like include paths.. this is not per project setting I think (at least vasn't in VC6) |
Paul 13-Dec-2009 [20162] | Yeah, I added that section as the instructions stated. |
Janko 13-Dec-2009 [20163] | I generally don't like IDE-s .. simple text editor with some colors and I am happy ... :) |
Paul 13-Dec-2009 [20164] | I went ahead and built the host build using mingw. This was a breeze in mingw. However, I suggest updating the documentation to just update your path statement to include a path to mingw/bin and instead of copying mingw32-make.exe to make.exe just go to your r3 host build directory and type mingw32-make. |
Maxim 13-Dec-2009 [20165x2] | Paul, if you've got any questions, I've played around A LOT with the install instructions, since I now have a solutions with 3 projects and inter project dependencies... its the first time I really use visual C, so it wasn't obvious to begin with, but I do understand most of it now. it took me a few hours to get this new setup working with the host, the extensions, my OpenGL extension and the callback thing. I've replaced all the paths by using the various $(...) macros. |
I only use the IDE for debugging and compilation... I actually do all the coding within Ultra-Edit, its just sooooo much better for editing. | |
Paul 13-Dec-2009 [20167] | Maxim, for newbs to Visual Studio like myself, I think we need more hand holding on the install instructions for that part. Maybe you can make some recommendations to make it more painless and targeted toward the newbie. |
Maxim 13-Dec-2009 [20168] | but being able to click on words and get the line they where defined in other files loaded automatically is very usefull when debugging... also for the tracing of error and warnings.. |
Paul 13-Dec-2009 [20169] | yeah. You sound like your not a newbie to VS |
Maxim 13-Dec-2009 [20170] | somehow I found it explicit... I added the info about unicode, cause sometimes, the VS creates projects in unicode, sometimes not... strange. |
Paul 13-Dec-2009 [20171] | ahhh good. We just need to make sure these instructions are as brief but efficient as possible. |
Maxim 13-Dec-2009 [20172x2] | actually, I only started using VS last week. when I did my previous Extensions test, I used VS, but didn't play at all wit it... I had used the whole project supplied by carl. |
but having a page with screen grabs would be much better. | |
Paul 13-Dec-2009 [20174] | Yes, I agree. |
Robert 13-Dec-2009 [20175x3] | The thing with MinGW is to get this installation right. Which is far from easy, like the make stuff shows. |
For me the host-code was simple to compile: make | |
That was it, worked on the first shot. | |
Paul 13-Dec-2009 [20178] | But I didn't have mingw in my path. I think that was the problem. |
BrianH 13-Dec-2009 [20179] | Ah, that would do it. The MinGW installer says it's going to set the path, but it fails at doing so. You have to do it yourself. |
Paul 13-Dec-2009 [20180] | Yeah, I don't care for the instructions we have for mingw. We shouldn't have to copy the mingw32-make.exe file to make.exe. We should just have to go to the rebol directory and type mingw32-make and be done with it. |
Maxim 14-Dec-2009 [20181] | R3 is really starting to grow on me :-D |
Steeve 14-Dec-2009 [20182] | I caught the same disease. I think that is unfortunately incurable. |
Maxim 14-Dec-2009 [20183x3] | this line brought a smile to my face: retrieve: does [take/last data] |
My only problem with R3 right now is that there is no codec for text reading . This means I can't properly import C files for example, unless I convert them to utf-8 with something else first. Has anyone done (or started to work on) a simple character mapping engine? | |
the new bitset! datatype is absolutely fantastic! we can actually USE it now ;-) before it was basically just a parse accelerator | |
Pekr 15-Dec-2009 [20186x2] | guys, to make things clear for me - recent efforts - if someone reports, that R3 compiles on system XY, does it mean that we are able to build R3 on such a platform = it is build and usable on such a platform? Or are we reporting that Carl is able to compile just DLL on a target platform? |
Because if it is a former, it means that in 3 weeks we ported actual REBOL version (even if pre-beta) to more platforms, than R2 got to in last 10 years :-) | |
Henrik 15-Dec-2009 [20188] | I think we need a simple document or FAQ that answers what it takes to port R3 to a completely new CPU/OS platform. Just 10-15 bulletpoints. |
Pekr 15-Dec-2009 [20189] | there will be of-course difference in porting Core, vs. for .e.g View ... |
Maxim 15-Dec-2009 [20190] | pekr, once carl can build a dynamic library on a platform, someone can do the rest, using the common host code. as most alternative OSes support some level of unix C libraries, the adaptation of the host code should not be a big issue. since the code is based on ANSI 90, just about every platform out there supports that. and yes, on every platform that Carl has compiled the host in the last weeks, this means R3 runs and is usable on that platform. |
btiffin 15-Dec-2009 [20191] | HOST KIT FOR LINUX! And I'm three days behind already. Why didn't anyone send a memo to read the blog? :) Woohoo, back to REBOL programming... And just so ya know, when I embed this in OC it'll be CORE BOL ;) |
Maxim 15-Dec-2009 [20192] | :-D |
Maxim 16-Dec-2009 [20193] | what's the best way to convert a hex string to a decimal value in R3? |
Sunanda 16-Dec-2009 [20194] | One way is to start with an issue! rather than hex >> to-integer #100 == 256 |
Maxim 16-Dec-2009 [20195] | perfect... just what I needed thanks :-) |
PeterWood 16-Dec-2009 [20196] | I got some strange results with decima! |
Sunanda 16-Dec-2009 [20197] | But check it works for large values first..... |
PeterWood 16-Dec-2009 [20198] | >> to integer! #{2710} == 10000 >> to decimal! #{2710} == 4.94065645841247e-320 |
Sunanda 16-Dec-2009 [20199] | decimal is broken with issue. |
PeterWood 16-Dec-2009 [20200] | >> to decimal! to binary! 10000 == 4.94065645841247e-320 >> to integer! to binary! 10000 == 10000 |
Sunanda 16-Dec-2009 [20201] | Probably explained by this Curecode report http://www.curecode.org/rebol3/ticket.rsp?id=547 |
PeterWood 16-Dec-2009 [20202] | There is something that doesn't seem correct about the following: : >> to decimal! to integer! to binary! 10000 == 10000.0 >> to decimal! to binary! 10000 == 4.94065645841247e-320 |
Steeve 16-Dec-2009 [20203x2] | not a bug, as explained in the curecode ticket |
decimals and integers are not hard coded the same way in a binary | |
Micha 16-Dec-2009 [20205] | 00 |
Ladislav 16-Dec-2009 [20206] | Peter: >> to binary! 10000.0 == #{40C3880000000000} >> to binary! 10000 == #{0000000000002710} Why do you think they should be the same? |
PeterWood 16-Dec-2009 [20207x2] | I don't. It's the behaviour of to-decimal that I don't understand; >> to decimal! #{0000000000002710} == 4.94065645841247e-320 |
In R2 this would raise a script error: >> to decimal! to binary! 10000 ** Script Error: Invalid argument: #{3130303030} ** Near: to decimal! to binary! 10000 | |
older newer | first last |