[SOLVED] Can't build project with stlport on windows 7

Added by nestath almost 6 years ago

I'm receiving this error for all sources on external/include/stlport directory. I reviewed permissions and content of the path linked and it seems allright. Anyway, building projects where headers are mapped inside external/include/stlport/stl it finds the header and crashes trying to go back to ../include/class.

this are the logs on debugger:

f:\workspace\external\include\stlport\errno.h(35): fatal error C1083: Cannot open include file: '../include/errno.h': No such file or directory

f:\workspace\external\include\stlport\stl/_cstddef.h(31): fatal error C1083: Cannot open include file: '../include/cstddef': No such file or directory

ps: classes like cstddef are without extensions. I don't understand cMake build codes so I tried to take a look without any luck =/

pss: I have generated cMake build files with almost all flags included qt and stlport, unless final_version, cegui and snowball's and I had no alerts or something on cMake console while configuring and generating the build files. With or withouth flags static_...(libwww, externa, drivers) it is throwing the same errors using vs2010.


Replies (3)

RE: [SOLVED] Can't build project with stlport on windows 7 - Added by nestath almost 6 years ago

ok, it's really awkward!

cMake is linking an old installation of visual studio include directory that I have used to copy atlmfc from VS pro to express...

I couldn't figure out how can I fix it on cMake generator but I fixed it manually project by project (a ...... pain in the ...) but now it's building pretty well...

If you have some tip to fix this "cache bug" on cMake please let it here...

RE: [SOLVED] Can't build project with stlport on windows 7 - Added by kervala almost 6 years ago

Did you uninstall correctly the pro version ?

To find out the VC++ directories we are using registry so perhaps it used a moved or removed folder.

RE: [SOLVED] Can't build project with stlport on windows 7 - Added by nestath almost 6 years ago

Yes,

1> I did it by ISO remove all...

2> I used the "delete cache" menu on cMake GUI unsuccessfully

3> I removed all missed registers with a deeper cCleaner scan

4> I tried to uninstall and reinstall cMake... I really can't find what is wrong >.<

So, now I'm trying to figure out what is wrong, if I find an answer I'll take it here... hehe =/

(1-3/3)