netmaster19 / libxbee

Automatically exported from code.google.com/p/libxbee
0 stars 0 forks source link

os.windows.mk is missing #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

downloaded from https://github.com/attie/libxbee3.git but cant make configure 
as os.windows.mk is missing. 
make/build.generic.mk is also missing

Original issue reported on code.google.com by iam.toxi...@gmail.com on 4 Oct 2014 at 7:54

GoogleCodeExporter commented 8 years ago
Btw im running on windows7 x64 and trying to install into visual studio 2012. 
If you have a better method than make configure, please let me know. Thank you

Original comment by iam.toxi...@gmail.com on 4 Oct 2014 at 7:58

GoogleCodeExporter commented 8 years ago
Hello,

Make is the method that I use, but you'll need to download an archive of the 
win32 branch:
https://github.com/attie/libxbee3/archive/win32.zip

I hope that helps,
Attie

Original comment by attie@attie.co.uk on 4 Oct 2014 at 7:59

GoogleCodeExporter commented 8 years ago
Hi thank you for your fast response. I've tried to run it and it works! 
However, there is no config.mk at all. Is there another settings that i have to 
change? Thank you

Original comment by iam.toxi...@gmail.com on 4 Oct 2014 at 8:13

Attachments:

GoogleCodeExporter commented 8 years ago
Hi i've traced that the program stops at the red boxed code lines inside the 
buildsys.mk for windows as there's copyright issues attached to it. How do i go 
about this? 

Original comment by iam.toxi...@gmail.com on 4 Oct 2014 at 4:11

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,

makefiles aren't typical scripts or 'programs', so the lines you've circled 
aren't likely the next ones to be processed.

Looking at your screenshot again, it looks like you've been placed back at a 
shell prompt when make tried to execute 'cp'.
I also note that you're using cygwin.

Can you try applying the attached patch for me, and then try again?

Attie

Original comment by attie@attie.co.uk on 7 Oct 2014 at 11:00

Attachments:

GoogleCodeExporter commented 8 years ago
Have you tried building using the mingw32 branch?

Original comment by attie@attie.co.uk on 8 Oct 2014 at 8:01

GoogleCodeExporter commented 8 years ago
Hi attie,

Sorry for the late reply, i've tried applying the patch and i got this error. 
Sorry for being an amateur as this is the first time for me to debug this kind 
of error. Attached is the error after i tried applying the patch to my 
knowledge. Maybe i did it wrong. Please correct my mistake. Thank you.

Regards,
Rey

Original comment by iam.toxi...@gmail.com on 16 Oct 2014 at 5:08

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Rey,

Please try using the following command:
patch -p1 "C:\mypatch\win32_cygwin.patch"

Attie

Original comment by attie@attie.co.uk on 23 Oct 2014 at 12:17

GoogleCodeExporter commented 8 years ago
Hi Attie, i've flashed my computer and reboot it. Currently i am able to 
compile libxbee and make configure it. The config.mk has appeared. However, now 
a new problem persist. As can be seen in the attached file, the following error 
occurred when i try to create the make. This may be because the following sdk 
directory do not have rc.exe anymore. After investigating the problem, i 
reached the following conclusion. As such, i've screenshot of the latest sdks 
available in my computer and it does not have rc.exe. The last sdk was 7.0A 
however, if i try to compile into this version, i would get an error or 
mspdb110.dll being missing. This was previously also the same with the version 
8.1A but it has been resolved by running vcvarsall.bat file. 

Original comment by iam.toxi...@gmail.com on 13 Nov 2014 at 10:22

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,

Good news!

I think that the cl.exe issue is because the path of your command line isn't 
setup correctly.
You'll need to run vcvarsall.bat (possibly vsvarsall.bat) before running make.
I've found references (via Google) to it being located here:
    ...\Microsoft Visual Studio 10\VC\vcvarsall.bat

Alternatively, you should be able to start a command prompt with a suitable 
environment by clicking:
    Start->All Programs->Microsoft Visual Studio 2010->Visual Studio Tools->Visual Studio 2010 Command Prompt

Once you've done one of these, please try cd'ing to the libxbee source 
directory, and trying make again

The rc.exe issue, sounds like it's caused because this file is no longer 
included with Visual Studio...
There are some options available, but it would be good if you could perhaps 
have a look yourself (you have a Windows machine to hand):
    https://www.google.co.uk/search?q=visual+studio+2010+rc.exe+missing

I hope that helps,
Attie

Original comment by attie@attie.co.uk on 13 Nov 2014 at 6:13