Close
Page 1 of 5 1 2 3 ... LastLast
Showing results 1 to 10 of 50
  1. #1

    Default building from source

    Hey Freddie,

    I tried to build Mojo from source, checked out from google and I get the following errors:

    2>c:\cygwin\home\dl\mojoware-read-only\scrib_compiler\..\\mojo_engine\\mojo_engine.h (35): fatal error C1083: Cannot open include file: 'files.h': No such file or directory

    Is this a .h you forgot to check in or it's supposed to be generated by the build and it isn't for me somehow ?

    I'm using Microsoft Visual Studio 2010
    Version 10.0.21006.1 B2Rel
    Microsoft .NET Framework
    Version 4.0.21006 B2Rel

    Installed Version: VC Express

    Microsoft Visual C++ 2010

    Which is the first time I do (I'm used to straight makefile for c/c++ and never done windows programming but I'm intrigued and want to give it a shot - but maybe I'm missing some obvious steps - note that when opening the solution it complained about not supporting the installer and readme types but seems happy with the rest)
    Last edited by Moorea : 12-10-2009 at 04:27 AM
    2,3,5 boxing wow with Wow Open Box and MAMA, give them a try!
    (was 8 Boxing Wow with HotKeyNet and ISBoxer)
    Was streaming on twitch.tv/MooreaTv

  2. #2

    Default

    Sorry about that.

    I thought I prevented this because usually after I do a commit, I make a new folder and check out the project from scratch and make sure it builds.

    There isn't any files.h in the project. There used to be, but I renamed it. The line that includes it should have been erased.

    I think the reason the program builds for me anyway is that my copy of Visual Studio is set to look for include files in another project that happens to have an unrelated file called "files.h."

    If you erase "#include files.h" I think it will build. Or wait till tomorrow and I'll do a new commit.
    Last edited by Freddie : 12-10-2009 at 04:44 AM
    �Author of HotkeyNet and Mojo

  3. #3

    Default

    Thanks for the quick reply - I should have tried removing it - I guess visual studio doesn't have "organize imports" like eclipse has (which for java deletes all unused imports)

    The build went further but then failed on

    4>c:\cygwin\home\dl\mojoware-read-only\mojo_app\cScrobMgrIm.h(15): fatal error C1083: Cannot open include file: 'tPt.h': No such file or directory

    #include <tPt.h>

    which I also commented out (it 2 files, the above and another one) and it passed

    then next error is :

    1>mojo_app.rc(33): error RC2135: file not found: E:\d\sou\cpp\Mojo\mojo_app\mojo_app.ico

    which I guess is that you have hardcoded path to resources ?
    2,3,5 boxing wow with Wow Open Box and MAMA, give them a try!
    (was 8 Boxing Wow with HotKeyNet and ISBoxer)
    Was streaming on twitch.tv/MooreaTv

  4. #4

    Default

    removed all the "E:\\d\\sou\\cpp\\Mojo\\" and replaced by "..\\" it seems to get further

    ps: if you open the svn repository for checkins I could check in the changes :-)
    (it's probably early)


    last error but somehow vc continues despite it is :

    3>------ Rebuild All started: Project: mojo_engine, Configuration: Release Win32 ------
    3> stdafx.cpp
    2>LINK : fatal error LNK1181: cannot open input file 'mojo_engine.lib'
    Last edited by Moorea : 12-10-2009 at 05:06 AM
    2,3,5 boxing wow with Wow Open Box and MAMA, give them a try!
    (was 8 Boxing Wow with HotKeyNet and ISBoxer)
    Was streaming on twitch.tv/MooreaTv

  5. #5

    Default

    The rc file gets generated by Visual Studio. I didn't realize it was using absolute paths. If you change that file, Visual Studio may change them back.

    The paths probably need to be changed in the resource editor on the property pane for each icon. I'll do it tomorrow morning.

    Thanks for telling me about this.
    �Author of HotkeyNet and Mojo

  6. #6

    Default

    Quote Originally Posted by Moorea View Post
    last error but somehow vc continues despite it is :

    3>------ Rebuild All started: Project: mojo_engine, Configuration: Release Win32 ------
    3> stdafx.cpp
    2>LINK : fatal error LNK1181: cannot open input file 'mojo_engine.lib'
    I get that too sometimes. Maybe there's something wrong with my dependency settings. When it happens I just build a second time and it completes almost instantly.

    I made all the other changes you mentioned and I'll commit a new build today. I'm trying to complete the GUI dialog box that people will use to enter hotkey triggers. This will be a very important part of the program, and I'm changing the way triggers work compared to HotkeyNet, so it's a lot of work and it's been hard to design the dialog box in a way that's easy to use and looks good.

    The new triggers can include an unlimited number of keys (useful when sending triggers from other programs, etc.)

    The new triggers can include any number of main keys without declaring them as modifiers, so you can press "chords" on the keyboard.

    The new triggers can be just a modifier or end with a modifier.
    �Author of HotkeyNet and Mojo

  7. #7

    Default

    Thanks for the update, but you left 1:

    4>c:\cygwin\home\dl\mojoware-read-only\mojo_app\cScrobIm.h(14): fatal error C1083: Cannot open include file: 'tPt.h': No such file or directory

    would you add people (me) to the project so that type of stuff I can check in or submit a check in directly ?
    2,3,5 boxing wow with Wow Open Box and MAMA, give them a try!
    (was 8 Boxing Wow with HotKeyNet and ISBoxer)
    Was streaming on twitch.tv/MooreaTv

  8. #8

    Default

    Quote Originally Posted by Moorea View Post
    4>c:\cygwin\home\dl\mojoware-read-only\mojo_app\cScrobIm.h(14): fatal error C1083: Cannot open include file: 'tPt.h': No such file or directory
    Thanks, I'll fix that in the next build.

    would you add people (me) to the project so that type of stuff I can check in or submit a check in directly ?
    I won't be giving commit permission to anyone, at least not for the forseeable future.
    Last edited by Freddie : 12-12-2009 at 03:31 PM
    �Author of HotkeyNet and Mojo

  9. #9

    Default

    does goggle let you setup such as commit gets submitted as patch proposal that you can easily review and accept (or reject/modify) ? otherwise I guess we can send patches
    2,3,5 boxing wow with Wow Open Box and MAMA, give them a try!
    (was 8 Boxing Wow with HotKeyNet and ISBoxer)
    Was streaming on twitch.tv/MooreaTv

  10. #10

    Default

    Quote Originally Posted by Moorea View Post
    does goggle let you setup such as commit gets submitted as patch proposal that you can easily review and accept (or reject/modify) ? otherwise I guess we can send patches
    I don't know, but there's a copyright issue. I'm planning to retain the full copyright to the version of Mojo in the mojoware repository. If people send code to me, even if it's just for consideration, that may raise legal issues. I don't know any IP lawyers who I can consult for free about this so I'd just rather not go near it for the time being.
    Last edited by Freddie : 12-12-2009 at 05:46 PM
    �Author of HotkeyNet and Mojo

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •