[Openal] I don't understand why my code wont compile
Margin Marh
marginproduction at gmail.com
Sun Mar 15 20:55:42 PDT 2009
When i do the cmake process it gives me 6 project files and 1
solution...(ALL_BUILD.vcproj,ALURE32.vcproj,alureplay.vcproj,alurestream.vcproj,INSTALL.vcproj,ZERO_CHECK.vcproj
and ALURE.sln)
So i open Alure.sln and build it and i get the following log :
> 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32
> ------
> 1>Checking Build System
> 1>CMake does not need to re-run because CMakeFiles/generate.stamp is
> up-to-date.
> 1>Build log was saved at "file://c:\Documents and
> Settings\Administrator\Desktop\alure-1.0\build\ZERO_CHECK.dir\Debug\BuildLog.htm"
> 1>ZERO_CHECK - 0 error(s), 0 warning(s)
> 2>------ Build started: Project: ALURE32, Configuration: Debug Win32 ------
> 2>Compiling...
> 2>stream.cpp
> 2>..\src\stream.cpp(166) : warning C4996: 'fopen': This function or
> variable may be unsafe. Consider using fopen_s instead. To disable
> deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
> 2> C:\Program Files\Microsoft Visual Studio
> 9.0\VC\include\stdio.h(237) : see declaration of 'fopen'
> 2>..\src\stream.cpp(432) : warning C4996: 'fopen': This function or
> variable may be unsafe. Consider using fopen_s instead. To disable
> deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
> 2> C:\Program Files\Microsoft Visual Studio
> 9.0\VC\include\stdio.h(237) : see declaration of 'fopen'
> 2>buffer.cpp
> 2>alure.cpp
> 2>Generating Code...
> 2>Compiling manifest to resources...
> 2>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
> 2>Copyright (C) Microsoft Corporation. All rights reserved.
> 2>Linking...
> 2>LINK : C:\Documents and
> Settings\Administrator\Desktop\alure-1.0\build\Debug\ALURE32.dll not found
> or not built by the last incremental link; performing full link
> 2> Creating library C:\Documents and
> Settings\Administrator\Desktop\alure-1.0\build\Debug\ALURE32.lib and object
> C:\Documents and
> Settings\Administrator\Desktop\alure-1.0\build\Debug\ALURE32.exp
> 2>Embedding manifest...
> 2>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
> 2>Copyright (C) Microsoft Corporation. All rights reserved.
> 2>Build log was saved at "file://c:\Documents and
> Settings\Administrator\Desktop\alure-1.0\build\ALURE32.dir\Debug\BuildLog.htm"
> 2>ALURE32 - 0 error(s), 2 warning(s)
> 3>------ Build started: Project: alureplay, Configuration: Debug Win32
> ------
> 4>------ Build started: Project: alurestream, Configuration: Debug Win32
> ------
> 4>Compiling...
> 3>Compiling...
> 4>alurestream.c
> 3>alureplay.c
> 4>..\examples\alurestream.c(59) : warning C4305: 'function' : truncation
> from 'double' to 'ALfloat'
> 4>..\examples\alurestream.c(72) : warning C4305: 'function' : truncation
> from 'double' to 'ALfloat'
> 3>..\examples\alureplay.c(53) : warning C4305: 'function' : truncation from
> 'double' to 'ALfloat'
> 4>Compiling manifest to resources...
> 3>Compiling manifest to resources...
> 4>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
> 4>Copyright (C) Microsoft Corporation. All rights reserved.
> 4>Linking...
> 3>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
> 3>Copyright (C) Microsoft Corporation. All rights reserved.
> 3>Linking...
> 4>LINK : fatal error LNK1104: cannot open file 'stdc++.lib'
> 3>LINK : fatal error LNK1104: cannot open file 'stdc++.lib'
> 4>Build log was saved at "file://c:\Documents and
> Settings\Administrator\Desktop\alure-1.0\build\alurestream.dir\Debug\BuildLog.htm"
> 4>alurestream - 1 error(s), 2 warning(s)
> 3>Build log was saved at "file://c:\Documents and
> Settings\Administrator\Desktop\alure-1.0\build\alureplay.dir\Debug\BuildLog.htm"
> 3>alureplay - 1 error(s), 1 warning(s)
> 5>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
> 5>Project not selected to build for this solution configuration
> ========== Build: 2 succeeded, 2 failed, 1 up-to-date, 1 skipped ==========
I have been in serious hard situations in c++ before but in this one i am
truly lost.
What am i doing wrong here?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20090315/8fbc6411/attachment.html
More information about the Openal
mailing list