http://www.wxart2d.org/moin/WxArt2dInstallCmake

And why not read it all ;-)

http://www.wxart2d.org/moin/WxArt2dInstall

Did any of you follow this procedure in the right way and  order. ??
If not, i would be surprised if something worked.

Based on that i comment on what is going on.

The fact that wxart2d is now split into packages and libs complicates things a 
bit, but is really a 
better and more structural way to do things. So you have to build agg wxdocview 
and wxart2d using 
cmake seperately, as if thay have nothing with each other, only they use the 
libraries.

It would be nice to have a way to do all at once with cmake or make, but in any 
case cmake needs to 
generate all project files before anything can be build  using make. And since 
make can only 
generate the libs of agg and docview, which are needed for wxart2d package, it 
is really impossible 
to generate and check all at once with one cmake step.

Klaas




On 02/13/2011 06:22 PM, Michael Stratmann wrote:
> Hi,
>
> Knowing it has to work I looked in more detail and got it somehow working:
>
> In configure.lua I made line 228 a comment and uncommented line 229
>           cachefilestr=cachefilestr.."CMAKE_GENERATOR:INTERNAL=Visual 
> Studio.*\n"
>
> I killed the build directory, and run the lua script. Of course nothing got 
> compiled, got errors (like makefile not found), but the project files were 
> made. So I compiled myself. Samples working, good. However, I can not rerun 
> CMake, I always have to clear the CMakeCache an reenter my individual 
> settings :-( Even at the 1st call to each package got these messages:
>
> CMake Error: Error SetGlobalGenerator called with null
> CMake Error: Error: generator : NMake Makefiles
> Does not match the generator used previously: Visual Studio.*
> Either remove the CMakeCache.txt file or choose a different binary directory.
>
> Wasn't it possible to generate for nmake and those .sln and .vcprj files 
> together?
>
> Though I have a work around now, this still feels odd.
>
> Regards, Michael
>
> Am 13.02.2011 16:25, schrieb Bionic Badger:
>> CMake should generate the project files for you.  I think there are
>> some options as to where to put the resulting files and I usually
>> choose the base wxArt2D folder for all paths (especially those that
>> wanted to use Program Files\Cmake or something).
>>
>> On Sun, Feb 13, 2011 at 8:16 AM, Michael Stratmann<stratm...@micst.de>   
>> wrote:
>>> Hello,
>>>
>>> before Klaas splitted a2d into packages, there were .vcprj and .sln files 
>>> for Visual Studio IIRC. Somehow they appear to be gone. Samples are 
>>> excutable, makefiles and .pdb-files are there, but no project information. 
>>> I am kind of spoiled resp. hopeless, about browsing, modifying and 
>>> debugging the samples. It was very comfortable in the past and I would like 
>>> to have that comfort again.
>>>
>>> Is that easily possible? Maybe I am just missing an option inside cmake.
>>>
>>> Thank you!
>>> Michael
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Wxart2d-users_dev mailing list
> Wxart2d-users_dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
>


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to