+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 21 to 34 of 34

Error for my first app :s

This is a discussion on Error for my first app :s within the Modding & Development forums, part of the Meizu M8 category; Yes I followed them, with the first SDK I used it worked with the Emulator and I could assemble the ...

  1. #21
    Junior Member
    Join Date
    May 2010
    Location
    France
    Posts
    51
    Thanks
    6
    Thanked 7 Times in 7 Posts
    Yes I followed them, with the first SDK I used it worked with the Emulator and I could assemble the code but with the new SDK I can't even assemble the code .
    Apple sucks
    Join the group : http://www.meizume.com/groups/apple-sucks.html

  2. #22
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,723
    Thanks
    96
    Thanked 358 Times in 141 Posts
    you did not link the libs
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  3. #23
    Junior Member
    Join Date
    May 2010
    Location
    France
    Posts
    51
    Thanks
    6
    Thanked 7 Times in 7 Posts
    Yes,I did : mzfc.lib and PlatformApi.lib ...
    Apple sucks
    Join the group : http://www.meizume.com/groups/apple-sucks.html

  4. #24
    Junior Member
    Join Date
    May 2010
    Location
    France
    Posts
    51
    Thanks
    6
    Thanked 7 Times in 7 Posts
    Ok I'm going to show you how I do, and tell me if I do something wrong...

    So first I create a VS project (smart device - Win32)


    Then I choose M8 SDK...



    Windows app...



    I add a new source file :



    I paste the source from M8 SDK doc :



    And I link the libs :



    I get the .exe in the release directory of my project and copy it into my Meizu M8 SE (9.9.8) and run it from the File Explorer but I got an error :




    Have I done something wrong???
    Apple sucks
    Join the group : http://www.meizume.com/groups/apple-sucks.html

  5. #25
    Junior Member
    Join Date
    May 2010
    Location
    France
    Posts
    51
    Thanks
    6
    Thanked 7 Times in 7 Posts
    I'm posting more information that may help :
    main.cpp : http://ronan.gaillard.free.fr/up/files/main.cpp ! It's unicode (because of the chinese signs) !
    the prog : http://ronan.gaillard.free.fr/up/files/TestMeizu8.exe
    the log : http://ronan.gaillard.free.fr/up/files/BuilgLog.html

    If you need more info ask me!
    Thanks a lot for helping
    Last edited by Soranne; 06-16-2010 at 03:53 PM.
    Apple sucks
    Join the group : http://www.meizume.com/groups/apple-sucks.html

  6. #26
    Member
    Join Date
    Jul 2009
    Posts
    226
    Thanks
    34
    Thanked 83 Times in 30 Posts
    all looks ok to me.

    why not try my suggestion above.
    why not build a Debug version and run it in visual studio envirenment? change "relase" to "debug", also, change "M8SDK Emulator" to the real device. of cause, you have to set your m8 to "sync mode" instead of "usb mode".

    so that you can easily find out whats wrong with it.
    Last edited by yunfan; 06-16-2010 at 10:23 PM.

  7. #27
    Junior Member
    Join Date
    May 2010
    Location
    France
    Posts
    51
    Thanks
    6
    Thanked 7 Times in 7 Posts
    I'd like to sync my Meizu with my computer but it seems that ActiveSync (Win Mobile Devices Center) won't work with my computer because "components for Windows Mobile are missing". I'll try to find a solution on google.

    But the thing I don't understand is that the app works in the Emulator but not in the real cellphone... Why?
    Apple sucks
    Join the group : http://www.meizume.com/groups/apple-sucks.html

  8. #28
    Member
    Join Date
    Jul 2009
    Posts
    226
    Thanks
    34
    Thanked 83 Times in 30 Posts
    your app crashes on my m8 as well.
    if you could zip or rar your solution folder, i probably could try out what's wrong.

  9. #29
    Junior Member
    Join Date
    May 2010
    Location
    France
    Posts
    51
    Thanks
    6
    Thanked 7 Times in 7 Posts
    Here is the solution folder zipped :
    Attached Files
    Apple sucks
    Join the group : http://www.meizume.com/groups/apple-sucks.html

  10. #30
    Junior Member
    Join Date
    May 2010
    Location
    France
    Posts
    51
    Thanks
    6
    Thanked 7 Times in 7 Posts
    The strange thing is that when I compile the samples given with the SDK setup it doesn't on my phone too... So the error must come from Visual Studio...
    Apple sucks
    Join the group : http://www.meizume.com/groups/apple-sucks.html

  11. #31
    Member
    Join Date
    Jul 2009
    Posts
    226
    Thanks
    34
    Thanked 83 Times in 30 Posts
    i rebuild your project and it works like a charm. no idea, must be something else wrong. can u try a clean build?
    Last edited by yunfan; 06-18-2010 at 09:55 AM.

  12. #32
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,723
    Thanks
    96
    Thanked 358 Times in 141 Posts
    i would suggest to reinstall your SDK..
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  13. #33
    Junior Member
    Join Date
    May 2010
    Location
    France
    Posts
    51
    Thanks
    6
    Thanked 7 Times in 7 Posts
    What do you mean by a clean build?

    I've already re installed the SDK 2 times but it's still not working
    Apple sucks
    Join the group : http://www.meizume.com/groups/apple-sucks.html

  14. #34
    Junior Member
    Join Date
    May 2010
    Location
    France
    Posts
    51
    Thanks
    6
    Thanked 7 Times in 7 Posts
    YEEEEEAAAAAAAHHHHHH!!!!!!!!!!!!!!!!

    It works!!!

    Infact, as VS was installed in D:, I had to install the SDK in D: too.

    Thanks a lot for helping
    Apple sucks
    Join the group : http://www.meizume.com/groups/apple-sucks.html


 

Similar Threads

  1. Internet browser error
    By guerilla24 in forum General Meizu M8
    Replies: 3
    Last Post: 06-15-2010, 04:55 PM
  2. Need help with translation (Error with Radialix)
    By Albert2002 in forum Modding & Development
    Replies: 4
    Last Post: 06-07-2009, 12:53 PM
  3. Help re M6 I/O Error
    By Ausjacko in forum Technical
    Replies: 4
    Last Post: 12-15-2008, 07:57 AM
  4. Batman -error - help!
    By rasmuskk in forum Video and Imaging
    Replies: 5
    Last Post: 05-08-2008, 08:31 AM
  5. Upgrade Error
    By SpoinK in forum Firmware
    Replies: 12
    Last Post: 04-14-2007, 11:10 PM