building

I have done the move from OCC 4.2 to OCC5.2 and i have the problem of opening "BRepAlgoAPI.hxx" when i want to build the programm.

F:\wahid_pfe\pfe\projet\StdAfx.h(67) : fatal error C1083: Cannot open include file: 'BRepAlgoAPI.hxx': No such file or directory
Error executing cl.exe.

bottle.exe - 1 error(s), 0 warning(s)..
can you help me
Regards.

jooog's picture

Mon ami, je vois que tu travaille sur un PFE et tu t'appelles Wa7id c pourquoi je te parle en francais...Moi aussi je travaille sur un PFE à L'ENI? ...Ce Forum est un tat de merde souvent 2semaines passent sans avoir aucune reponse sur la question qu'on a posté...
revenons a ton problème et passons en anglais:
The C1083 error is always due to a missmatch of include file you have just to go to VC++ ->Tools->Options->Directories->
select Win32 as platform and Showdirectoriesfor : Include files
and add the res folder and sometimes the src folder also from your project. you can find them as YourPFE\res or\ src...
If you still have the same probleme just be cool and request it for the next time...I hope that work good luck for your PFE...

Boussaadia's picture

Merci frere :) et bon courage pour ton PFE aussi je c pas si c est toi qui travaille avec SAdek comme binome!! enfin ravi de te connaitre moi c wahid de l ecole polytechnique de tunisie :).
I want to say that i have do all the attachement, for include files i have choosen this path C:\OPENCASCADE5.2\ROS\INC, for the source files i have choosen C:\OPENCASCADE5.2\ROS\SRC ... i don t know why it dosen t work ?! and it dosent find the include file: 'BRepAlgoAPI.hxx'.. i still have the same problem ..
:\wahid_pfe\pfe\Copie de projet 39\StdAfx.h(68) : fatal error C1083: Cannot open include file: 'BRepAlgoAPI.hxx': No such file or directory
Error executing cl.exe.

bottle.exe - 1 error(s), 0 warning(s)
however when i disable the include file in the StdAfx.h ( #include
//#include

#include
#include
#include
.....
i don t find any problem :/
what is wrong !
Regards

Jerome Robert's picture

Bonjour

Une premiere remarque on n'ecrit pas tat mais tas!
Deuxiemement avant de remettre en cause ses settings, s'assurer que le fichier non trouve existe encore. ....surprise! Il n'y est plus!!
Les methodes que vous utilisiez sont maintenant dans BRepAlgo.hxx...
Bonne Journee et bon PFE ...

Boussaadia's picture

Bonjour
Mr lyon i didin t find the "BRepAlgoAPI.hxx" in the BRepAlgo folder, I want to know why it didin t find "BRepAlgoAPI.hxx" did i have put a wrong path for the including file or what ? or dose the "BRepAlgoAPI.hxx" have been moved or deleted !!
Regards

jooog's picture

man there is no BRepAlgoAPI.hxx
i had searched for that file :there is no BRepAlgoAPI.hxx but BRepAlgoAPI_BooleanOperation.hxx or as lyon said BrepAlgo so you have to choose or include the two as your need bessalama ya sahebi...

Boussaadia's picture

"Aychou sahbi emma hakka le programm mahouchi mech idour :'((
sans BRepAlgoAPI.hxx " Anyway thank's for help :)))

jooog's picture

je m'excuse pour ce qui a été dit franchement ce n'est pas à moi de juger et merci pour la correction quoi que je savais comment s'ecrivait le mot "TAT" ;)...
mais comme on dit " Jamais un bon chien n'aboie à faux "...

Boussaadia's picture

barred demmek ya sahbi :)
taffih :)
Merci pour ton aide :)

samia's picture

SALAAM,
I hope you guys can help me with this,I am using Micorsoft Visual C++, I was googling and came to this site, I am getting this error and dont know how to take care of it:

fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
Error executing cl.exe.

I dont know how to fix it???

shadi's picture

Salam Samia,

You had a problem some time ago. You were getting the error:

fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
Error executing cl.exe.

I am getting the same error my self now. Do you have any idea how to solve this problem?

Thanks!

Shadi