It is currently Thu May 23, 2013 10:19 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Errors building source
PostPosted: Thu Jan 31, 2013 2:17 am 
Offline
Snes9x White Belt

Joined: Thu Jan 31, 2013 1:56 am
Posts: 2
I've never built a C++ project in VS before (I do some VB, ASP.net, and java development occasionally though). I've set up all the optional/non-optional libs (directx Feb 2010, zlib, cg, etc) correctly, however, when I go to compile, either 32 or 64, I get:
Code:
1>------ Build started: Project: Snes9X, Configuration: Release x64 ------
1>  CXML.cpp
1>CXML.cpp(64): error C3861: 'CPToWide': identifier not found
1>CXML.cpp(69): error C3861: 'sprintf': identifier not found
1>CXML.cpp(78): error C3861: 'sprintf': identifier not found
1>CXML.cpp(91): error C3861: 'CPToWide': identifier not found
1>CXML.cpp(115): error C3861: 'CPToWide': identifier not found
1>CXML.cpp(128): error C3861: 'WideToCP': identifier not found
1>CXML.cpp(129): error C3861: 'WideToCP': identifier not found
1>CXML.cpp(156): error C3861: 'WideToCP': identifier not found
1>CXML.cpp(157): error C3861: 'WideToCP': identifier not found
1>  CFMODEx.cpp
1>CFMODEx.cpp(81): error C2065: 'FMOD_OUTPUTTYPE_OPENAL' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I have no idea what's causing the errors as C++ syntax is strange to me. Can anyone tell me what needs to be done to fix these errors?

Thanks


Top
 Profile  
 
PostPosted: Thu Jan 31, 2013 12:47 pm 
Offline
Official Win32 Porter/Dev
User avatar

Joined: Thu Aug 30, 2007 10:15 pm
Posts: 450
For the first errors related to CXML: build one of the unicode builds, the ansi builds currently do not work.

The FMOD error is most probably caused because you use a recent version of the FMODEx sdk that dropped support for OpenAL. Simply compile without FMODEX_SUPPORT set (Project->Properties->C/C++->Preprocessor).


Top
 Profile  
 
PostPosted: Thu Jan 31, 2013 1:06 pm 
Offline
Official Win32 Porter/Dev
User avatar

Joined: Thu Aug 30, 2007 10:15 pm
Posts: 450
I've just pushed an update to git that should fix the ansi builds.


Top
 Profile  
 
PostPosted: Thu Jan 31, 2013 8:56 pm 
Offline
Snes9x White Belt

Joined: Thu Jan 31, 2013 1:56 am
Posts: 2
Thanks, the new build compiled fine. Also, I switched to an older version of FMODEx (4.30.22), which I think is the last version before they removed OpenAL output support. Also, just a note that the libpng include directory for me after compile a fresh x64 copy of libpng was $(ProjectDir)..\..\libPNG\projects\vstudio\x64\Release.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group