Solved

gnuwin32 - how to complie in Microsoft VS2010?

Posted on 2013-01-02
6
1,042 Views
Last Modified: 2013-11-15
How to compile the following sources in MS VS2010?

http://sourceforge.net/projects/gnuwin32/files/regex/
0
Comment
Question by:longjumps
  • 3
6 Comments
 
LVL 10

Accepted Solution

by:
asavah earned 250 total points
ID: 38736254
http://gnuwin32.sourceforge.net/compile.html

This project uses Mingw compiler.
You can not use MS Vs to compile that.
0
 
LVL 33

Assisted Solution

by:sarabande
sarabande earned 250 total points
ID: 38737397
you may use regex of boost library.

see www.boost.org/libs/regex/

Sara
0
 
LVL 1

Author Comment

by:longjumps
ID: 38740053
I installed "cygwin" and everything it needs on my Win7 x64.

Running according to instruction from INSTALL file from package (src\regex\2.7\regex-2.7-src\).

On First step on "configure" I got error for:
...
checking for nl_langinfo... yes
checking for re_comp... no
checking for regcomp... yes
checking for setlocale... yes
...
regex-2.7.configure-cygwin.txt
On Second step "make check" error is on:
...
make[1]: *** No rule to make target `regex-dllversion.c', needed by `regex-dllversion.lo'.  Stop.
make[1]: Leaving directory `/opt/glibc-build/src'
Makefile:262: recipe for target `check-recursive' failed
make: *** [check-recursive] Error 1
...
glibc-2.17-build-error.txt

Logs for these steps are attached.

Please advice
0
 
LVL 1

Author Comment

by:longjumps
ID: 38743942
I installed MinGW and always on build is getting error:

...

../../glibc/src/regex/2.7/regex-2.7-src/src/regexec.c:3319:42: warning: incompat
ible implicit declaration of built-in function 'alloca' [enabled by default]
 gcc -DHAVE_CONFIG_H -I. -I.. -I../../glibc/src/regex/2.7/regex-2.7-src/src -g -
O2 -MT regex.lo -MD -MP -MF .deps/regex.Tpo -c ../../glibc/src/regex/2.7/regex-2
.7-src/src/regex.c -o regex.o >/dev/null 2>&1
mv -f .deps/regex.Tpo .deps/regex.Plo
make[1]: *** No rule to make target `regex-dllversion.lo', needed by `libregex.l
a'.  Stop.
make[1]: Leaving directory `/home/Semyon/glibc-build/src'
make: *** [check-recursive] Error 1


Please advice
0
 
LVL 1

Author Closing Comment

by:longjumps
ID: 39056403
not exact
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Viewers will learn how to use the Hootsuite Dashboard.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now