maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Project Magenta - opensource iOS on ARMv7 (https://talk.maemo.org/showthread.php?t=84803)

seanmcken 2012-07-13 08:03

Re: Project Magenta - opensource iOS on ARMv7
 
forget n9 cuz n900 is still leading

marmistrz 2012-07-13 08:38

Re: Project Magenta - opensource iOS on ARMv7
 
Quote:

Originally Posted by [DarkGUNMAN] (Post 1236908)
@marmistrz - I know you have had your hands full with Meecolay, but did you get a chance to convert the file to cmake and attempt to compile this open iOS?

There are problems:
Code:

[sbox-FREMANTLE_ARMEL: ~/ice/libobjc] > cmake libObjC/
CMake Error at CMakeLists.txt:29 (include):
  include could not find load file:

    vcproj2cmake_func


CMake Error at CMakeLists.txt:32 (include):
  include could not find load file:

    vcproj2cmake_defs


CMake Error at CMakeLists.txt:54 (include):
  include could not find load file:

    OPTIONAL


CMake Error at CMakeLists.txt:140 (include):
  include could not find load file:

    OPTIONAL


CMake Error at CMakeLists.txt:190 (v2c_rebuild_on_update):
  Unknown CMake command "v2c_rebuild_on_update".


-- Configuring incomplete, errors occurred!

The vcproj2cmake-ed version of libobjc's here
http://marmistrz.net63.net/public/ice/

ivgalvez 2012-07-13 09:16

Re: Project Magenta - opensource iOS on ARMv7
 
I don't really see too much worth on this effort. It seems much more doable and useful any improvements to prewebenv, mecolay and preenv.

bandora 2012-07-14 19:51

Re: Project Magenta - opensource iOS on ARMv7
 
Don't be so negative.. We've thought other projects were impossible and will never work, but in the end people collaborated and worked on it until it actually happened and got released.. So I, for one, got my hopes up on any idea/wip projects from TMO.

vcproj2cmake 2012-07-19 17:59

Re: Project Magenta - opensource iOS on ARMv7
 
Happened to stumble upon this forum by checking for vcproj2cmake internet activity :)

Quote:

Originally Posted by marmistrz (Post 1236924)
There are problems:
Code:

[sbox-FREMANTLE_ARMEL: ~/ice/libobjc] > cmake libObjC/
CMake Error at CMakeLists.txt:29 (include):
  include could not find load file:

    vcproj2cmake_func


CMake Error at CMakeLists.txt:32 (include):
  include could not find load file:

    vcproj2cmake_defs


This means that the source tree root was not set up properly with files for a local module path addition as done by the generated CMakeLists.txt files (i.e. <SOURCE>/cmake/Modules/vcproj2cmake_func.cmake etc.).
Or, more specific, this likely means that someone didn't read the areas of the README file that mattered ;)

I don't have a sufficiently comfortable automatic installation mode for this kind of job yet, SORRY! (top priority item, for my own requirements as well)


Quote:

Originally Posted by marmistrz (Post 1236924)
Code:

CMake Error at CMakeLists.txt:54 (include):
  include could not find load file:

    OPTIONAL


And this means that you skipped certain website content ;)
(which advises people to checkout another - admittedly non-standard - branch, rather than master with a rather outdated HEAD, which AFAICS is the one here due to the fact that this error turns up).

Feel free to keep me updated on any (non-?)progress on this,
I'll try to help as much as possible. :D

vcproj2cmake 2012-07-20 17:04

Re: Project Magenta - opensource iOS on ARMv7
 
"The Following 4 Users Say Thank You to vcproj2cmake For This Useful Post" - WTH!?
All I can say is THANKS! :p

I tried that tree archive yesterday, and unfortunately there were numerous problems with my converter, so I tried adding some initial ObjectiveC-related support to it.


During CMake configure run, it complained about certain files missing from the project (libObjC/runtime/error.h, libObjC/runtime/objc-sel-table.h etc.). Are those .vcproj files somewhat outdated!?

After CMake configure run, the build failed with
Code:

  c++: error trying to exec 'cc1obj': execvp: No such file or directory
which was easily solved by installing the still missing gcc ObjectiveC(++?) packages :o
Now, the build is finally crapping out at the TargetConditionals.h header which is part of Apple SDKs thus not readily available on this particular platform (or am I supposed to install this as an easily downloadable toolkit dependency?? After all TARGET_OS_WIN32 needed that header as well...)

If so, then one should probably do a find_package() (or find_path() in case no Find module is available yet) in one of the possible hook files in ${CMAKE_SOURCE_DIR}/cmake/vcproj2cmake and error out in case that Apple platform toolkit cannot be found.


Finally, I also have to say: are you sure you're attempting to build the correct variant??
I'd venture a guess that there should be a Linux-suited objc-runtime variant out there somewhere?

http://cxwangyi.wordpress.com/2011/0...c-programmers/
might be relevant...

HTH :)

vcproj2cmake 2012-07-20 17:13

Re: Project Magenta - opensource iOS on ARMv7
 
These should be relevant:
http://www.techotopia.com/index.php/...Ustep_on_Linux
http://blog.lyxite.com/2008/01/compi...using-gcc.html

(further links removed due to link restriction for new members)

vcproj2cmake 2012-07-20 17:16

Re: Project Magenta - opensource iOS on ARMv7
 
And also this one especially (objc-runtime link):
http://cxwangyi.wordpress.com/2011/0...c-programmers/

marmistrz 2012-07-22 10:40

Re: Project Magenta - opensource iOS on ARMv7
 
Quote:

Originally Posted by vcproj2cmake (Post 1240378)
"The Following 4 Users Say Thank You to vcproj2cmake For This Useful Post" - WTH!?
All I can say is THANKS! :p

I tried that tree archive yesterday, and unfortunately there were numerous problems with my converter, so I tried adding some initial ObjectiveC-related support to it.


During CMake configure run, it complained about certain files missing from the project (libObjC/runtime/error.h, libObjC/runtime/objc-sel-table.h etc.). Are those .vcproj files somewhat outdated!?

After CMake configure run, the build failed with
Code:

  c++: error trying to exec 'cc1obj': execvp: No such file or directory
which was easily solved by installing the still missing gcc ObjectiveC(++?) packages :o
Now, the build is finally crapping out at the TargetConditionals.h header which is part of Apple SDKs thus not readily available on this particular platform (or am I supposed to install this as an easily downloadable toolkit dependency?? After all TARGET_OS_WIN32 needed that header as well...)

If so, then one should probably do a find_package() (or find_path() in case no Find module is available yet) in one of the possible hook files in ${CMAKE_SOURCE_DIR}/cmake/vcproj2cmake and error out in case that Apple platform toolkit cannot be found.


Finally, I also have to say: are you sure you're attempting to build the correct variant??
I'd venture a guess that there should be a Linux-suited objc-runtime variant out there somewhere?

http://cxwangyi.wordpress.com/2011/0...c-programmers/
might be relevant...

HTH :)

Maybe try commenting out the TargetConditionals line and check which calls aren't declared?

[DarkGUNMAN] 2012-08-20 10:42

Re: Project Magenta - opensource iOS on ARMv7
 
Quote:

Originally Posted by HtheB (Post 1224682)
Got a reply back from businesscat2000:
Sorry for the late reply - I just (didn't) and don't really know what to say. I wish I could release the code - I'm familiar with N900, and it would run perfectly. It only has dependencies on pthreads, ogl 1.1/oal, libc and the ability to mmap the low address range 0x1000->~0x300000.

@HtheB - Out of curiosity dd BusinessCat2000 ever get back to you about releasing his code to compile for N900?


All times are GMT. The time now is 21:32.

vBulletin® Version 3.8.8