Re: [Plib-users] PLIB for WIN32 - configure error C compiler cannot create executables
Brought to you by:
sjbaker
From: Giovi <gio...@gm...> - 2011-11-03 08:20:37
|
Hello John, thanks a lot for your help! Maybe I have misunderstood the file "readme" of PLIB configuration. I have tried to use Visual C++ following the instructions: *Microsoft Visual C++: ~~~~~~~~~~~~~~~~~~~~~ All you need to do is open the workspace "plib.dsw" in MSVC++, select the "plib" project (using Set Active Project in the Project menu), and build it (using "Rebuild All" in the Build menu). In the examples folder, open the workspace "plib_examples.dsw". Each example has a seperate project in the workspace. Select the one you want and build it. Then you should be able to hit the Go icon on the toolbar and try it out. For your own application, please note that the plib workspace leaves all the necessary includes (*.h) and libraries (*.lib) in the plib root directory (same as workspace). The debug libraries are given a '_d' suffix. Where ever you put those files, make sure #include <plib/ul.h> works so your code is more portable. * But when I rebuild "plib.dsw" I get the error: Impossible top open plib/pw.h file: no such file or directory I get same error for all plib files. What Am I doing wrong? Many thanks in advance for your help! Thanks and regards 2011/11/1 John F. Fay <joh...@cy...> > ** > Giovi, > > Hello and welcome to the PLIB community. > > I'm a little confused about what you are trying to do. If you're > trying to build PLIB for Windows to link to C++ programs in Windows with a > development environment such as Microsoft Visual C++ or ".Net", then you > should not be using Cygwin. On the other hand, if you're trying to build > for Cygwin (which runs in Windows but feels a lot like Linux), then you > need Cygwin. > > Unfortunately the "config.log" file didn't make it to my e-mail. Can > you repeat the last few lines of it here? > > - John > > > > On 10/31/2011 10:57 AM, Giovi wrote: > > Hello All, > I am trying to compile PLIB for win32. > I have red instructions in the readme file: > > " > > CygWin: > ~~~~~~~ > The simplest way to build PLIB for Windoze is to > use the CygWin compiler and toolset. Since that > environment is pretty close to UNIX/Linux, the > > ./configure > make > make install > > ...mechanism works perfectly. > " > I have installed CygWin and gcc as well. > Now I should be ready to run command ./configure, but I received the > following error: > > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... no > includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib > checking for gcc... gcc > checking for C compiler default output file name... > configure: error: C compiler cannot create executable > See 'config.log' for more details > > Please find as attachment the config.log. > > Do you have any idea how can I fix this issue? > > Many thanks in advance! > > -- > Giovi > > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > > > _______________________________________________ > plib-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/plib-users > > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > > -- Giovi |